Delete sales invoice

Beta feature

This feature is currently in beta testing, and the final specification may still change.

Sales invoices which are in status draft can be deleted. For all other statuses, please use the Update sales invoice endpoint instead.

Access with

API key

Organization access token with sales-invoices.write

OAuth access with sales-invoices.write

Path Params
string
required

Provide the ID of the related sales invoice.

Body Params
boolean | null

Most API credentials are specifically created for either live mode or test mode, in which case this parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting testmode to true.

Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.

Responses

Language
Credentials
Request
Response
Choose an example:
application/hal+json