This endpoint is currently in Beta and available for testing. It may contain bugs, and breaking changes can occur at any time without prior notice. We do not recommend using Beta endpoints in production environments. Should you choose to use it in production, you assume full responsibility for any resulting issues.
This endpoint requires the following scopes: invoice:create.
Create an invoice from an existing sales order. The invoice takes the header of the sales order and, unless lineItems are given, copies its line items. The sales order itself is not changed, so several invoices can be created from it. The invoice is a draft unless documentNumber is given or the setting "Create receipts quickly without manual approval" is on; with that setting the invoice is released with a number from the number range, as when continuing a sales order in Xentral. A sales order with partial invoices that are released is rejected unless lineItems are given, as copying its line items would bill them a second time; its final invoice deducts them.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Unauthorized
403Forbidden
