v1

latestOpenAPI 3.1.0CC-BY-NC-SA-4.02026-07-2413803.8 MB
Sales Invoices API

Delete sales invoice

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

Advanced access token with sales-invoices.write

OAuth access with sales-invoices.write

delete/sales-invoices/{salesInvoiceId}

Request body

testmodeboolean nullable

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.

Response

An empty response.