Stripe Retention Offers and QuickBooks

A Stripe retention offer discounts a customer who was about to cancel. What the accepted coupon bills, how long it lasts, and what reaches QuickBooks.

Acodei Content Team · 11/27/2026 · 11 min read

A customer clicks Cancel in your Stripe customer portal. Before the cancellation goes through, Stripe shows them an offer: 30% off for the next three months if they stay. They take it. The subscription carries on, nobody at your company touched anything, and the next invoice is smaller than the last.

That is a Stripe retention offer, which Stripe calls cancellation deflection. It is one setting in the portal, and it is easy to switch on without working out what it costs. The cost depends on the coupon's duration and on the customer's billing interval. On an annual plan, an offer worded as "three months" can discount an entire year.

This guide covers how retention offers work in Stripe, what an accepted offer bills and for how long, the limits Stripe puts on them, and what reaches QuickBooks. Start a free trial.

How a Stripe retention offer works

Retention offers live in the customer portal's cancellation settings. Stripe's portal configuration guide lists four cancellation options:

OptionWhat it doesDefault
Cancel subscriptionLets the customer cancel from the portalOn
Cancellation reasonAsks why they are leavingOn
Lost benefitsShows the features they loseOn
Retention couponsOffers a coupon before the cancellation completesOff

To turn the offer on, Stripe's cancellation page guide says to open Settings > Customer portal, expand the Cancellations section and "select a coupon in the drop-down under Retention Coupon." You can create the coupon inline if you don't have one.

That portal setting gives every cancelling customer the same coupon. If you send customers into the portal through your own app, you can choose the offer per customer instead. A portal session created with flow_data[type]=subscription_cancel takes a retention object of type coupon_offer, which Stripe's API reference describes as "the ID of the coupon to be offered." Annual customers can get one offer and monthly customers another, decided by your code before the session opens.

Two outcomes are possible:

  • The customer accepts. The subscription stays active and the coupon's discount applies to its next invoice.
  • The customer declines and cancels. The subscription cancels on your portal's schedule, immediately or at period end. If you collect reasons, Stripe records the reason on the subscription.

What an accepted offer bills

Applying a coupon to a subscription does not create an invoice. Stripe's coupons guide says updating discounts "doesn't incur prorations or generate an invoice on its own. The new discounts are applied the next time the subscription creates an invoice."

So the customer who accepts mid-period gets no refund for the period they already paid. The discount starts with the next renewal.

How long the discount lasts depends on the coupon's duration:

  • once applies to one invoice. Stripe removes the discount from the subscription after that invoice finalizes.
  • repeating applies for a set number of months, from duration_in_months.
  • forever applies to every invoice for as long as the subscription runs.

Our Stripe coupons and discounts guide covers these durations in general. Retention offers add a twist, because of who receives them. They go to existing customers at a random point in their billing cycle, and some of those customers pay annually.

The annual-plan trap

Stripe measures a repeating coupon in calendar months from when it is applied, not in invoices. Its own example: a 50% coupon with duration_in_months=4 "applies to all invoices in the 4-month period starting when the coupon is first applied." For a monthly plan, that is four invoices. For a yearly plan, Stripe says "the 50% discount applies to the entire year if the subscription renews within the 4-month window."

Take one retention coupon, 30% off with duration=repeating and duration_in_months=3, and give it to two customers.

Monthly customerAnnual customer
Normal price50 USD a month600 USD a year
Accepts the offerMid-monthThree weeks before renewal
Invoices inside the 3-month window3 monthly renewals1 annual renewal
Discounted invoices35, 35, 35 USD420 USD
Next full-price invoiceMonth 4, 50 USDThe renewal a year later, 600 USD
Total discount given45 USD180 USD

The offer reads the same to both customers. It costs four times as much on the annual plan, and the annual discount covers twelve months of service instead of three.

A once coupon behaves the same way. On a monthly plan it discounts one month. On an annual plan, "one invoice" is the whole renewal year.

If you don't want to discount a full year, use the per-customer retention parameter to give annual subscribers a different coupon, such as a fixed amount_off sized for one renewal.

