← API reference
CANONICAL TYPE REFERENCE

InvoiceFileAttachmentInput

Input for attaching one File to an invoice

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

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

Optional human-readable description

Sort order among attachments. Defaults to 0.

View exact 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
}

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