Void Invoice
Void an open or uncollectible invoice (FLU-478), as Stripe does: a draft, paid or already-void invoice is refused with Stripe’s 400, and an invoice with a payment in progress or waiting to commit is refused. Test mode only. Body is application/x-www-form-urlencoded and takes only expand. Returns the invoice.
Authentication
Standard Basic HTTP authentication. The username is the Fluveo secret key and the password must be empty, encoded as base64(api_key:).
Bearer HTTP authentication. Allowed header: Authorization: Bearer <api_key>.
Path parameters
Headers
Makes a POST safely retryable according to that operation’s documented idempotency policy. The durable 24-hour journal applies only where the resource documentation explicitly claims it. Reusing a key with different parameters or another endpoint returns an idempotency error.
Response
Stripe-compatible response
Smallest currency unit (minor units / cents).
Smallest currency unit (minor units / cents).
Unix timestamp (seconds); present only on send_invoice invoices that set one.
Sequential merchant-scoped number (FLV-0001), assigned once at finalization; absent on drafts.
Smallest currency unit (minor units / cents). Credit notes issued against cash this invoice had already collected; it does not reduce amount_due. The pre-payment counterpart is not served.
Smallest currency unit (minor units / cents).
The hosted invoice page, where the customer views and pays the invoice: null until the invoice is finalized. Fluveo mints a fresh link on every read, expiring with the emailed pay link (due date plus 7 days, at least 1 and at most 60 days; 30 days without a due date).