Skip to main content

Stacked discounts: the orders where three codes stack to 50% off

Seamline Editorial · Finance content team · Updated

A half-price order is not one discount. It is three numbers on three documents that nobody lines up: the order-level discount total, the discount allocated to SKU lines, and the platform subsidy on the settlement. When they disagree, the gap is either a code that never reached the lines or a subsidy booked in the wrong month. Finance should reconcile the three calibers, not police the orders.

The discount is three numbers, not one

The order that looks worst on a margin report is often the one that reconciles cleanly. Three codes stacked on a single order can produce a 50% discount, and every document can still be internally correct. The problem is not the customer. It is that nobody compared the three numbers that describe that discount.

The order header carries one discount total. The SKU lines carry an allocation of that total, split by each line’s share of the pre-discount product amount. The settlement statement carries a platform subsidy, which is the part the platform funds and pays back to the merchant. They come from different documents, are written at different times, and answer different questions.

Call them caliber one, two and three. Caliber one is what the customer saw at checkout, caliber two is what the cost model uses to compute margin per SKU, and caliber three is what the platform later credits to the payout. When a finance team sees a suspicious discount and reaches for the order, it is looking at caliber one and ignoring the other two.

That instinct sends people to the wrong place. In practice a mismatch is far more often a code that sat on the header and was never pushed down to the lines, or a subsidy earned in one month and settled in the next. Both are reconciliation problems, and a document resolves each one.

The existing hidden-costs-checklist names stacked discounts as one line among many, which is the right level for a checklist. This article takes that one line apart: three calibers, four worked orders, and a difference you can add up by hand. The goal is a repeatable tie, not a list of suspicious customers.

A large difference is a measurement gap, not a suspect. Teams that open an abuse investigation first lose a week on a customer who did nothing while the real cause sits in a document nobody pulled. Reconcile the documents before forming a view of the order (Educational content only, not accounting or tax advice).

A 50%-off order is rarely a leak by itself. The leak is the unexplained difference between three numbers that no report joins, a difference that stays invisible as long as each document is checked on its own.

What the three calibers actually are

Name the calibers before you compare them. Caliber one, the order discount total, is the sum of discounts recorded on the order header in the order management system. It is the reduction applied to gross merchandise value on the way to net sales. It is a single number on a single document.

Caliber two, the SKU-line allocation, is the same discount split across the lines, usually by each line’s share of the pre-discount product total. It exists so a margin can be computed per SKU. If the allocation is incomplete, caliber two will be smaller than caliber one, and every SKU margin built on it will be too high. That gap is where a stacked second code usually hides.

Caliber three, the platform subsidy, is different in kind. It is the portion of a promotion the platform funds and credits back to the merchant on the settlement or payout report. It is not money the customer paid, and it is not a customer discount. It is a credit that arrives on its own schedule, which is why it so often lands in a different period from the order.

The three calibers also live on three different documents: the order header, the line-item detail, and the settlement report. A reconciliation that reads only one of them will always conclude that the numbers are fine. The whole point of the check is to put the three documents side by side for the same order and ask where a difference came from.

Three cases break the tie, and each gap has a different source. Cross-month: the discount sits on the order date while the subsidy lands on a later payout, so the gap is a timing difference with a receivable behind it, not a missing code. Cross-currency: the order is priced in one currency and settled in another, so the exchange_rate applied on the payout moves caliber three while caliber one stays fixed: a translation difference, not an allocation error. Confusing the two sends a team to fix a header that was never wrong.

A partial refund is the third case and the most misread. The order keeps its full discount, but the refunded line has to be backed out of the allocation, so caliber two shrinks while caliber one does not move; that gap is a re-allocation, not a stacked code. Do not confuse it with a charge that has no order id. A stacked discount always has an order number to reconcile against; a platform fee, an app charge or an unlinked adjustment has none, and sits on a suspense line until a settlement reference ties it down. The same word describes both, but the treatments are not the same.

  • Caliber one answers: what did the customer see at checkout?
  • Caliber two answers: how was that discount carried into each SKU margin?
  • Caliber three answers: what did the platform credit back, and when?

An unexplained difference is not a cheating order. It is a code that never reached the lines, a subsidy booked in another month, a currency translation, or a credit with no order id. Name the caliber it belongs to before you name a suspect; the four worked orders above are all ordinary documents, not fraud.

Four worked orders and a difference you can add up

The table below is Sample data: illustrative amounts, not real amounts and not a quote, chosen so every difference can be checked by hand. Four orders cover the four cases that actually show up: one code, two codes stacked, a subsidy that posts next month, and a credit with no order number at all.

