← All types
In Input object

InvoiceFileAttachmentInput

Input for attaching one File to an invoice

Fields

fileId

FileID!Required

File to attach. Must be status=ready and owned by the same tenant.

Role this file plays for the invoice. Defaults to ORIGINAL_DOCUMENT.

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

IntOptional

Sort order among attachments. Defaults to 0.

Referenced by (3)
Exact type SDL
"""Input for attaching one File to an invoice"""
input InvoiceFileAttachmentInput {
  """File to attach. Must be status=ready and owned by the same tenant."""
  fileId: FileID!
  """Role this file plays for the invoice. Defaults to ORIGINAL_DOCUMENT."""
  documentRole: DocumentAttachmentRole
  """Optional human-readable description"""
  description: String
  """Sort order among attachments. Defaults to 0."""
  sortOrder: Int
}