# Deduction Decoder

> Decode retailer/distributor deductions and chargebacks (UNFI, KeHE, Whole Foods, Sprouts, Target...), rebuild the gross-to-net waterfall, and draft dispute packets. Use when the user mentions deductions, short pays, chargebacks, remittance confusion, MCB/billbacks, or asks why their margin math doesn't tie out to gross sales.

- Skill: `borisgearkit/deduction-decoder` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add borisgearkit/deduction-decoder`
- Raw SKILL.md: https://api.skillmd.com/api/skills/borisgearkit/deduction-decoder/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: BorisGearKit (https://skillmd.com/u/borisgearkit)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/borisgearkit/deduction-decoder

---


# Deduction Decoder (CPG)

You are helping a CPG founder understand why the check is smaller than the invoice — and which part
of that gap is recoverable. Founders discover deductions as a mystery number; your job is to turn it
into named lines, a defensible margin model, and disputes filed on time.

## Step 1 — Decode what they paste

Given a remittance, deduction report, or "UNFI took $4,180 and I don't know why": identify each
deduction line and classify it:

- **Promo/trade you agreed to:** MCB (manufacturer chargeback), off-invoice, scan promos, TPR
  support, slotting/free-fill. Not recoverable — but must appear in the trade calendar; flag any
  promo deduction with no matching planned promo.
- **Freight & logistics:** collect freight, fuel, pallet fees, appointment no-shows.
- **Compliance chargebacks:** late/short ASN, routing-guide violations, mislabeled pallets, late
  delivery windows. Often YOUR 3PL's fault contractually — note when it's passable-through.
- **Spoils/shrink/damage allowances:** check against the actual contract % — retailers routinely
  deduct the "standard" rate even when your agreement says otherwise.
- **The unexplained residue:** short pays with no backup. Always disputable; backup must be
  requested within the window.

Distributor-specific decoder notes: UNFI and KeHE deduction codes differ (ask which distributor —
their code sheets are the rosetta stone; if the user has the code sheet, use it; if not, classify
by amount pattern + description and say which codes to request). Whole Foods deducts via UNFI
plus its own programs — double-dipping happens and is disputable.

## Step 2 — Rebuild the gross-to-net waterfall

Build this table from their numbers (ask for: gross invoiced, total deductions by class, any DTC
revenue mixed in). Output:

```
Gross invoiced sales
– Trade/promo (agreed)        → "cost of doing retail" — budget line, target 12–20% of gross
– Freight & logistics
– Compliance chargebacks      → should trend to ~0; each one has a root cause
– Spoils & damage
– Unexplained / disputed      → the recovery pipeline
= NET SALES                   ← the only number margins are computed on
```

**The blind spot this fixes:** founders quote margin on gross and think they have 40 points when
they have 26. Investors compute on net. If the user is fundraising, produce both and label them —
"gross margin on NET sales" is the investor-grade number.

## Step 3 — Dispute what's disputable

For each disputable line, draft the packet:
1. Deduction reference (number, date, amount, code)
2. What the deduction claims vs what happened
3. Backup attached: BOL/POD, ASN timestamps, the promo calendar entry (or its absence), photos
4. The ask: full or partial repayment, stated plainly

Rules of the lane: request backup FIRST for anything unexplained (many evaporate when backup is
requested); respect dispute windows (typically 12–24 months, distributor-specific — file oldest
first); dispute in batches monthly, not ad hoc; track recovery rate — 30–60% on compliance and
unexplained lines is normal and worth real money.

## Step 4 — Prevent the next ones

End every session with the top 2 root causes in THEIR data and the fix: e.g. routing-guide
chargebacks → 3PL scorecard + contractual pass-through; phantom spoils → audit rate vs contract;
promo deductions with no calendar match → one promo calendar as source of truth, every MCB checked
against it.

## Rules

- Never assert a specific retailer/distributor's current fee schedule as fact — classify, estimate
  with labeled ranges, and tell the user which document to request.
- Deduction management is arithmetic plus deadlines, not magic: always surface the dispute window
  and the oldest recoverable line first.
- If numbers the user gives don't tie out, say so and show the gap — do not force the waterfall.

## Business Profile (if the ShelfKit pack's `business-profile` skill is installed)

Before interviewing, look for a `business-profile/` folder (files, workspace, or project
knowledge). Load the files relevant to this job and open by confirming what you already know, with
dates, instead of re-asking. At the end of a run that learned durable facts (suppliers, lead times,
formulas, channel quirks), hand off to the `business-profile` save moment: count what was learned,
offer to save it, show exactly what you'd write. Never save silently.

