Recipe Costing + Menu Engineering Skill
Recipe costing with yield, food cost % per plate, menu engineering classes (Stars, Plowhorses, Puzzles, Dogs) and target prices from your sales mix. $29 once.
View Recipe Costing + Menu Engineering Skill
Turn a deals export and a plan file into payouts per rep: tiers, accelerators past quota, split deals, caps and clawbacks inside the window. Duplicate deals, splits that don't add to 100% and unknown reps are flagged before anyone gets paid.

| Situation | Code | Level |
|---|---|---|
| Same deal ID exported twice (repeat ignored) | duplicate_deal_id | error |
| Won deal with no owner | deal_without_rep | error |
| Split doesn't add to 100% (deal held) | split_not_100 | error |
| No close date | missing_close_date | error |
| Rep not in the plan (default plan used) | unknown_rep | warning |
| Negative deal amount | negative_amount | warning |
| Refund/cancel inside the clawback window | clawback | info |
| Cancel after the window (no clawback) | clawback_window_passed | info |
| Attainment over 100% (accelerators) | accelerator_reached | info |
| Cap reduced the payout | cap_applied | info |
| Closed outside the period | deal_outside_period | info |
examples/northwind-oct-2026/ is a fictional SaaS team's October: 16 deals for 3 reps on a 10% / 15% / 20% plan (quota 50k, Maya 60k), with a 60/40 split, a multi-year SPIFF, a renewal, a deal exported twice, a refund 49 days after close (clawback) and one 109 days after (none), a deal with no owner, a rep missing from the plan, a November deal and a 90% split. expected.json labels the payouts (Alex 7,700, Maya 5,350, Sam 9,750 after a 1,200 clawback, Jordan 700); the tests assert those, the marginal tier math, caps, quarters and row order.
Outputs in out/: payouts.csv, statements/<rep>.md, deal_lines.csv, findings.csv, report.md, summary.json. Exit 0 = ready for payroll review; 1 = errors to fix first; 2 = an input problem. --show-plan prints the plan in use.

./run_tests.sh
python3 -m commission --deals examples/northwind-oct-2026/deals_export.csv --plan examples/northwind-oct-2026/plan.json --period 2026-10 --out out/Python 3.9+ (tested on 3.10 and 3.13), no dependencies.
Zip, 16 KB, v1.0, 14 files. Use and modify it for yourself and for clients you serve; no resale or redistribution of the kit itself. Full terms in LICENSE.txt.
Calculate sales commissions from a CRM deals export: tiered rates, accelerators, split deals, caps and clawbacks, with a statement per rep. $29 once.
Recipe costing with yield, food cost % per plate, menu engineering classes (Stars, Plowhorses, Puzzles, Dogs) and target prices from your sales mix. $29 once.
View Recipe Costing + Menu Engineering SkillAudit carrier freight invoices against shipments and your fuel schedule: duplicates, math errors, wrong fuel surcharge, unapproved accessorials. $29 once.
View Freight Invoice Audit SkillAccounts payable audit on your own exports: three-way match, duplicate payments, vendor master, expense and freight invoice audits, QBO JE import check. 5 kits, $69 ($118 separately).
View Accounts Payable Audit Skills Bundle