# Get Inbox Documents Get Inbox Documents. Endpoint: POST /rest/v1/documents/inbox Version: v1.0.0 Security: PublicApiKey ## Query parameters: - `pageNumber` (integer) Page number (starting from 1) Example: 1 - `pageSize` (integer) Number of items per page Example: 200 ## Request fields (application/json): - `companyVatNumber` (string, required) The VAT number of the sender. Example: "HR12345678910" - `dateFrom` (string) Invoices after this date will be included. Max last 60 days. - `dateTo` (string) Invoices before this date will be included ## Response 200 fields (application/json): - `items` (array, required) List of enhanced inbox documents. - `items.documentId` (string, required) The unique identifier of the invoice document. Example: "6787a98e15306d37eed688a8" - `items.documentSenderName` (string, required) The name of the sender of the document. Example: "Example Sender Ltd." - `items.documentNumber` (string, required) The document number of the invoice. Example: "INV-2023-001" - `items.supplierVatNumber` (string) The VAT number of the document supplier (optional). Example: "12345678901" - `items.supplierGln` (string) The GLN (Global Location Number) of the document supplier organization (optional). Example: "1234567890124" - `items.customerGln` (string) The GLN (Global Location Number) of the document customer organization (optional). Example: "1234567890125" - `items.customerName` (string) The name of the document customer. Example: "Example Customer Ltd." - `items.supplierBusinessUnit` (string) The business unit of the supplier organization (optional). Example: "Sales Department" - `items.customerBusinessUnit` (string) The business unit of the customer organization (optional). Example: "Procurement Department" - `items.amount` (string) The total amount of the document (optional). Example: "150.75" - `items.currency` (string) The currency of the document amount (optional). Example: "EUR" - `items.created` (string) The document creation timestamp. Example: "2024-11-15T15:52:47.331Z" - `items.modified` (string) The document last modification timestamp. Example: "2024-11-17T11:26:02.850Z" - `items.customerVatNumber` (string) The VAT number of the document customer (optional). Example: "98765432101" - `items.documentEdiType` (string) The EDI type of the document from document data. Example: "PLACEHOLDER" - `totalElements` (integer, required) Total number of inbox documents Example: 150 - `totalPages` (integer, required) Total number of pages Example: 6 - `size` (integer, required) Current page size Example: 25 - `number` (integer, required) Current page number (1-based) Example: 1 - `numberOfElements` (integer, required) Number of elements in current page Example: 25 - `first` (boolean, required) Whether this is the first page Example: true - `last` (boolean, required) Whether this is the last page - `empty` (boolean, required) Whether the page is empty ## Response 400 fields (application/json): - `statusCode` (integer, required) Http status code of the response. Example: 400 - `resultMessage` (string, required) Result message. Example: "Error processing." ## Response 401 fields (application/json): - `statusCode` (integer, required) Http status code of the response. Example: 400 - `resultMessage` (string, required) Result message. Example: "Error processing." ## Response 500 fields (application/json): - `statusCode` (integer, required) Http status code of the response. Example: 400 - `resultMessage` (string, required) Result message. Example: "Error processing."