finalize_invoice
Convert a draft invoice to open status so it can be paid. This action is irreversible and optionally triggers automatic payment.
Instructions
Finalizes a draft invoice, transitioning it to 'open' status so it can be paid. This action cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | The ID of the draft invoice to finalize (e.g., 'in_123'). | |
| auto_advance | No | If true, the invoice will automatically attempt payment after finalizing. |