Skip to main content
inputCreateSalesInvoiceCommandRequestInput

Fields

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.