| archived required | boolean Whether the purchase order has been archived. |
| createdDate required | string <date-time> The date and time the purchase order was created. |
object (DistributionStrategies) | |
| expectedDate | string <date-time> The expected fulfillment date of the purchase order. |
| externalInvoiceNumber | string or null The invoice number for the invoice associated with this purchase order. |
| externalPurchaseOrderNumber | string or null An optional purchase order number supplied by a Toast user. |
| id required | string <uuid> The unique identifier of the purchase order. |
required | Array of objects (PurchaseOrderItem) |
| modifiedDate required | string <date-time> The date and time the purchase order was last modified. |
| paid required | boolean A flag indicating whether the purchase order has been paid. |
required | object (PurchaseOrderTotals) |
required | object (PurchasingEntityInfo) |
| receivingNotes | string Notes that pertain to the receiving of the ordered items. |
| status required | string The status of the purchase order. |
required | object (Supplier) |
| supplierNotes required | string Notes for the supplier that pertain to ordering. |
| toastGeneratedPurchaseOrderNumber required | number <int32> Toast generated purchase order number. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "archived": true,
- "status": "DRAFT",
- "paid": true,
- "supplier": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "accountNumber": "string",
- "address": {
- "regionCode": "string",
- "addressLines": [
- "string"
], - "revision": 0,
- "languageCode": "string",
- "postalCode": "string",
- "sortingCode": "string",
- "administrativeArea": "string",
- "locality": "string",
- "sublocality": "string"
}, - "contactName": "string",
- "phoneDetails": {
- "countryCode": "string",
- "countryIsoCode": "string",
- "nationalNumber": "string"
}, - "email": "string"
}, - "toastGeneratedPurchaseOrderNumber": 0,
- "externalPurchaseOrderNumber": "string",
- "externalInvoiceNumber": "string",
- "items": [
- {
- "itemVersionId": "7cc9611b-d6ff-446b-b471-09a1f7e86228",
- "name": "string",
- "supplierItemId": "string",
- "orderedItemInfo": {
- "orderedQuantity": 0,
- "orderedUnit": {
- "name": "string",
- "quantityInUnit": 0
}, - "orderedCost": {
- "baseCost": 0,
- "subtotal": 0,
- "total": 0,
- "landedCost": 0
}
}, - "taxes": [
- {
- "name": "string",
- "absoluteValue": 0,
- "percentageValue": 0
}
], - "fees": [
- {
- "name": "string",
- "absoluteValue": 0,
- "percentageValue": 0,
- "isTaxable": true
}
], - "discounts": [
- {
- "name": "string",
- "absoluteValue": 0,
- "percentageValue": 0
}
], - "receivedEvents": [
- {
- "receivedQuantity": 0,
- "receivedUnit": {
- "name": "string",
- "quantityInUnit": 0
}, - "receivedCosts": {
- "baseCost": 0,
- "subtotal": 0,
- "total": 0,
- "landedCost": 0
}, - "inventoryHistoryId": "3107fb4f-3a12-4893-8757-81a434dce7f2"
}
]
}
], - "distributionStrategies": {
- "taxDistributionStrategy": "ITEM_TOTAL_COST",
- "feesDistributionStrategy": "ITEM_TOTAL_COST",
- "discountsDistributionStrategy": "ITEM_TOTAL_COST"
}, - "purchaseOrderTotals": {
- "itemsSubtotal": 0,
- "subtotalCost": 0,
- "totalCost": 0
}, - "expectedDate": "2019-08-24T14:15:22Z",
- "purchasingEntityInfo": {
- "taxes": [
- {
- "name": "string",
- "absoluteValue": 0,
- "percentageValue": 0
}
], - "fees": [
- {
- "name": "string",
- "absoluteValue": 0,
- "percentageValue": 0,
- "isTaxable": true
}
], - "discounts": [
- {
- "name": "string",
- "absoluteValue": 0,
- "percentageValue": 0,
- "combineWithItemDiscounts": true
}
]
}, - "supplierNotes": "string",
- "receivingNotes": "string"
}