Invoices

Void invoice

Voids an open invoice. Cannot void paid invoices.

post/invoices/{id}/void

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/invoices/{id}/void
  • Auth: API key in header Authorization

Path parameters

idstring required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Response

Invoice voided

idstring required
objectstring required
status'open' | 'paid' | 'past_due' | 'void' required
numberstring required
descriptionstring nullable required
customer_namestring nullable required
email_addressstring nullable required
collection_method'send_invoice' | 'charge_automatically' required
due_atstring date-time required
created_atstring date-time required
updated_atstring date-time required
checkout_urlstring nullable required
amountnumber nullable required
currencystring nullable required
paid_atstring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.