A free month, and the $0 invoice it creates

A 100%-off coupon for one month is a popular retention offer. In Stripe, the subscription's lines stay at full price and the discount takes the total to zero, so the next invoice is a $0-due invoice that still carries a full-price line.

$0-due invoices are where accounting syncs differ most. Before you choose a free month, check how your setup handles them. If you use Acodei, ask the team how your account treats $0-due invoices before the first offer goes out.

Limits Stripe puts on retention offers

Custom coupons show a name, not a price. You can use a Stripe custom coupon, one whose discount a script calculates, as a retention offer. Stripe's discount calculation guide says these offers "display the coupon's name and duration, not a predicted discounted price or savings amount." Name the coupon so the customer understands it, such as "20% off your next 3 months".

Not with prebilling. The same guide says you can't use custom coupons "as retention offers on subscriptions with active prebilling."

Billing mode changes the cancellation fields. If the customer declines and cancels at period end, the fields Stripe sets depend on the subscription's billing mode. Stripe's billing mode comparison says classic mode sets cancel_at_period_end to true. Flexible mode leaves it false and sets cancel_at instead. Any report or webhook handler that looks only at cancel_at_period_end misses flexible-mode cancellations.

A scheduled cancellation can still be undone. Stripe's portal settings note that "customers can still renew subscriptions until the billing period ends." A customer who declined the offer can come back before the period ends, and that subscription never stops invoicing.

What reaches QuickBooks

Accepting the offer posts nothing

The events Acodei's Invoice Sync documents acting on are invoice, payment and credit note events. It creates a QuickBooks Invoice when a Stripe invoice is finalized, records a payment when it is paid, and handles voids, uncollectible invoices and credit notes. Accepting a retention offer changes the subscription and fires none of those events.

So on the day of the save, QuickBooks shows nothing. The offer first appears when the next invoice is finalized, which on an annual plan can be months later. That gap is worth knowing at month end, when you are deciding whether the discount belongs in this period.

The discounted invoice

When that invoice is finalized, Invoice Sync creates a QuickBooks Invoice that reproduces its line items and tax lines as your mapping settings allow. Each line maps to a product through Multiple Product Mapping or, without it, to your default product. When the customer pays, the payment is applied to that invoice, which needs Automatic Application turned on in QuickBooks.

The question is whether the discount appears as its own line or is netted into revenue. Acodei has an admin setting, Coupon Tracking, that posts coupons and discounts as a separate line item. It needs a Discounts default product to be set up first. With it, the 420 USD annual renewal can show the full 600 USD sale and a 180 USD discount line, rather than 420 USD of revenue. Point the Discounts product at a contra-revenue account. If it posts to ordinary income, the discount still disappears into the revenue total.

Measuring what retention costs

Retention discounts are a real cost, and they recur. A coupon set to forever in the portal settings and then forgotten discounts every saved customer until they leave, with nobody at your company reviewing it.

QuickBooks shows the discount. It doesn't show why the customer got it. A retention coupon and a launch promotion look the same on a discount line, and Acodei's documentation doesn't describe splitting discount lines by coupon. Plan to measure retention cost per coupon in Stripe, where each discount records which coupon it came from. Give retention coupons names that make that report easy to read.

Deferred revenue on the annual renewal

The 420 USD renewal pays for twelve months of service. If you recognize annual subscriptions over their term, the discounted amount is what you spread across those months. Check the treatment of retention discounts with your accountant, especially if the discount was agreed in one period and invoiced in another. The deferred revenue glossary entry covers the general mechanics.

Churn data doesn't flow through

Cancellation reasons, and whether an offer was shown or accepted, live in Stripe. Stripe sends the reason through the customer.subscription.updated webhook and shows it on the subscription details page. None of it is an invoice event, so none of it reaches QuickBooks. A customer saved by an offer shows up in QuickBooks only as a lower invoice. A customer who left anyway shows up as an invoice that never arrives. Our guide to Stripe MRR versus QuickBooks revenue explains why the two numbers diverge, and retention offers widen the gap.

