Adds option to automatically finalize invoices
What’s new
Adds option to automatically finalize Invoices with the automatically_finalizes_at parameter.
Added
automatically_finalizes_at nullable timestamp
The time when this invoice is currently scheduled to be automatically finalized. The field will be null if the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always be null - see finalized_at for the time when an already-finalized invoice was finalized.
Impact
This enables you to understand when invoices will finalize and to automatically advance them.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| automatically_finalizes_at | Added | Invoice |
Upgrade
- View your current API version in Workbench.
- If you use an SDK, upgrade to the corresponding SDK version for this API version.
- If you don’t use an SDK, update your API requests to include Stripe-Version: 2024-09-30. acacia
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
