> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# invoices_finalize

> Finalise a draft invoice, making it open and payable. The amounts stop being editable at this point.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.stripe.com/v1/invoices/{invoice}/finalize"}</code></div>

```python stripe_invoices_finalize.py theme={null}
from charter.packs import stripe

result = await stripe.invoices_finalize.ainvoke({"invoice": ...})
```

## Path parameters

<div className="reference-table">
  | Field                                                           | Type     | Description            |
  | --------------------------------------------------------------- | -------- | ---------------------- |
  | `invoice` <span className="required" title="required">\*</span> | `string` | The ID of the invoice. |
</div>

## Body

<div className="reference-table">
  | Field         | Type      | Description                                                                                                   |
  | ------------- | --------- | ------------------------------------------------------------------------------------------------------------- |
  | `autoAdvance` | `boolean` | Whether Stripe collects the invoice automatically after finalising. False leaves it open until you act on it. |
</div>
