Receipts

GET /inventory/receipts

Group: Inventory › Receipts · Operation ID: receipts

Returns a list of receipts. To filter by vendor, reference number, item or warehouse, use POST inventory/receipts/search.

The receipt collection. This endpoint returns the header fields only. A nested array of lines cannot be returned here, so lineCount stands in for them, and GET inventory/receipts/:id or POST inventory/receipts/search returns the full document. The vendor, its reference number, and the item and warehouse on the lines are not filterable here. POST inventory/receipts/search takes them.

Open in the interactive reference

Parameters

Name In Type Required Description
Api-Version header "v1" yes The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1.

Query surface

Response

200 Success

Under data, an array of receiptsRow:

Field Type Required Description
id string no The unique identifier for the receipt.
documentNumber string or null no The receipt number, for example 'GR-2291'. Assigned when the receipt is created.
documentStatus string no The status of the receipt. It is DRAFT when the receipt is created through this API and COMMITTED once you commit it with POST inventory/receipts/:id/commit. The receiving and invoicing processes set the other statuses.
documentDate string (date) no The date of the receipt. Format YYYY-MM-DD.
deliveryDate string (date) or null no The date the goods arrived or are expected. Format YYYY-MM-DD.
entityId string no The legal entity the receipt belongs to.
entityName string or null no The name of that legal entity.
businessPartnerId string no The vendor the goods came from.
businessPartnerName string or null no The name of that vendor.
referenceNumber string or null no The vendor's own reference, typically their delivery note number.
currency string or null no The currency of the receipt's amounts. Format ISO 4217, for example 'EUR'. This is the vendor's currency, which need not be the entity's functional currency. See functionalUnitPrice on the line for the functional-currency amounts.
totalAmount string (decimal) or null no The total value of the receipt, in the receipt's currency.
lineCount number or null no The number of lines on the receipt.
notes string or null no Free text on the receipt.
createdDate string (date-time) or null no The date and time the receipt was created, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ.
lastModifiedDate string (date-time) or null no The date and time the receipt last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ.

Statuses