Purchases
Supplier bills from your system - a fleet system's fuel slips, a job system's materials - go straight into the payables.
Supplier bills
POST /v1/purchase-invoices:
[{
"external_ref": "SLIP-77812",
"supplier_doc_no": "INV-3301",
"supplier_external_ref": "SUP-12",
"doc_date": "2026-12-02",
"lines": [{"description": "Diesel 120 l", "amount_excl_tax": 2400.00, "tax_amount": 0,
"dimensions": {"VEHICLE": "ND 123-456"}}],
"attachments": [{"file_name": "slip.jpg", "content_type": "image/jpeg", "content_base64": "..."}]
}]
supplier_doc_nois required: it is the supplier's own number, what they will look for on the remittance. If a slip has none, send yourexternal_ref.- Attach the supplier's document inline (PDF, PNG, JPEG or WebP), or later with
POST /v1/purchase-invoices/{externalRef}/attachments. The same file is kept once.
Supplier credit notes
POST /v1/purchase-credit-notes, the same shape, with purchase_invoice_external_ref naming the bill it credits and a reason. It is applied to what is still open on that bill.
Dimensions
Lines can be tagged for reporting - a vehicle, a site, a project. Dimensions are checked on both the key and the value, so a new vehicle must exist before a bill carrying it will post:
GET /v1/dimensions- what this company accepts.POST /v1/dimensions- add a dimension or new values.
This page as plain text: purchases.md