kit.invoices.finalize()| Field | Type | Description |
|---|---|---|
invoiceId | string | The draft invoice to finalize. |
autoAdvance | boolean | Defaults to true. If true, Stripe automatically attempts to collect payment after finalizing, following the customer's normal collection method. If false, the invoice becomes open but nothing is charged automatically. |
retrieve()'s response, with status set to 'open'.| Exception | When |
|---|---|
StripeOperationError | The invoice is not in draft status, or does not exist. |
storage adapter is configured, the result is persisted via saveInvoice().