Breaking changes
Invoices now specify their automatic collection behavior using the auto_advance fieldBreaking changes
What’s new
The closed property on the Invoice object controls automatic collection. Deprecates closed in favor of the more specific auto_ field. Where you might have set closed=true on invoices in the past, set it to auto_.
Impact
Replacing the closed property with the new auto_ field on Invoice objects to control automatic collection lets you have more specific control over the invoice lifecycle, allowing you to use auto_ instead of closed=true to prevent automatic collection.
Changes
| Parameters | Change | Resources or endpoints |
| closed | Removed | |
| closed | Removed |
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: 2018-11-08
- If you don’t use an SDK, update your API requests to include
- Upgrade the API version used for webhook endpoints.
- Test your integration against the new version.
- If you use Connect, test your Connect integration.
Learn more about Stripe API upgrades.