PurchaseOrderFileAttachmentInput
Input for attaching one File to a purchase order
Fields
File to attach. Must be status=ready and owned by the same tenant.
Role this file plays for the PO. Defaults to ORIGINAL_DOCUMENT.
Possible values (6)
ORIGINAL_DOCUMENTThe primary document for the parent (PO/Invoice PDF)
ACKNOWLEDGEMENTCounterparty signed/acknowledged copy
SPECIFICATIONSpecification or requirements doc
RECEIPTReceipt / proof-of-payment / proof-of-delivery
CORRESPONDENCEEmail thread, memo, or other correspondence
OTHEROther document
Optional human-readable description
Sort order among attachments. Defaults to 0.
Exact type SDL
"""Input for attaching one File to a purchase order"""
input PurchaseOrderFileAttachmentInput {
"""File to attach. Must be status=ready and owned by the same tenant."""
fileId: FileID!
"""Role this file plays for the PO. Defaults to ORIGINAL_DOCUMENT."""
documentRole: DocumentAttachmentRole
"""Optional human-readable description"""
description: String
"""Sort order among attachments. Defaults to 0."""
sortOrder: Int
}