Skip to content

InvoiceOrderPayload ​

Type: Object

Result of invoiceOrder: the newly raised invoice and its lines.

Fields ​

NameTypeArgsDescriptionDeprecated
errors[FieldError!]!Field-level validation errors. Empty on success; when non-empty no invoice was written.
invoiceInvoiceStateThe new invoice — kind invoice, status draft, paidAmount 0, with customer, addresses, currency and amounts copied from the order. Null when errors is non-empty.
invoiceLines[InvoiceLineState!]Invoice lines created one-for-one from the order lines, each linked back to its order line and job. Null on failure.

Relationships ​

Connect machines, automate workflows, and build custom apps for print production.