← API reference
CANONICAL TYPE REFERENCE

PurchaseOrderFileAttachment

A file attached to a purchase order at the header level

Unique identifier

Parent purchase order

Attached file

Role this document plays for the PO

Optional human-readable description

Sort order among attachments on the same PO

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""A file attached to a purchase order at the header level"""
type PurchaseOrderFileAttachment {
  """Unique identifier"""
  id: PurchaseOrderFileID!
  """Parent purchase order"""
  purchaseOrderId: PurchaseOrderID!
  """Attached file"""
  fileId: FileID!
  """Role this document plays for the PO"""
  documentRole: DocumentAttachmentRole!
  """Optional human-readable description"""
  description: String
  """Sort order among attachments on the same PO"""
  sortOrder: Int!
  """Creation timestamp (ISO8601)"""
  createdAt: String!
  """Last update timestamp (ISO8601)"""
  updatedAt: String!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.