Appearance
InvoiceOrderPayload
Type: Object
Result of invoiceOrder: the newly raised invoice and its lines.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| errors | [FieldError!]! | Field-level validation errors. Empty on success; when non-empty no invoice was written. | ||
| invoice | InvoiceState | The 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. |