v1
latestOpenAPI 3.0.22026-07-223907721.1 MBQuery Accounting Data
Delivers a paginated overview of finalized accounting transactions, including invoices, credits, and their cancellations and corrections.
Query parameters
Filters documents starting from a specific date and time
Filters documents up to a specific date and time
Represents a key for identifying a firm within the application.
Gets the unique identifier for the firm.
0 = SalesInvoice, 1 = SalesCredit, 2 = SalesInvoiceCorrection, 3 = SalesInvoiceCancellation, 4 = SalesCreditCancellation, 5 = SalesInvoiceCorrectionCancellation, 6 = SalesLiquidation, 7 = SalesLiquidationCancellation
Specifies the type of document. 0 = Invoice, 1 = Credit, 2 = Invoice correction, 3 = Invoice cancellation, 4 = credit cancellation, 5 = invoice correction cancellation
If true, exports total sums in the currency of the departure country
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
Provides a detailed overview of all non-pending sales orders, including invoices, credits, invoice corrections, invoice cancellations, credit cancellations, and invoice correction cancellations, along with their associated line items
Example response
{
"items": [
{
"salesInvoiceCorrectionId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"salesInvoiceId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"salesOrderId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"companyId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"billingAddress": {
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"shipmentAddress": {
"id": "b45f6432-2462-4c6f-b00f-1d9d01000000"
},
"accountDataLineItems": [
{
"salesInvoiceCorrectionLineItemId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"salesInvoiceLineItemId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"itemId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"taxClassId": "b45f6432-2462-4c6f-b00f-1d9d01000000"
}
]
}
]
}