Glossary
Stripe cancel_at
Stripe cancel_at is the subscription field that holds a scheduled cancellation date: a future timestamp at which Stripe cancels the subscription automatically, shortening the final billing period to end on that date.
Also called: cancel_at, Stripe scheduled cancellation date, Stripe custom cancel date, cancel at date
14-day free trial · card required · cancel anytime
Definition
Every Stripe subscription has a cancel_at field. Stripe’s API reference describes it as “A date in the future at which the subscription will automatically get canceled.” While it is empty, the subscription renews as normal. Once it holds a timestamp, the subscription is still active, and it ends on that date without anyone touching it.
You can set it yourself through the Dashboard’s custom cancel date or the API, and Stripe sets it for you in two cases. A subscription schedule with end_behavior set to cancel writes the last phase’s end date into cancel_at once it reaches that phase. In flexible billing mode, a customer who cancels through the customer portal gets a cancel_at date instead of cancel_at_period_end.
The important difference from canceling at period end is that cancel_at can land partway through a billing period. When it does, Stripe moves the period end to match and bills only for the shorter period. That is why a scheduled cancellation changes the amount of an invoice rather than just its timing.
Key points
- +cancel_at is a timestamp on the subscription. The subscription stays active until that moment, then cancels automatically.
- +A cancel date inside the current period moves the items’ current_period_end to that date and creates prorations, unless prorations are disabled.
- +A cancel date further out leaves the cycle alone until the renewal into that period, which is billed for the shortened period.
- +In classic billing mode, cancel_at_period_end=true also fills cancel_at with the period end. In flexible billing mode, portal cancellations set cancel_at and leave cancel_at_period_end false.
- +The update API accepts helpers instead of a timestamp: min_period_end, max_period_end and max_billed_until.
- +Adding a cancel date or moving it earlier resets the billing cycle anchor to the new cancel date.
- +A Dashboard cancellation on a custom date can’t include a refund.
cancel_at versus cancel_at_period_end
Stripe has two fields for a cancellation that hasn’t happened yet, and which one is set depends on how the cancellation was made and on the subscription’s billing mode.
cancel_at_period_end is a yes or no flag. Stripe defines it as “Whether this subscription will (if status=active) or did (if status=canceled) cancel at the end of the current billing period.” It always means the current period’s end, and the customer keeps what they already paid for. cancel_at is a date, which can be the period end or any other future moment.
In classic billing mode the two move together. Stripe’s billing mode comparison says that when a customer schedules a cancellation in the portal, “cancel_at_period_end is set to true and cancel_at is set to the current_period_end timestamp,” and cancel_at follows the period end if it changes. In flexible billing mode, “cancel_at_period_end is set to false and cancel_at is set to the maximum current_period_end across all subscription items,” and the date stays put if an item’s period later changes.
That difference breaks reports. A churn report, a renewal forecast or a deferred revenue schedule that looks only for cancel_at_period_end=true will see every flexible-mode portal cancellation as a subscription that is going to renew. Check cancel_at instead. It is populated in both modes.
How a cancel date shortens the final period
When the cancel date falls inside the current period, Stripe’s cancellation guide says the items’ current_period_end “updates to match the cancel_at date. This creates prorations for the change in the current period, unless your update disables prorations.” The customer is credited for the time after the cancel date that they have already paid for.
When the cancel date is more than one period away, nothing changes yet. Stripe leaves the cycle alone “until the subscription renews into the period that contains the cancel_at date.” That renewal is billed only up to the cancel date, and Stripe says that in this case “you can’t disable prorations.”
Stripe’s own example: a 120 USD a year subscription renews on January 1, 2024 and is set to cancel on July 1, 2024. The January 1 invoice has a subtotal of 60 USD, half the year, and the period ends July 1. If on February 15 the cancel date moves out to October 1, Stripe creates prorations of 30 USD for the extra quarter. If instead it moves in to April 1, Stripe creates a proration of -30 USD for the unused time from April 1 to July 1.
The billing mode matters for one edge case. If cancel_at is set when a subscription is created and shortens its first period, classic mode doesn’t treat the short period as a proration, so proration_behavior=none still bills the subscription’s full amount. Flexible mode treats it as a proration, so none suppresses the line and no invoice is created.
Setting, moving and removing a cancel date
Through the API, you set cancel_at on a subscription update with a timestamp or one of three helpers. Stripe’s update reference lists min_period_end, “the earliest end date among all subscription items’ current billing periods”, max_period_end, the latest of those, and max_billed_until, “the latest date that each subscription item is billed until.” Stripe introduced the period-end helpers for subscriptions whose items bill on different intervals, where cancel_at_period_end “always resolves to the earliest item period end.” The helpers resolve to a fixed timestamp immediately, so later changes to an item’s period don’t move the cancel date.
Moving or removing the date has side effects. Stripe says that adding a cancel date or moving one earlier sets the billing cycle anchor to the new cancel date. Extending or removing it can reset the anchor to the current period start, which Stripe only guarantees for subscriptions created after June 2024.
A scheduled cancellation can be stopped at any time before it happens, from the Dashboard’s Don’t cancel action or the API. A canceled subscription can’t be reactivated. Stripe’s guide is plain about it: “You can’t reactivate a canceled subscription.” After the date passes, continuing to bill the customer means a new subscription.
Trials behave differently by mode too. In classic mode, a cancel_at earlier than trial_end pulls trial_end in to match. In flexible mode, setting or changing cancel_at doesn’t alter trial_end.
What cancel_at means for QuickBooks
A scheduled cancellation isn’t an accounting event. Setting cancel_at changes the subscription, and Stripe reports it through customer.subscription.updated. When the date arrives, Stripe sends customer.subscription.deleted. Neither one is an invoice or a payment, so neither has anything to post.
What reaches your books is the effect on invoices. In Stripe’s example, the January renewal is a 60 USD invoice instead of 120 USD, covering six months. If you recognize subscription revenue over the service period, that invoice’s period, January 1 to July 1, is what you spread it over, and your accountant should confirm the treatment.
Moving the date creates proration lines like any other mid-period change. A later cancel date adds a positive line, by default on the final invoice. A move to an earlier date creates a negative line for the unused time, which can leave the customer with a credit rather than a charge. If you mean to hand money back, that is a refund you issue separately. Stripe notes that when you set a custom cancel date in the Dashboard, “you can’t provide a refund.”
The final invoice is also the last one. After the cancel date, no renewal arrives. In QuickBooks, a customer who canceled on a date looks the same as any customer whose invoices stopped, so keep the cancellation date and reason in Stripe, where cancel_at, canceled_at and cancellation_details record them.
Frequently asked questions
What is cancel_at in Stripe?
It is a subscription field holding a future timestamp at which Stripe cancels the subscription automatically. The subscription stays active until then. If the date falls partway through a billing period, Stripe shortens that period to end on the cancel date and bills or credits the difference as a proration.
What is the difference between cancel_at and cancel_at_period_end?
cancel_at_period_end is a true or false flag that means cancel at the end of the current period. cancel_at is a specific date, which can be any future moment. In classic billing mode, setting cancel_at_period_end also fills cancel_at. In flexible billing mode, portal cancellations set only cancel_at, so check cancel_at to find every scheduled cancellation.
Why was my customer billed less than the full price before canceling?
Because the cancel date shortened the final billing period. When a subscription renews into the period that contains its cancel_at date, Stripe bills only up to that date. In Stripe’s example, a 120 USD annual subscription set to cancel halfway through the year renews with a 60 USD invoice.
Can I undo a Stripe cancel_at date?
Yes, until the date arrives. Remove the cancel date in the Dashboard with Don’t cancel, or update the subscription through the API. Moving or removing the date can create prorations and change the billing cycle anchor. Once the subscription has canceled, it can’t be reactivated, and you need a new subscription.
Does a scheduled Stripe cancellation create anything in QuickBooks?
Not by itself. Setting cancel_at changes the subscription but creates no invoice or payment. What reaches QuickBooks is the effect on invoices: a shorter final invoice, and proration lines if the date moves. When the subscription ends, no further invoices arrive.
What customers say about running Stripe through Acodei

