PurchaseOrder
A purchase order.
Unique identifier for the Purchase Order. When creating or updating the object this field can be null or omitted.
123e4567-e89b-12d3-a456-426614174001The tax.
16The total.
96The sub-total.
80The 3 letter ISO currency code for the amounts in this purchase order.
GBPDelivery contact mobile number.
020 7371 9918The ISO formatted delivery date, for example, '2024-12-14'
2024-12-14Sales order delivery instructions.
Leave with neighbourThe ISO formatted delivery date from in the companies timezone e.g. 2024-05-14T00:00:00+01:00.
When creating the object this field can be null or omitted.
This can often be retrieved from the GET or UPDATE response.
2024-05-14T00:00:00+01:00lineItems object[]
Unique identifier for the line item. When creating the object this field can be null or omitted.
123e4567-e89b-12d3-a456-426614174101The line amount excluding tax.
801The line unit price excluding tax.
80taxCode objectnullable
The unique identifier for this object in the source system.
TAX-001The unique identifier.
PO-999The ISO formatted delivery date, for example, '2024-12-14'
2024-12-14The ISO formatted delivery date, for example, '2024-12-14'
2024-12-14Any other identifiable purchase order information.
The desired purchase order status. Note: Approvals will be bypassed if status is 'Ordered'
Possible values: [Draft, PendingApproval, Approved, Ordered]
supplier object
accountancySupplierCard object
The unique identifier for this object in the source system.
SUPPLIER-001When true and status = 'Approved' and Auto Order POs setting enabled then an email will be sent to the supplier with the purchase order details.
When true and status != 'Approved' then no email will be sent but will highlight an email has been sent once it gets to 'Ordered'.
If true then supplierEmails is required to be populated with at least 1 Email Address.
A list of supplier emails, Only nullable when sendEmail is 'false'.
[email protected]{
"id": "123e4567-e89b-12d3-a456-426614174001",
"calculatedTax": 16,
"calculatedTotal": 96,
"subtotal": 80,
"currencyCode": "GBP",
"deliveryContactNumber": "020 7371 9918",
"deliveryDate": "2024-12-14",
"deliveryInstructions": "Leave with neighbour",
"lastUpdate": "2024-05-14T00:00:00+01:00",
"lineItems": [
{
"lineItemID": "123e4567-e89b-12d3-a456-426614174101",
"amountExclTax": 80,
"description": "string",
"miscellaneous": "string",
"productCode": "string",
"quantity": 1,
"unitPriceExclTax": 80,
"taxCode": {
"sourceID": "TAX-001"
}
}
],
"poNumber": "PO-999",
"poDate": "2024-12-14",
"poExpiryDate": "2024-12-14",
"poReference": "string",
"status": "Draft",
"supplier": {
"accountancySupplierCard": {
"sourceID": "SUPPLIER-001"
}
},
"sendEmail": true,
"supplierEmails": "[email protected]"
}