Retention offer, pause or cancel?

A discount is one way to keep a customer. Stripe's portal can also let customers pause a subscription. A pause holds the subscription instead of lowering its price, and it looks different in your books. Our guide to pausing a Stripe subscription covers that. For customers who still leave, the cancellation guide covers immediate and end-of-period cancellations and what each one invoices. The customer portal guide covers every other portal action that creates an accounting event.

A checklist before you turn on retention coupons

  1. Pick the duration on purpose. Work out what the coupon costs on your largest annual plan, not only your monthly one.
  2. Give annual customers their own offer if you open the portal from your app. Use flow_data[subscription_cancel][retention] with a coupon sized for one annual renewal.
  3. Avoid forever unless you mean it. Nothing ends it except the customer leaving.
  4. Name the coupon clearly. The name is what the customer reads and what your Stripe reports group by.
  5. Decide how discounts appear in QuickBooks. If you want a gross-versus-discount split, ask the Acodei team about Coupon Tracking and set up a Discounts product mapped to contra-revenue.
  6. Check $0-due invoices before you offer a free month.
  7. Test it in a sandbox. Stripe recommends opening the portal for a test customer, accepting the offer and checking "the resulting invoice to verify that the calculated discount matches."

Frequently asked questions

What is a retention coupon in Stripe?

It is a coupon the Stripe customer portal offers when a customer tries to cancel. Stripe calls this cancellation deflection. You choose the coupon under Settings > Customer portal > Cancellations > Retention Coupon. It is off by default. If the customer accepts, the subscription stays active and the coupon's discount applies from the next invoice.

Does accepting a retention offer change the current invoice?

No. Stripe says updating a subscription's discounts doesn't create prorations or an invoice on its own. The discount applies the next time the subscription creates an invoice, so the customer gets no refund for the period they already paid.

Why did a three-month retention coupon discount a whole year?

Stripe measures a repeating coupon in months from when it is applied, not in invoices. If an annual subscription renews inside that window, Stripe applies the discount to the entire annual invoice. A 30% coupon for three months, accepted three weeks before renewal, takes 30% off the full year.

Can I offer different retention coupons to different customers?

Yes, if you open the portal from your own app. When you create a portal session with flow_data type subscription_cancel, you can pass a retention object of type coupon_offer with the coupon ID to offer. The Dashboard setting uses one coupon for everyone.

How does a retention discount show up in QuickBooks?

Nothing appears when the customer accepts. The discount shows up on the next Stripe invoice. With Acodei's Invoice Sync, a discounted invoice that still has an amount due becomes, once finalized, a QuickBooks Invoice with its lines as your mapping settings allow. Acodei's Coupon Tracking admin setting can post the discount as a separate line, which needs a Discounts default product.

Do Stripe cancellation reasons reach QuickBooks?

No. Stripe stores cancellation reasons on the subscription and sends them in the customer.subscription.updated webhook. They are not invoice events, so they don't become QuickBooks records. Keep churn analysis in Stripe or your own reporting.

The short version

A Stripe retention offer is a coupon the customer portal shows to a customer who is about to cancel. Accepting it keeps the subscription active and discounts the next invoice. It creates no invoice and no refund of its own. The coupon's duration counts calendar months, so a short repeating offer can discount a full year on an annual plan. A free month creates a $0-due invoice. In QuickBooks, nothing appears until the next invoice is finalized. Coupon Tracking can split the discount onto its own line, but you measure retention cost per coupon in Stripe. Start a free trial to see how Acodei brings your Stripe invoices into QuickBooks.

Share

Automate your Stripe to QuickBooks sync

Save hours every month. Acodei automatically syncs your Stripe transactions, invoices, and payouts to QuickBooks Online.

14-day free trial · card required · cancel anytime

How Acodei handles this in your stack

Stripe QuickBooks Integration

See how Acodei syncs Stripe payments, fees, refunds, invoices, and payouts into QuickBooks Online automatically.

Or go straight to a capability

Get more operational finance guides like this one

We will only send high-value product and finance content.