“If you're testing out all the different Stripe/QuickBooks integration apps right now, let me save you some time. This one is the best one by far.”
“Works well and is really helpful for massive transactions. The support is really fast and helpful. 100% recommended.”
Related reading
- Canceling a Stripe subscription and what reaches QuickBooks
- Stripe billing mode
- Stripe subscription schedule
- Stripe proration factor
- Stripe mixed interval subscription
More glossary terms
- Undeposited Funds
- Stripe Balance Transaction
- Available vs Pending Balance
- Stripe Dispute
- Stripe Dispute Evidence
- Stripe Fee
- Stripe Balance Adjustment
- QuickBooks Credit Memo
- Stripe Tax
- QuickBooks Tax Code
- Stripe Reserve
- Stripe Tax Rate
- Stripe Fee Credit
- Stripe Credit Note
- QuickBooks Product/Service Item
- Stripe Payout
- QuickBooks Sales Receipt
- QuickBooks Bank Deposit
- QuickBooks Transfer
- Stripe Authorization Hold
- QuickBooks Refund Receipt
- QuickBooks Payment
- QuickBooks Expense
- QuickBooks Journal Entry
- Stripe Financial Account
- Holding Account
- Accounts Receivable
- Bank Feed
- Deferred Revenue
- Stripe PaymentIntent
- Stripe Checkout Session
- Stripe SetupIntent
- Stripe PaymentMethod
- Stripe Charge
- Stripe Refund
- QuickBooks Invoice
- QuickBooks Class Tracking
- QuickBooks Location Tracking
- QuickBooks Project
- QuickBooks Closing Date
- Stripe Invoice Line Item
- Stripe Proration
- Stripe Invoice Status
- Stripe Shipping Rate
- Stripe Transfer
- Stripe Mandate
- Stripe on_behalf_of
- Stripe Invoice Item
- QuickBooks Estimate
- Stripe Invoice Payment
- Stripe Invoice Payment Settings
- Stripe Billing Meter
- Stripe Invoice Template
- Stripe Price
- Stripe Subscription Schedule
- Stripe Subscription Item
- QuickBooks Recurring Transaction
- QuickBooks Sub-Customer
- QuickBooks Audit Log
- QuickBooks Bank Rule
- Stripe Subscription Status
- Stripe Mixed Interval Subscription
- Stripe Trial Settings
- QuickBooks Payment Terms
- Stripe Pending Update
- QuickBooks Tags
- QuickBooks Credit Card Credit
- QuickBooks Vendor Credit
- QuickBooks Bill
- QuickBooks Delayed Charge
- Stripe Billing Mode
- QuickBooks Billable Expense
- Stripe Customer Cash Balance
- QuickBooks Purchase Order
- QuickBooks Opening Balance
- QuickBooks Account Type
- QuickBooks Sales Tax Center
- Stripe Webhook
- Stripe Metadata
- Stripe Outbound Payment
- Stripe Received Credit
- Stripe Outbound Transfer
- Stripe Inbound Transfer
- Stripe Received Debit
- Stripe Payout Method
- Stripe Financial Account Transaction
- Stripe Financial Address
- Stripe Application Fee
- Stripe Connected Account
- Stripe Destination Charge
- Stripe Separate Charges and Transfers
- Stripe Direct Charge
- Stripe Payment Method Configuration
- Stripe Dynamic Payment Methods
- Stripe Payment Method Rules
- QuickBooks Bundle
- Stripe Account Capability
- Stripe Merchant of Record
- Stripe Data Pipeline
- Settlement Currency
- Hosted Invoice Page
- Stripe Customer
- Stripe Product
- QuickBooks Home Currency
- QuickBooks Exchange Gain or Loss
- QuickBooks Trial Balance
- QuickBooks General Ledger Report
- QuickBooks Retained Earnings
- QuickBooks Profit and Loss Report
- QuickBooks Balance Sheet Report
- QuickBooks Account Register
- QuickBooks Reclassify Transactions
- QuickBooks A/R Aging Report
- QuickBooks Sales Tax Liability Report
- QuickBooks Sales Tax Payable
- Stripe Tax Transaction
- Stripe Tax Location Report
- Stripe Tax Summarized Export
- Stripe Tax Itemized Export
- Stripe Product Tax Code
- QuickBooks Vendor
- Economic Nexus
- Reverse Charge
- Stripe Statement Descriptor
- Stripe Taxability Reason
- Stripe Tax Filing Currency
- Stripe Tax Cross-Border Goods Option
- Stripe Tax Threshold Monitoring
- QuickBooks Uncategorized Income
- QuickBooks Sales by Product/Service Report
- QuickBooks Sales by Customer Report
- QuickBooks Group Tax Rate
- Form 1099-NEC
- SEPA Direct Debit
- Bacs Direct Debit
- Canadian Pre-Authorized Debit (PAD)
- Australia BECS Direct Debit
- Stripe PayTo
- Stripe Test Clock
- QuickBooks Customer Display Name
- Backup Withholding
- QuickBooks Multicurrency
- Form 1042-S
- Form W-8BEN
- Form W-9
- Form 8233
- Form 1042
- Form 1099-K
- Form W-8BEN-E
- Stripe Tax Behavior
- Stripe Customer Tax ID
- Form 945
- ITIN (Individual Taxpayer Identification Number)
- Form 1099-MISC
- Stripe Customer Tax Exempt Status
- EFTPS (Electronic Federal Tax Payment System)
- Tax Representative (Fiscal Representative)
- Nil Return
- Sales Tax Exemption Certificate
- EU One Stop Shop (OSS)
- Place of Supply
- Simplified Tax Invoice
- Input VAT (Input Tax)
- Streamlined Sales Tax (SST)
- Fixed Establishment (VAT)
- VIES VAT Number Validation
- E-Invoicing Mandate
- Tax Point (Time of Supply)
- Sales Tax Holiday
- Digital Services Tax
- VAT Invoice (Full Tax Invoice)
- Output VAT (Output Tax)
- VAT Bad Debt Relief
- Sales Tax Sourcing
- Gross Receipts Tax
- VAT Cash Accounting Scheme
- Reduced VAT Rate
- VAT Flat Rate Scheme (UK)
- VAT Annual Accounting Scheme (UK)
- EU VAT SME Scheme
- Making Tax Digital for VAT
- VAT Payments on Account (UK)
- Stripe Tax Registration
- Non-Established Taxable Person (NETP)
- VAT Group Registration (UK)
- Zero-Rated vs Exempt Supply
- Electronically Supplied Services (ESS)
- Zero-Decimal Currency
- UK VAT Registration Threshold
- QuickBooks Deposit Detail Report
- Payment Settlement Entity (PSE)
- QuickBooks Reconcile
- QuickBooks Bad Debt Write-Off
- Stripe Radar
- Stripe Smart Retries
- Stripe Decline Code
- QuickBooks Voided Transaction
- Stripe Minimum Charge Amount
- Stripe 3D Secure
- Stripe Preview Invoice
- Stripe Quantity Transformation (transform_quantity)
- Stripe Customer-Chosen Price (custom_unit_amount)
- Stripe Adjustable Quantity (adjustable_quantity)
- Stripe Inline Price (price_data)
- Stripe Default Payment Method
- Stripe Multi-Currency Price
- QuickBooks Automatic Application
- QuickBooks Open Invoices Report
- QuickBooks Customer Balance Detail Report
- Stripe Customer Tax Location Status
- Stripe Customer Credit Balance
- QuickBooks Automatic Invoice Reminders
- QuickBooks Delayed Credit
- Wire Transfer Charge Codes (OUR, SHA, BEN)
- QuickBooks Inactive Customer
- Stripe Funding Instructions
- Stripe Multicapture
- Stripe Incremental Authorization
- Stripe Overcapture
- Stripe Thin Event
- Stripe Payment Attempt Record
- Stripe Balance Settings
- Stripe Billing Scripts
- Stripe Custom Coupon
- Stripe Proration Factor
Ready to try Acodei?
Connect Stripe to QuickBooks Online in minutes and let the fees, refunds, and payouts land where your accountant expects them.
14-day free trial · card required · cancel anytime