← API reference
CANONICAL TYPE REFERENCE

InvoiceOrderInput

Input for invoiceOrder: raises an invoice for an order, mirroring every order line.

TypeID (ord_…) of the order to invoice. All of its lines are billed onto the new invoice.

Human-facing number for the new invoice. Required — it is never auto-generated.

issueDateString

Issue date as an ISO-8601 date-time with fractional seconds. Defaults to the current time.

dueDateString

Payment due date as an ISO-8601 date-time with fractional seconds. Omit to leave the invoice without a due date — it is not derived from paymentTerms.

Free-text payment terms recorded on the invoice (for example Net 30). Descriptive only — nothing is computed from it.

notesString

Customer-facing notes to store on the invoice.

View exact SDL
"""
Input for `invoiceOrder`: raises an invoice for an order, mirroring every order line.
"""
input InvoiceOrderInput {
  """
  TypeID (`ord_…`) of the order to invoice. All of its lines are billed onto the new invoice.
  """
  orderId: OrderID!
  """
  Human-facing number for the new invoice. Required — it is never auto-generated.
  """
  invoiceNumber: String!
  """
  Issue date as an ISO-8601 date-time with fractional seconds. Defaults to the current time.
  """
  issueDate: String
  """
  Payment due date as an ISO-8601 date-time with fractional seconds. Omit to leave the invoice without a due date — it is not derived from `paymentTerms`.
  """
  dueDate: String
  """
  Free-text payment terms recorded on the invoice (for example `Net 30`). Descriptive only — nothing is computed from it.
  """
  paymentTerms: String
  """Customer-facing notes to store on the invoice."""
  notes: String
}

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