← All types
Ob Object

PurchaseOrderState

A purchase order sent to a supplier

Fields

Unique identifier

Purchase order number

Associated supplier ID

Delivery address ID

Current status

Possible values (7)
DRAFT

Draft purchase order

SUBMITTED

Submitted to supplier

ACKNOWLEDGED

Acknowledged by supplier

PARTIALLY_RECEIVED

Partially received goods

RECEIVED

All goods received

CANCELLED

Cancelled purchase order

DISPUTED

Disputed purchase order

Order date (ISO8601)

Expected delivery date (ISO8601)

Date goods were received (ISO8601)

Subtotal before tax

Tax amount

Total amount including tax

Currency code

jobId

JobIDNullable

Associated job ID

notes

StringNullable

Notes visible to supplier

Internal notes

User who created this PO

User who approved this PO

Approval timestamp (ISO8601)

Creation timestamp (ISO8601)

Last update timestamp (ISO8601)

Supplier for this purchase order. Requires supplier:read permission.

Line items. Requires purchaseOrder:read permission.

User who created this PO. Requires user:read permission.

Document attachments. Requires file:list permission.

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