Read the Difference column as an open reconciliation item, not as a loss. A zero means the three calibers agree. A non-zero number is either an allocation gap, a timing gap, or an unmatched credit, and the Judgment column says which document clears it.

Add the four differences and you get a number a controller can own: 0.00 + 15.00 + 30.00 + 12.00 = 57.00. That is the month’s open reconciliation work, not money that has disappeared. It clears when the second code is allocated, the subsidy posts, or the credit is matched to an order.

Sample data: illustrative amounts, not real amounts and not a quote. Add the four orders a second way, by caliber, to check the first total. Order-level discounts across A to D come to 20.00 + 35.00 + 30.00 + 0.00 = 85.00. Line allocations come to 20.00 + 20.00 + 30.00 + 0.00 = 70.00. So the header-to-line gap is 85.00 − 70.00 = 15.00, which is order B alone. Add the 30.00 subsidy not yet posted and the 12.00 credit still unmatched, and 15.00 + 30.00 + 12.00 = 57.00 again. Two routes, one open balance, hand-checkable. Educational content only, not accounting or tax advice.

Sample data: illustrative amounts, not real amounts and not a quote; three-caliber discount check on four orders
Example orderCaliberData sourceAmount (① / ② / ③)DifferenceJudgment
A: one code① order discount vs ② line allocationOrder header / SKU lines / settlement① $20.00 ② $20.00 ③ $0.00$0.00Three calibers agree; merchant-funded discount, no subsidy.
B: two codes stacked① order discount vs ② line allocationOrder header / SKU lines / settlement① $35.00 ② $20.00 ③ $0.00+$15.00Second code never reached the lines; a split problem, not a cheating order.
C: subsidy next month③ settlement subsidy vs ① order discountOrder header / SKU lines / payout report① $30.00 ② $30.00 ③ $0.00+$30.00Subsidy not posted yet; accrue $30.00 this month, reverse when it lands.
D: no order id③ settlement credit vs order masterSettlement / payout report only① $0.00 ② $0.00 ③ $12.00+$12.00Credit with no order; hold in suspense, do not force into any order.
TotalOpen reconciliation itemsn/an/a+$57.000 + 15 + 30 + 12 = 57.00, hand-checkable.
Sample data: illustrative amounts, not real amounts and not a quote. ① order-level discount total, ② sum of SKU-line discount allocations, ③ platform subsidy on the settlement. Differences: A 20.00 − 20.00 = 0.00; B 35.00 − 20.00 = 15.00; C 30.00 expected − 0.00 posted = 30.00; D 12.00 credit − 0.00 matched = 12.00. Total 0 + 15 + 30 + 12 = 57.00, hand-checkable. Cross-check by caliber: ① 20.00 + 35.00 + 30.00 + 0.00 = 85.00; ② 20.00 + 20.00 + 30.00 + 0.00 = 70.00; ① − ② = 85.00 − 70.00 = 15.00 ties to order B, then 15.00 + 30.00 + 12.00 = 57.00.

If the order discount, the line allocation and the settlement credit are all called “discount” in your reports, nobody can tell which caliber a number belongs to. Name them before you reconcile them.

A discount is a reduction, not an expense

A customer discount is a reduction between gross merchandise value and net sales, not an expense booked below gross profit. It reduces the sales figure itself, and putting it in the expense bucket makes both net sales and the margin built on top of it wrong at the same time. This is the angle the gross-versus-net-revenue article takes; here we only need the placement: a discount is a contra-revenue item, not a cost line.

A platform subsidy is not revenue either. It is the platform reimbursing a discount it funded, so booking it as sales counts money the customer never paid. Record caliber three as revenue and both net sales and pre-tax contribution profit inflate together, which is exactly how a stacked discount turns into a flattering month.

Stripe’s balance transaction object makes the shape plain. A charge carries amount as gross, fee as the deduction, fee_details for the parts, and net equal to amount minus fee, with exchange_rate, reporting_category and a status of available or pending (checked 2026-11-21). The net figure on a payout is a settlement amount, not a revenue amount; reading it as sales is how a subsidy becomes phantom revenue.

Keep the three calibers in their own lanes. Caliber one reduces net sales, caliber two allocates that same reduction across SKUs rather than adding a second cost, and caliber three is a receivable or a credit against the promotion rather than a sale. When a report mixes them, the tie breaks and the margin is uninterpretable.

Ask what the credit is payment for. Revenue arises when a seller transfers goods to a customer in exchange for consideration; a platform subsidy has no customer behind it and no goods transferred against it, so there is no performance obligation to satisfy. It is the platform settling its own promotion with the merchant, which makes it a receivable from the platform or a reduction of the promotion cost, never a sale. Book it as revenue and you have invented both a customer and a delivery that never existed.

