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).
Name | Description |
---|---|
invoice_
Required
|
The ID of the invoice to delete. |
Name | Description |
---|---|
version
|
The version of the invoice to delete. If you do not know the version, you can call GetInvoice or ListInvoices. |
Response Fields
Name | Description |
---|---|
errors
|
Information about errors encountered during the request. |