Receipts
Group: Inventory
Open in the interactive reference
A receipt records goods or services that arrive from a vendor.
The vendor bill is matched against the receipt later. The Reference API has no endpoint for that matching.
Each line has a lineType: Inventory, Service, or Expense. An Inventory line needs an item, a unit, a warehouse, and a quantity. A Service or Expense line needs a description, an amount, and a general ledger account, and has no item or warehouse.
Every amount is in the vendor's currency, which can differ from the legal entity's functional currency. Each line also has functionalUnitPrice and functionalLineTotal in the functional currency.
Endpoints
- List receipts:
GET /inventory/receipts - Create a receipt:
POST /inventory/receipts - Bulk create receipts:
POST /inventory/receipts/bulk - Bulk delete receipts:
POST /inventory/receipts/bulk-delete - Search receipts:
POST /inventory/receipts/search - Retrieve a receipt:
GET /inventory/receipts/{id} - Update a receipt:
PATCH /inventory/receipts/{id} - Delete a receipt:
DELETE /inventory/receipts/{id} - Commit a receipt:
POST /inventory/receipts/{id}/commit