v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-015891,4406.1 MB

Delete a draft invoice

Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be voided.

delete/v1/invoices/{invoice}

Path parameters

invoicestring required

Response

Successful response.

deletedtrue required

Always true for a deleted object

idstring required

Unique identifier for the object.

object'invoice' required

String representing the object's type. Objects of the same type share the same value.