Error
A valid request URL is required to generate request examples{
"workspace": {
"name": "<string>",
"type": "record",
"fields": {}
},
"purchase_order": {
"name": "<string>",
"type": "record",
"fields": {}
},
"purchase_order_items": {
"name": "<string>",
"type": "collection",
"fields": {}
}
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Report
Get purchase order report field schema
Merge fields for single purchase order pdf templates. Fixed per report kind, not per workspace.
GET
/
reports
/
purchase_order_record
/
schema
Error
A valid request URL is required to generate request examples{
"workspace": {
"name": "<string>",
"type": "record",
"fields": {}
},
"purchase_order": {
"name": "<string>",
"type": "record",
"fields": {}
},
"purchase_order_items": {
"name": "<string>",
"type": "collection",
"fields": {}
}
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Response
OK
Available merge fields for the single purchase order pdf. Fixed per report kind: the workspace record, the purchase_order record (the order's Purchase orders list row: status label, supplier, totals, ...) and the purchase_order_items collection: its items newest first, with received / accepted / invoiced quantities. Amounts (format: currency) are "USD 1,234.50" strings in the order's currency, plain numbers without one.