Booking a platform subsidy as revenue makes a promotion look profitable twice: once as a discounted sale that never happened at full price, and once as a credit that was never a customer payment.

Accrue the cross-month subsidy, then reverse it

A platform-funded discount is usually earned in the order month and paid in a later settlement. Accrue the expected reimbursement as a receivable in the order month, then reverse it against the payout when the cash arrives.

Skip the accrual and the order month carries a full discount with no offset, while the payout month carries cash with no matching order. Margin dips, then rebounds, and neither month is wrong in isolation. Only the cut-off is wrong.

Order status is not payment status. Shopify lists Paid, Authorized and Pending as payment states, separate from the order’s fulfillment state (checked 2026-11-21), so an order can be placed and still be absent from that month’s settlement. “Ordered” is not “settled”. This is the ordinary reason calibers two and three fall into different periods, and it is a timing fact rather than an error.

The credit with no order id is the hard case. A settlement adjustment that cannot be attached to an order should never be spread across orders to make a total tie. Hold it on a suspense line, match it by settlement reference, and clear it only when the document arrives.

A small residual difference also matters here. A total that nearly closes is not the same as three calibers that agree. Reconcile the open items one by one rather than forcing the last few units into a plug.

Write the entries and the cut-off becomes mechanical. Sample data: illustrative amounts, not real amounts and not a quote. Order month, when a 30.00 platform-funded discount is earned: debit subsidy receivable 30.00, credit the promotion or contra-revenue accrual 30.00. No sales line is touched. Payout month, when 30.00 lands: debit the settlement or cash 30.00, credit subsidy receivable 30.00, then release the accrual against the discount it offset. Check: 30.00 in, 30.00 out, receivable ends at 0.00.

Keep that reversal separate from a fee with no order id. A stacked discount carries an order number, so its three calibers can be pulled and reconciled to one order; the fix is a re-allocation. A platform fee, an app charge, a freight overcharge or an unlinked adjustment has no order number, so it belongs on a suspense or expense line cleared by settlement reference, never spread across orders to force a tie. Different document, different control.

  • Pull the three calibers by order id, not as three store-wide totals.
  • Accrue expected subsidies in the order month; reverse against the payout when it posts.
  • Hold no-order-id credits in suspense until a document can match them.
  • Age every open difference; a residual that never clears is an unexamined item, not a rounding tail.

Turn the three-caliber check into a monthly control

A tie done once is an audit. Done every month it is a control, and controls catch a broken stacking rule in the period it breaks rather than at quarter end. The control has four steps, and each one is a comparison between two documents rather than a judgment about a customer.

In our dataset observation, the Shopify slice of one cross-border group held 2,573,554 orders against 4,443,121 source rows, and an appendix-A reproduction closed 45,835,086 against 45,834,910 CNY with a 175 CNY difference, or 0.0004%. Source rows outnumber orders because one order generates several documents, which is exactly why three calibers exist. This is a single group over a bounded window, not an industry benchmark, not extrapolated.

Seamline’s published detection rules join order headers, line allocations and settlement lines back to the same transaction, so an unexplained difference can be checked against the documents behind it. The role is detection and reconciliation: showing which order is unmatched, which allocation is short, and which subsidy is still pending, without promising that any amount will be recovered.

This article is part of the Profit Leakage Playbooks series. The hub is Where an operational leak lands in the ledger: a cost map from order to profit. See also A refund is not one cost: splitting return cost by reason code and SKU and A three-way match for carrier invoices: rate card, shipment, bill.

If you can quote an order discount but cannot quote the line allocation and the settlement credit for the same order, you have one caliber, not three. There is nothing to reconcile yet.

FAQ

What is a stacked discount?

Two or more codes applied to one order when the terms allowed only one, or a code that sat on the order header and was never split to the SKU lines. Finance sees it as a difference between the order discount total and the line allocation, not as a customer to flag.

Why is a platform subsidy not revenue?

The customer never paid it. It is the platform reimbursing a promotion it funded, so it is a receivable or a credit against the discount, not a sale. Booking it as revenue inflates net sales and pre-tax contribution profit together.

How should a subsidy that posts next month be handled?

Accrue the expected amount as a receivable in the order month and reverse it against the payout when it arrives. That keeps the two months comparable in cut-off.

Is a settlement credit with no order id a discount error?

Not necessarily. It is an unmatched item that belongs in suspense until a settlement reference can tie it to an order. Spreading it across orders to force a total to tie hides the one item that most needs a document.

Tie the three discount calibers back to one order

The demo shows Seamline’s published detection rules joining order headers, line allocations and settlement lines to the same transaction, so an unexplained difference can be checked against the documents behind it.

Open the demo