Finalize Invoice

Finalize a draft invoice, freezing its monetary totals (INV-3). Body is application/x-www-form-urlencoded. Returns the abbreviated invoice confirmation (id/object/status/total); retrieve the invoice for the full object.

Authentication

AuthorizationBasic

Standard Basic HTTP authentication. The username is the Fluveo secret key and the password must be empty, encoded as base64(api_key:).

OR
AuthorizationBearer

Bearer HTTP authentication. Allowed header: Authorization: Bearer <api_key>.

Path parameters

invoicestringRequiredformat: "^in_"

Headers

Idempotency-KeystringOptional1-255 characters

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

idstringformat: "^in_"
objectenum
statusenum
totalinteger

Smallest currency unit (minor units / cents).

payment_intentstringOptional