Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Billing
    Overview
    About the Billing APIs
    Subscriptions
    Invoicing
      Overview
      API quickstart
      Integrate with the API
      Invoicing without code
      Invoice lifecycle
      Preview invoices
      Edit invoices
      Schedule invoice finalization
      Status transitions and finalization
      Send customer emails
      Generate credit notes
      Invoice customers
      Customers
      Customer credit balance
      Customer tax IDs
      Invoice payments
      Hosted Invoice Page
      Create invoice payment plans
      Payment methods for invoices
      Automated collections
        Automatic invoice advancement
        Automatic reconciliation
        Automatic collection
        Automatic charging
      Invoice customization
      Customize invoices
      Invoice rendering templates
      Group invoice line items
      Summarize line items
      Global invoicing
      Best practices
      Multi-currency customers
      Other invoicing features
      Products and prices
      Manage bulk invoice line items
      Taxes
    Usage-based billing
    Connect and Billing
    Tax and Billing
    Quotes
    Revenue recovery
    Automations
    Scripts
    Revenue recognition
    Customer management
    Entitlements
    Test your integration
Tax
Reporting
Data
Startup incorporation
HomeFinance automationBillingInvoicingAutomated collections

Automatic invoice advancement

Learn how Stripe Invoicing handles automatic advancement and collection.

Copy page

Unless you explicitly disable it, invoices you create in the Dashboard automatically finalize when they leave the draft state. However, invoices you create with the API won’t automatically finalize. You must turn on automatic collection by setting the auto_advance property on the invoice to true. You must also configure a webhook endpoint to receive their associated events. When you set auto_advance to false, you’re responsible for transitioning the invoice between statuses. Learn more about webhook endpoints and finalizing invoices.

Note

When you turn on automatic collection, Stripe does everything to drive the invoice towards payment—including automatically finalizing draft invoices after one hour. During this wait period, the invoice shows a Scheduled status.

Update automatic advancement

You can toggle the auto_advance property on draft and open invoices. Automatic advancement and collection never occur on invoices that are marked uncollectible, void, or paid. For these invoices, auto_advance is always set to false:

Command Line
cURL
curl https://api.stripe.com/v1/invoices/id \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d auto_advance=false

Pause automatic advancement

In some cases, you might want to stop Stripe from automatically advancing your invoices toward collection. For example, if you want to:

  • Use your own business logic to manage the lifecycle of an invoice.
  • Decide if and when to send invoice emails on a per-invoice basis.

In both of these cases, use the auto_advance property to disable the automatic advancement and collection behavior.

Automatic advancement feature comparison

When you set auto_advance to false, Stripe disables most of the automatic features for Invoicing—leaving collection up to you. The following table outlines some key changes in the behavior of automatic collection, depending on whether auto_advance is set to true or false:

FeatureTrueFalse
Finalize drafts to open (after approximately 1-hour)
Emailing invoices
Attempting payments
Retries (email and charge)
Invoice reminder emails
3D Secure reminder emails
Email receipts
Stripe Automation

Legend

  • = Can be enabled depending on your settings.
  • = Configurable in your settings.
  • = Not enabled. The invoice isn’t automatically transitioned.
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc