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.