{"id":"acct-sales-return-credit-memo-math","audience":"accounting","category":"finance-work","track":"finance","technique":"verification","level":"intermediate","title":"Compute a return credit memo with a restocking fee","free":false,"task":"You're preparing a credit memo for a partial return. Write a prompt for plain text with lines starting \"Return value:\", \"Restocking fee:\", \"Credit memo:\" and \"Net due on the invoice:\", each with the math. Apply the restocking fee as the policy says, and do not waive it. Don't mention the customer's defect claim. Under 70 words. No bullets or numbering.","materialLabel":"Order, return and policy (attached to your prompt automatically)","material":"RETURN AUTHORIZATION RA-118 - Harbor Lane Bakery\n\nOriginal invoice INV-4410: 40 units of Pallet Wrap at $25.00 = $1,000.00, unpaid.\nReturned: 12 units, received at our warehouse Nov 3.\n\nReturns policy: returned goods are credited at the invoice price less a restocking fee of 10% of the returned value. The fee is waived only if our quality team confirms the goods were defective.\n\nStatus: the customer says the 12 units were defective. The quality team has not inspected them yet; inspection is scheduled for Nov 10. Until then the fee applies.\n\nNote: the credit memo is issued against the invoice, and the net amount due is the invoice amount minus the credit memo.","rules":[{"type":"plainText"},{"type":"maxWords","max":70},{"type":"maxBullets","max":0}],"promptHints":[{"label":"Names the four lines","patterns":["return value","restocking fee","credit memo","net due"]},{"label":"Gives the fee","patterns":["10%"]},{"label":"Gives the net due formula","patterns":["invoice minus","1,000"]},{"label":"Bans the defect claim","patterns":["(do not|don'?t).*(defect|waiver)"]},{"label":"Caps length","patterns":["\\d+\\s*words","plain"]}],"mistakes":[{"title":"Waiving the fee","why":"The AI waives the fee because the customer says the goods are defective.","fix":"Add: \"The fee applies until inspection; do not mention waivers or the defect claim.\"","checks":["r2"]},{"title":"Net due from the return value","why":"The AI subtracts $300 and gets $700.","fix":"Say: \"Net due = $1,000.00 minus the credit memo.\"","checks":["r2"]},{"title":"Missing math","why":"The AI states amounts with no arithmetic.","fix":"Add: \"Each line shows the arithmetic.\"","checks":["r0"]},{"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","maxBullets","r1"]},{"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 line short.","checks":["maxWords"]}],"hint":"A restocking fee and an unverified claim. State the fee rule, the net due formula and the ban.","rubricLabels":["The line starting \"Return value:\" shows 12 x $25.00 = $300.00 and the line starting \"Restocking fee:\" shows 10% x $300.00 = $30.00","The line starting \"Credit memo:\" shows $300.00 - $30.00 = $270.00","The line starting \"Net due on the invoice:\" shows $1,000.00 - $270.00 = $730.00, and the output never mentions the defect claim or waiving the fee"]}