← All types

PurchaseOrderFileAttachment

A file attached to a purchase order at the header level

Fields

Unique identifier

Parent purchase order

fileId

FileID!Non-null

Attached file

Role this document plays for the PO

Possible values (6)
ORIGINAL_DOCUMENT

The primary document for the parent (PO/Invoice PDF)

ACKNOWLEDGEMENT

Counterparty signed/acknowledged copy

SPECIFICATION

Specification or requirements doc

RECEIPT

Receipt / proof-of-payment / proof-of-delivery

CORRESPONDENCE

Email thread, memo, or other correspondence

OTHER

Other document

Optional human-readable description

sortOrder

Int!Non-null

Sort order among attachments on the same PO

Creation timestamp (ISO8601)

Last update timestamp (ISO8601)

Referenced by (1)
Exact type 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!
}