v1
latestOpenAPI 3.0.22026-07-223907721.1 MBQuery Invoices
Query all Invoices
Query parameters
Search for a specific sales order number.
Search for a specific external order number.
Search for a specific invoice number.
Represents a unique key for identifying a customer in the JTL system.
Gets the unique identifier for the customer.
Gets a value indicating whether the customer key represents an existing customer.
0 = UnPayed, 1 = PartialPayed, 2 = Payed
Search for a specific payment status.
Search only for external invoices
Number of the page of items to fetch.
Size of the page that is specified by pageNumber.
Headers
The tenant ID for the target ERP instance.
The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.
The Company-Id (int or uuid) of the company on whose behalf the request is executed.
Response
Returns all non-pending sales orders.
Example response
{
"items": [
{
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"companyId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"customerId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"billingAddress": {
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"shipmentAddress": {
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"invoicePaymentDetails": {
"paymentMethodId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"colorcodeId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"cancellationDetails": {
"cancellationReasonId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
}
}
]
}