Discount types
Every type shares targeting, dates and limits: which products and customers qualify (by metadata), a date window matched against each billing period, a currency and a maximum discount. All but Tiered discount also filter by subscription metadata, and all but Tiered discount and Usage allowance take a minimum net amount. The examples below were computed with the extension code itself.
Simple discount
Section titled “Simple discount”A percentage or an amount off every qualifying invoice.
USD invoices only; other currencies get nothing.
¥2,000 off, never below ¥5,000
Currency
USD and CAD invoices only
In CAD: CA$27 off · max CA$135
| Preset | What it does | Example |
|---|---|---|
| Flat percent | 10% off every qualifying invoice | 10 seats at $10.00: $10.00 off |
| Annual plans only | 10% off yearly prices; monthly ones at full price | $100.00 monthly + $1,000.00 yearly on one invoice: $100.00 off |
| Amount off with a floor | $20.00 off each invoice, never netting the discounted items below $50.00, in USD (¥2,000 and ¥5,000 in JPY; 2,000 and 5,000 of the smallest unit in any currency) | a $60.00 invoice: $10.00 off (the floor binds); $100.00: $20.00 off. In JPY: ¥2,000 off, never below ¥5,000; a ¥6,000 invoice gets ¥1,000 off |
| B2B invoice discount | 10% off one-off invoices, one-time items included | a $1,000.00 one-off invoice item: $100.00 off (without the preset's switch, nothing) |
An amount off can carry its own amounts for other currencies, shown as tabs in the builder; an invoice in a currency without amounts gets nothing. A percentage reads the same in every currency.
Tiered discount
Section titled “Tiered discount”Volume or graduated tiers by units or spend, as a percentage, an amount or a fixed unit price.
A percentage reads the same in every currency.
| Preset | What it does | Example |
|---|---|---|
| Seat volume 5 / 10 / 25 | Volume by units: 10%, 15% and 20% off from the 5th, 10th and 25th seat | 12 seats at $10.00: 15% of $120.00 = $18.00 off |
| Graduated seats 11 / 51 | Units 11–50 at 10% off, 51 and up at 20% off; the first 10 at full price | 60 seats at $10.00: 40 × $1.00 + 10 × $2.00 = $60.00 off |
| Spend goal | 5% off every invoice whose spend per period reaches $1,000.00 in USD (¥100,000 in JPY; 100,000 of the smallest unit in any currency) | $1,200.00 of spend: $60.00 off; $900.00: nothing. In JPY the tier starts at ¥100,000 |
| Seat price ladder | A fixed unit price: $9.00 a seat from 10 seats, $8.00 from 50, in USD (¥900 and ¥800 in JPY; 900 and 800 of the smallest unit in any currency) | 20 seats listed at $12.00: $60.00 off (they bill at $9.00); 60 seats: $240.00 off. In JPY ¥900 and ¥800 a seat |
Tiers count what is on one invoice: units or spend across invoices don’t add up.
Segment pricing
Section titled “Segment pricing”One discount priced by who the customer is or how the price bills. Segments map customer or subscription metadata values, or billing intervals, to rewards.
customer tagged segment=partner
A percentage reads the same in every currency.
| Preset | What it does | Example |
|---|---|---|
| Partner pricing | Customers tagged segment=partner get 20% off, reseller 25%, everyone else nothing | a $100.00 invoice: partner $20.00 off, reseller $25.00, untagged nothing |
| Nonprofit and education | Customers tagged org_type=nonprofit or edu get 30% off | an edu customer's $100.00 invoice: $30.00 off |
| Rate by billing interval | Yearly prices 15% off, monthly ones at full price | a $1,200.00 yearly price: $180.00 off; a monthly one: nothing |
Segments read metadata your onboarding or a Stripe Workflow sets; a customer without it gets the default reward.
Bundle discount
Section titled “Bundle discount”Rewards several distinct products on the same invoice.
A percentage reads the same in every currency.
| Preset | What it does | Example |
|---|---|---|
| Suite ladder | Any 2 qualifying products 10% off, 3 or more 15% off | $50 + $30: $8.00 off; $50 + $30 + $20: $15.00 off |
| Add-ons with base plan | Products tagged bundle=addon 50% off when a product tagged plan=base is on the invoice | $100 base plan + $40 add-on: $20.00 off; the add-on alone: nothing |
| Second product free | With 2 or more qualifying products, the cheapest one is free | $50 + $30: $30.00 off |
| Bundle credit | With 2 or more qualifying products, $20.00 off each billing period in USD (¥2,000 in JPY; 2,000 of the smallest unit in any currency) | $50 + $30: $20.00 off. In JPY ¥2,000 |
Everything must be on the same invoice: products on another subscription don’t form a bundle.
Usage allowance
Section titled “Usage allowance”Free units on metered prices every billing period, with relief on the overage, without changing the price or granting credits.
| Preset | What it does | Example |
|---|---|---|
| Launch allowance | The first 10,000 units on each metered line free every billing period | $100.00 off |
| Free units + overage relief | 5,000 units free per period, then 20% off every unit above them | $50.00 + $20.00 = $70.00 off |
| Overage relief only | 25% off every unit on each metered line, no free units | $37.50 off |
| Prorated allowance | 10,000 free units per period, scaled to the part of the period a line covers | a line covering 16 of 31 days gets 5,161.29 free units: $51.61 off |
Free units don’t carry over, and licensed seats and one-time items never count.
Lifecycle discount
Section titled “Lifecycle discount”A discount that follows the subscription’s own periods, counted from a YYYY-MM-DD date in subscription or customer metadata.
period 4 of 6
A percentage reads the same in every currency.
| Preset | What it does | Example |
|---|---|---|
| Intro offer | 50% off periods 1–3, 25% off periods 4–6, full price from period 7, counted from the subscription’s start_date | $50.00 off in periods 1 to 3, $25.00 in 4 to 6, nothing from 7 |
| First period free | The first billing period free, full price from period 2, counted from the subscription’s start_date | period 1: $100.00 off |
| Loyalty reward | 5% off from month 13 and 10% off from month 25, counted from the customer’s customer_since | months 13 to 24: $5.00 off; from month 25: $10.00 |
| Free periods 2 and 3 | Periods 2 and 3 free, full price again from period 4, counted from the subscription’s start_date | periods 2 and 3: $100.00 off each |
| Second year free | The second year free on yearly prices, full price again from year 3, counted from the subscription’s start_date | year 2: $1,200.00 off |
Stripe doesn’t tell discount scripts when a subscription started, so set the start date in metadata from your backend or a Stripe Workflow. Checkout subscriptions carry it only when your integration sets subscription_data[metadata].
Custom discount
Section titled “Custom discount”A percentage or an amount off when conditions you choose hold: the invoice reason, its subtotal or units, customer, subscription or product metadata, the billing interval or the currency. All conditions, or any one.
Conditions
Section titled “Conditions”Each condition is a subject, a test and a value, such as invoice.reason = renewal. The builder shows each one as a row, and once there are two it spells the whole list out in a “Reads as” line.
- Subjects: the invoice’s reason (first, renewal, change, standalone, preview or other), its subtotal (with a currency set), its units and its distinct products over the qualifying lines, its currency, a price’s billing interval, and customer, subscription or product metadata.
- Tests:
=,!=,in,not in,>,>=,<,<=,exists,missing,beforeandafter; each subject takes the tests that fit it. - All or any: the discount applies when all conditions hold, or when any one does. A group nests one level deep, as in
invoice.reason = renewal; any(customer.segment = partner; invoice.quantity >= 50). - Up to 8 conditions, groups included. Conditions the extension can’t read give no discount.
invoice.reason = renewal
customer.segment in partner, resellerReads as Invoice reason is renewal and Customer segment is any of partner, reseller
For more than one reward, write the discount as rules: up to 10, each when <conditions> then <reward> [on <filter>] [max …]. A rule can count units or distinct products, set a fixed unit price, or make units free for every so many bought, and the rules combine as Add them up, The best one or The first that applies. In rules mode each rule carries its own reward; the targeting, dates and limits still apply.
Presets
Section titled “Presets”| Preset | What it does | Sets |
|---|---|---|
| First invoice only | 20% off the first invoice of a subscription; renewals at full price | invoice.reason = first, 20% off |
| Partner renewals | 15% off renewals for customers with segment = partner | reason renewal and customer segment partner, 15% |
| Big first order | $50.00 off a first invoice of $500.00 or more, in USD (¥5,000 over ¥50,000 in JPY) | reason first and subtotal at least $500, $50 off |
| Partners or big teams | 10% off for partner customers, or any invoice with 50 units or more | match any: customer segment partner, units >= 50 |
| Renewals: partners or big teams | 15% off renewals, for partner customers or invoices with 50 units or more | reason renewal and any(segment partner; units >= 50), 15% |
| Never on plan changes | 10% off every invoice except the prorated ones a plan change bills | invoice.reason != change, 10% off |
| Rules: buy 2, get 1 free | For every 2 units of products with sku x, 1 unit of products with sku y is free | free on product.sku = y max 1 unit per 2 units(product.sku = x) |
| Rules: groups to a fixed price | With 3 different products from groups a and b, every group c unit costs $9.00 (¥900 in JPY) | when products(product.group in a, b) >= 3 then unit price 900 on product.group = c |
| Rules: add-ons plus an amount off | 10% off add-ons, plus $20.00 off invoices of $500.00 or more (¥2,000 over ¥50,000 in JPY) | 10% off on product.tier = addon and when invoice.subtotal >= 50000 then 2000 off |
| Rules: the better of two deals | Partners get 20% off pro lines, invoices of 50 units or more 10% off everything: whichever gives more | combine best, partner 20% off pro lines, 50 units 10% off |
The discount can’t see other coupons on the invoice.