API Reference · Invoices

Void an invoice

Cancels an unpaid invoice.

POST/v1/invoices/:id/void

Transitions the invoice to VOID. Any pending installments are cancelled. Paid invoices cannot be voided — issue a refund against the payment instead.

Path parameters

idstringRequired

Invoice id (`inv_…`).

Errors

404
resource_missing

No invoice exists with that id.

409
invoice_not_voidable

Invoice has been paid or is already void.