Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Finalize an invoice


Finalize an invoice

POST / v1 / invoices /:id / finalize

Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you’d like to finalize a draft invoice manually, you can do so using this method.

Parameters

  • auto _ advance boolean Controls whether Stripe performs automatic collection of the invoice. If false, the invoice’s state doesn’t automatically advance without an explicit action.

Returns

Returns an invoice object with status=open.

Response

Mark an invoice as uncollectible

POST / v1 / invoices /:id / mark_uncollectible

Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.

Parameters

No parameters.

Returns

Returns the invoice object.

Response

Pay an invoice

POST / v1 / invoices /:id / pay

Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.

Parameters

No parameters.

More parameters

  • forgive boolean
  • mandate string
  • off _ session boolean
  • paid _ out _ of _ band boolean
  • payment _ method string
  • source string

Returns

Returns the invoice object.

Response

Last verified 2026-09-24

Is this helpful?