{"id":"acct-credit-hold-release-check-decision","audience":"accounting","category":"finance-work","track":"finance","technique":"verification","level":"advanced","title":"Check a credit-held order without trusting an unverified wire","free":false,"task":"You're helping the credit manager decide about a held order. Write a prompt for plain text with lines starting \"Balance now:\", \"If the wire arrives:\", \"Order test:\", \"Wire status:\" and \"Recommendation:\". The release rule needs the balance, including the new order, at or under the credit limit and nothing past due over 30 days. Apply payments to the oldest invoices first. The credit manager decides; do not release the order. Show the math. Under 120 words.","materialLabel":"Source material (attached to your prompt automatically)","material":"CREDIT HOLD REVIEW - Zenith Labs\n\nCredit limit: $50,000\nOpen balance: $58,000, made up of:\n- INV-6120, $18,000, 45 days past due\n- INV-6188, $24,000, 12 days past due\n- INV-6215, $16,000, current\n\nHeld order: $12,000 (SO-3340)\n\nRelease rule: release if (balance after cash received + the new order) is at or under the credit limit, and no invoice is more than 30 days past due. Apply cash to the oldest invoice first.\n\nWire: Zenith's AP contact emailed a screenshot saying a wire of $20,000 was sent Nov 5. The bank account shows no incoming wire as of 3:00 p.m. Nov 6. The screenshot has no bank reference number.\n\nCredit manager: Samira Khan. The sales rep is pressing for same-day release because the customer has a Nov 9 deadline.","rules":[{"type":"plainText"},{"type":"maxWords","max":120}],"promptHints":[{"label":"Names the five lines","patterns":["balance now","if the wire arrives","order test","wire status","recommendation"]},{"label":"States the release rule","patterns":["credit limit","30 days","oldest"]},{"label":"Doubts the unverified wire","patterns":["bank","not verified","unverified"]},{"label":"Leaves the decision to a person","patterns":["credit manager","decides"]},{"label":"Caps length","patterns":["\\d+\\s*words","under \\d+"]}],"mistakes":[{"title":"Trusting the screenshot","why":"The AI treats the wire as received.","fix":"Say: \"Cash counts only when it appears in the bank.\"","checks":["r2"]},{"title":"Skipping the past-due test","why":"The AI checks only the credit limit.","fix":"Add: \"Also test that nothing is more than 30 days past due.\"","checks":["r0","r1"]},{"title":"Releasing the order","why":"The AI recommends release because the sales rep is pressing.","fix":"Add: \"The credit manager decides; do not release.\"","checks":["r2"]},{"title":"Wrong math order","why":"The AI adds the order before applying the wire.","fix":"Add: \"Balance after cash first, then add the new order.\"","checks":["r1"]},{"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":"Treat unverified cash as not received. Test today's state and the if-it-arrives state separately.","rubricLabels":["The five lines start Balance now:, If the wire arrives:, Order test:, Wire status: and Recommendation: in that order; Balance now shows $58,000 and says the order fails the rule today (balance is over the $50,000 limit and INV-6120 is 45 days past due)","If the wire arrives shows $58,000 - $20,000 = $38,000 with INV-6120 paid, and Order test shows $38,000 + $12,000 = $50,000, which is at the limit, with nothing over 30 days past due","Wire status says the wire is not verified (not in the bank, no reference number) and Recommendation says do not release now, with the credit manager deciding once the wire is confirmed"]}