List document accounting summaries.
Lists document accounting summaries. A document accounting summary is saved along with each reversal document (for invoice and credit note). It contains accounting information about the order for this point in time. The summary is saved because an order can be updated after a reversal_document is generated. The information about the order before the update is needed for accounting.
/rest/orders/documents/accounting_summary
Field | Type | Description |
---|---|---|
orderId | Int |
The ID of the order. |
documentType | String |
The document type. |
createdAtFrom | String |
Get entries with createdAt date after this date. |
createdAtTo | String |
Get entries with createdAt date before this date. |
page | Int |
The page to get. The default page that will be returned is page 1. |
itemsPerPage | Int |
The number of summaries to be displayed per page. The default number of orders per page is 10. |
Code | Exception | Description |
---|---|---|
401 | League\OAuth2\Server\Exception\AccessDeniedException |
The resource owner or authorization server denied the request. |
401 | League\OAuth2\Server\Exception\InvalidRequestException |
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "access token" parameter. |