{"id":"acct-commission-clawback-window-lines","audience":"accounting","category":"finance-work","track":"finance","technique":"constraints","level":"intermediate","title":"Calculate a commission clawback after a partial customer refund","free":false,"task":"You're calculating a commission clawback for payroll. Write a prompt for plain text with lines starting \"Days since payment:\", \"Within 90 days:\", \"Clawback base:\", \"Clawback:\" and \"Commission kept:\". The plan claws back the commission rate on refunded dollars when the refund happens within 90 days of the customer's payment. Show the math. Do not use the rep's view of what should happen. Under 80 words.","materialLabel":"Source material (attached to your prompt automatically)","material":"COMMISSION CLAWBACK REVIEW\n\nInvoice INV-9120, $20,000 to Lakeview Dental. Customer paid in full on Aug 15, 2026.\nCommission paid to rep Omar on Sep 5, 2026: 5% of $20,000 = $1,000.\nRefund issued to the customer on Nov 3, 2026: $8,000, for equipment returned under a warranty claim.\n\nPlan text (compensation plan section 7): the commission rate is clawed back on refunded dollars when a refund occurs within 90 days of the customer's payment date. Refunds after 90 days do not trigger a clawback.\n\nCalendar help: August has 31 days, September 30, October 31.\n\nNote from Omar: \"The customer was happy for months and the return was not my fault, so my full $1,000 should stand.\" Sales operations has asked payroll for the numbers before the Nov 13 payroll cutoff. The clawback would be taken from the Nov 30 paycheck if confirmed by the sales VP.","rules":[{"type":"plainText"},{"type":"maxWords","max":80}],"promptHints":[{"label":"Names the five lines","patterns":["days since payment","within 90 days","clawback base","clawback","commission kept"]},{"label":"States the plan rule","patterns":["90 days","refunded dollars"]},{"label":"Asks for the math","patterns":["show the math","x 5%"]},{"label":"Ignores the rep's view","patterns":["ignore","rep's view","not use"]},{"label":"Caps length","patterns":["\\d+\\s*words","under \\d+"]}],"mistakes":[{"title":"Clawing back the whole commission","why":"The AI takes back $1,000 because the invoice was partly refunded.","fix":"Say: \"Claw back the rate on refunded dollars only.\"","checks":["r2"]},{"title":"Miscounting days","why":"The AI mis-adds across months.","fix":"Add: \"Show days from Aug 15 to Nov 3.\"","checks":["r0","r1"]},{"title":"Following the rep","why":"The AI keeps the full commission.","fix":"Add: \"Apply the plan; ignore the rep's view.\"","checks":["r2"]},{"title":"Markdown extras","why":"The AI adds bold labels, headings and a closing note.","fix":"Say: \"Plain text, no bold. Output only the lines asked for.\"","checks":["plainText"]},{"title":"Trusting the AI to count words","why":"AI is bad at counting and runs past word limits.","fix":"Ask for fewer words than the real cap and keep each part short.","checks":["maxWords"]}],"hint":"Apply the plan as written: the window, the base and the rate. Show the days and the dollars.","rubricLabels":["The five lines start Days since payment:, Within 90 days:, Clawback base:, Clawback: and Commission kept: in that order, and Days since payment shows 80 days (Aug 15 to Nov 3)","Within 90 days says yes (80 is under 90) and Clawback base shows the refunded $8,000","Clawback shows $8,000 x 5% = $400 and Commission kept shows $1,000 - $400 = $600, and Omar's view that the full $1,000 should stand is not used"]}