provider POST /v1/invoices/{invoice}/finalize
@utdk/stripe /v1/invoices/{invoice}/finalize
Finalize an invoice
<p>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.</p>
invoice path required
string

Try it

Authentication
Configure credentials for Stripe API
postinvoicesinvoicefinalize
POST/v1/invoices/{invoice}/finalize
<p>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.</p>

Parameters

required

Input

Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.

Specifies which fields in the response should be expanded.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postinvoicesinvoicefinalize()