Invoices
Void invoice
Cancel an open invoice. Admin-only.
POST
Voiding an invoice cancels it on both our side AND on Stripe’s. The user no
longer owes the money. Use sparingly — almost every case should be a refund
on the original charge, not a void of a fresh invoice.
Invoice id (
inv_…). Must belong to the authenticated user.Always
true on success.What happens
- Try to void the Stripe-side invoice first (best-effort; only succeeds while
the Stripe invoice is still
open). - Update our local row to
status='void',voidedAt=now. - Append an
InvoiceEventrow recording the transition.