<- Invoices API

Invoices API

Delete invoice

DELETE

 /v2/invoices/{invoice_id}

Deletes the specified invoice.

When an invoice is deleted, the associated order status changes to CANCELED. You can only delete a draft invoice (you cannot delete a published invoice, including one that is scheduled for processing).

Permissions:ORDERS_WRITE, INVOICES_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

invoice_id

string

Required

The ID of the invoice to delete.

Link to section

Query parameters

Link to section

version

integer(32-bit)

Link to section

Response fields

Link to section

errors

Information about errors encountered during the request.