Input objects
CreateSalesInvoiceCommandRequestInput
Creates a new sales invoice for a sales order. - Request
input
CreateSalesInvoiceCommandRequestInputFields
salesOrderId
ID!
required
The ID of the sales order to create the invoice for.
invoiceOnlyDeliveredQuantity
Boolean
If true, only the delivered quantities of the sales order line items are added to the new invoice.
asDraft
Boolean
If true, the invoice will be created as a draft. An invoice draft has no invoice number yet and can be edited until finalized.
Was this page helpful?