d779de93a5ee

latestOpenAPI 3.0.42026-08-13351856967.1 KB
Invoice

Deletes a draft invoice, discarding it completely.

Only an invoice that was never finalized can be deleted — a draft, or a generation attempt that failed. The invoice disappears from the payment provider as well, and its billing period returns to Open so it can be invoiced again. A finalized invoice must be voided through POST /invoice/{invoiceId}/void instead; deleting one responds 409 Conflict, as does deleting while generation is still in progress.

delete/invoice/{invoiceId}

Path parameters

invoiceIdstring required

The invoice to delete.

Response

No Content