Appearance
InvoiceOrderInput
Type: Input
Input for invoiceOrder: raises an invoice for an order, mirroring every order line.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| dueDate | 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. | |
| invoiceNumber | String! | Human-facing number for the new invoice. Required — it is never auto-generated. | |
| issueDate | String | Issue date as an ISO-8601 date-time with fractional seconds. Defaults to the current time. | |
| notes | String | Customer-facing notes to store on the invoice. | |
| orderId | OrderID! | TypeID (ord_…) of the order to invoice. All of its lines are billed onto the new invoice. | |
| paymentTerms | String | Free-text payment terms recorded on the invoice (for example Net 30). Descriptive only — nothing is computed from it. |