Finalize an invoice
finalize_invoiceFinalize a draft invoice to assign its number, lock amounts, and create a payable hosted page; zero-total or past-due invoices cannot be finalized.
Instructions
Finalize an invoice.
Finalize a draft invoice: it gets its number, the amounts are frozen, and hosted_invoice_url becomes a payable page to send to your customer. A zero total or a past due date can’t be finalized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The invoice id (`inv_…`). |