The purchase order object
idstring (id)Unique identifier of the purchase document.
numberstringnullableDisplay number, assigned when the purchase document is issued.
statusenumWhere the purchase order is in its life cycle.
Possible values:
draftissuedconvertedcanceledvendorobjectThe vendor.
Fields:
id, code, name· detailsbranchobjectThe branch the purchase document belongs to.
Fields:
id, name· detailsissued_onstring (date)nullableThe purchase document's date, on the workspace calendar.
currencyobjectThe purchase document's currency.
Fields:
code, name, sign· detailsexchange_ratestring (decimal)Rate from the purchase document's currency to the functional currency.
totalstring (decimal)Total including tax, in the purchase document's currency.
base_totalstring (decimal)nullableThe total in the functional currency, fixed when the purchase document is issued.
approval_statusenumnullableApproval progress, when the workspace requires approval for the purchase document.
Possible values:
not_requiredpendingapprovedrejectedcreated_atstring (timestamp)When the purchase document was created.
updated_atstring (timestamp)When the purchase document last changed.
updated_sincesyncs compare against this.trashed_atstring (timestamp)nullableWhen the purchase document was moved to Trash; null when it is not in Trash. Only
updated_sincesyncs return trashed records.receiving_statusenumHow much of the order has been received.
Possible values:
not_receivedpartialreceivedclosedinvoice_statusenumHow much of the order has been invoiced.
Possible values:
not_invoicedpartially_invoicedinvoicedover_invoicedexpected_onstring (date)nullableExpected delivery date.
closed_atstring (timestamp)nullableWhen the order was closed; null while open.
lineslist of objectsDetail call only.
Show child fields
line_numberintegerPosition on the document, from 1.
productobjectnullableThe product.
Fields:
id, sku, barcode, name· detailsdescriptionstringnullableThe line's text as printed.
quantitystring (decimal)Quantity, in the line's unit.
unit_pricestring (decimal)At the scale Reevio stores it: 2 places on purchase orders, 6 on vendor invoices.
tax_rateobjectnullableThe tax rate applied, if any.
Fields:
id, code, rate_percent, type· detailstax_amountstring (decimal)Tax on the line.
line_totalstring (decimal)Includes tax.
received_quantitystring (decimal)Quantity received so far.
invoiced_quantitystring (decimal)Quantity invoiced so far.
statusenumReceiving progress of the line.
Possible values:
pendingpartialreceivedclosed
{
"id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
"number": "PO-2026-00009",
"status": "draft",
"vendor": {
"id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
"code": "VND-000001",
"name": "Gulf Packaging"
},
"branch": {
"id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
"name": "Main branch"
},
"issued_on": "2026-10-31",
"currency": {
"code": "IQD",
"name": "Iraqi Dinar",
"sign": "IQD"
},
"exchange_rate": "1.000000",
"total": "10000.00",
"base_total": "10000.00",
"approval_status": "not_required",
"created_at": "2026-10-31T09:15:00.000000Z",
"updated_at": "2026-10-31T09:15:00.000000Z",
"trashed_at": null,
"receiving_status": "not_received",
"invoice_status": "not_invoiced",
"expected_on": "2026-10-31",
"closed_at": null,
"lines": [
{
"line_number": 1,
"product": {
"id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
"sku": "TEA-500",
"barcode": "6260000000017",
"name": "Black tea 500 g"
},
"description": "Example description.",
"quantity": "2.0000",
"unit_price": "10000.00",
"tax_rate": {
"id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
"code": "VAT15",
"rate_percent": "15.0000",
"type": "exclusive"
},
"tax_amount": "10000.00",
"line_total": "10000.00",
"received_quantity": "2.0000",
"invoiced_quantity": "2.0000",
"status": "pending"
}
]
}