Skip to main content

When this fires

An invoice is voided when it is nullified before collection: an admin marks it void through the dashboard or the API, or Commet voids unpaid invoices automatically when their subscription is canceled. Voiding is terminal — a void invoice is never retried or collected. The payload carries the same invoice resource shape as invoice.created, with invoiceStatus set to "void". Use this event to reverse anything you keyed off invoice.created for this invoice — pending dunning reminders, accounting entries, or in-app banners about an open invoice.

Body

application/json
id
string
required
event
string
required
Allowed value: "invoice.voided"
timestamp
string
required
organizationId
string
required
mode
enum<string>
required
Available options:
live,
sandbox
apiVersion
string
required
data
object
required

Response

200

Return any 2xx status code to acknowledge receipt of the event.