Appearance
PurchaseOrderState
Type: Object
A purchase order sent to a supplier
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| approvedAt | ISO8601 | Approval timestamp (ISO8601) | ||
| approvedByUserId | UserID | User who approved this PO | ||
| attachments | [PurchaseOrderFileAttachment!]! | Document attachments. Requires file:list permission. | ||
| createdAt | String! | Creation timestamp (ISO8601) | ||
| createdByUser | UserState | User who created this PO. Requires user:read permission. | ||
| createdByUserId | UserID | User who created this PO | ||
| currency | CurrencyISO! | Currency code | ||
| deliveryAddressId | AddressID | Delivery address ID | ||
| expectedDeliveryDate | ISO8601 | Expected delivery date (ISO8601) | ||
| id | PurchaseOrderID! | Unique identifier | ||
| internalNotes | String | Internal notes | ||
| jobId | JobID | Associated job ID | ||
| notes | String | Notes visible to supplier | ||
| orderDate | ISO8601! | Order date (ISO8601) | ||
| poNumber | String! | Purchase order number | ||
| purchaseOrderLines | [PurchaseOrderLineState!]! | Line items. Requires purchaseOrder:read permission. | ||
| receivedAt | ISO8601 | Date goods were received (ISO8601) | ||
| status | PurchaseOrderStatus! | Current status | ||
| subtotalAmount | Float! | Subtotal before tax | ||
| supplier | SupplierState | Supplier for this purchase order. Requires supplier:read permission. | ||
| supplierId | SupplierID! | Associated supplier ID | ||
| taxAmount | Float! | Tax amount | ||
| totalAmount | Float! | Total amount including tax | ||
| updatedAt | String! | Last update timestamp (ISO8601) |