Cancel a sales invoice
SalesInvoiceDomainCommand
Cancel a sales invoice
POST
Cancel a sales invoice
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The tenant ID for the target ERP instance.
The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.
The Company-Id (int or uuid) of the company on whose behalf the request is executed.
Body
application/json
Request parameters
Cancel a sales invoice - Request
The ID of the sales invoice to cancel.
Example:
"b45f6432-2462-4c6f-b00f-1d9d01000000"
The reason for cancelling the invoice.
Example:
"b45f6432-2462-4c6f-b00f-1d9d01000000"
An optional comment explaining the cancellation.
Response
204 - application/json
Sales invoice cancelled successfully
Delivers a single sales channel with the available endpoints by its id.Create a new sales invoice for a salesorder