# -*- coding: utf-8 -*- # File generated from our OpenAPI spec from stripe._request_options import RequestOptions from typing import List from typing_extensions import NotRequired class InvoiceFinalizeInvoiceParams(RequestOptions): auto_advance: NotRequired[bool] """ Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. """ expand: NotRequired[List[str]] """ Specifies which fields in the response should be expanded. """