id | Unique identifier for the object. |
status | Status of the order. Possible values are “NOT_RECEIVED”, “PARTIALLY_RECEIVED”, and “RECEIVED”. |
billing_status | Indicating the status of generating the bill through accounting integration to either Xero or QuickBooks Online. Possible values are “BILLED”, “NOT_BILLED” and “PARTIALLY_BILLED”. “PARTIALLY_BILLED” does not apply to Xero integration. |
last_document_status | Status of the last e-mail sent from (O)PO card. Possible values are "NOT_SENT", "SENDING", "FAILED", and "SENT". |
order_no | A unique, identifying string used in the UI and controlled by the user. |
entity_type | Either "regular" or "outsourced", depending on the purchase order type. |
supplier_id | ID of the supplier who this order belongs to. |
currency | Currency of the purchase order. Filled with supplier currency by default. |
expected_arrival_date | The timestamp when the items are expected to arrive (in full) in your warehouse. ISO 8601 format with time and timezone must be used. |
order_created_date | The timestamp of creating the document. ISO 8601 format with time and timezone must be used. |
additional_info | A string attached to the object to add any internal comments, links to external files, additional instructions, etc. |
location_id | The ID of the location to which items are received. |
ingredient_availability | Status of the ingredients required to produce products on an outsourced purchase order. Possible values are "PROCESSED", "IN_STOCK", "NOT_AVAILABLE", "EXPECTED", "NO_RECIPE", "NOT_APPLICABLE". Only applicable when entity_type is outsourced. |
ingredient_expected_date | The latest date of a manufacturing order production deadline or a purchasing order expected arrival date that relates to the required ingredient. Only applicable when entity_type is outsourced. |
tracking_location_id | The ID location where the ingredients on the outsourced purchase order are processed. Only applicable when entity_type is outsourced. |
total | The total value of the order (including taxes) in purchase order currency. |
total_in_base_currency | The total value of the order (including taxes) in base currency. |
purchase_order_rows | An array of purchase order rows. |
created_at | The timestamp when the purchase order was created. |
updated_at | The timestamp when the purchase order was last updated. |