{"id":"acct-ap-performance-measures-lines","audience":"accounting","category":"finance-work","track":"finance","technique":"verification","level":"intermediate","title":"Compute AP on-time rate, average days to pay and discounts taken","free":false,"task":"You're reporting October AP performance to the controller. Write a prompt for plain text with lines starting \"On-time rate:\", \"Average days to pay:\", \"Discounts taken:\" and \"Note:\". Count invoices only, not the credit memo application. Show the math on the first three lines. The Note line names one thing to confirm with AP, as a question, with no blame. Under 90 words.","materialLabel":"Source material (attached to your prompt automatically)","material":"AP PAYMENT LOG - October 2026\n\nPayment records (9 rows):\n1. INV-901 | invoice to paid: 28 days | on time: yes\n2. INV-902 | 35 days | on time: no\n3. INV-903 | 30 days | on time: yes\n4. INV-904 | 42 days | on time: no\n5. INV-905 | 25 days | on time: yes\n6. INV-906 | 31 days | on time: yes\n7. INV-907 | 33 days | on time: yes\n8. INV-908 | 32 days | on time: yes\n9. CM-55 | credit memo applied to INV-904, not a payment\n\nOn time means paid on or before the due date.\n\nEarly-pay discounts: 4 invoices were eligible (2% if paid within 10 days). Discounts were taken on 2 of them. The two missed ones were INV-902 and INV-904.\n\nAll invoices are on Net 30 terms except INV-904, which was Net 45. The controller will compare these measures with last month's: on-time 80%, average days 29.","rules":[{"type":"plainText"},{"type":"maxWords","max":90}],"promptHints":[{"label":"Names the four lines","patterns":["on-time rate","average days","discounts taken","note"]},{"label":"Excludes the credit memo","patterns":["credit memo","invoices only"]},{"label":"Asks for the math","patterns":["show the math","sum","divide"]},{"label":"Frames the note as a question","patterns":["question","confirm","no blame"]},{"label":"Caps length","patterns":["\\d+\\s*words","under \\d+"]}],"mistakes":[{"title":"Counting the credit memo","why":"The AI divides by 9.","fix":"Say: \"Count invoices only, not the credit memo.\"","checks":["r0","r1"]},{"title":"Missing the sum","why":"The AI states 32 days with no working.","fix":"Add: \"Show the sum of days divided by 8.\"","checks":["r1"]},{"title":"Blaming AP","why":"The AI says the team missed discounts through carelessness.","fix":"Add: \"Note: one question to confirm, no blame.\"","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":"Rates depend on what you count. Say what to exclude and ask for the division to be shown.","rubricLabels":["On-time rate shows 6 / 8 = 75% (the credit memo row is not counted)","Average days to pay shows (28 + 35 + 30 + 42 + 25 + 31 + 33 + 32) / 8 = 256 / 8 = 32 days, and Discounts taken shows 2 of 4 = 50%","The Note line starts \"Note:\" and is one question to confirm with AP (for example why INV-902 and INV-904 missed the discount), without blaming anyone"]}