{"id":"acct-invoice-number-gap-check","audience":"accounting","category":"finance-work","track":"finance","technique":"verification","level":"beginner","title":"Find unexplained gaps in a sales invoice number sequence","free":false,"task":"You're checking the completeness of the sales invoice sequence for October. Write a prompt for plain text with lines starting \"Sequence:\", \"Missing numbers:\", \"Documented:\" and \"Unexplained gaps:\". Documented means the void log explains the number. List the unexplained numbers and their count. Don't guess why a number is missing. Under 60 words. No bullets or numbering.","materialLabel":"Invoice list and void log (attached to your prompt automatically)","material":"SALES INVOICE SEQUENCE CHECK - October 2026, Harbor Lane Bakery\n\nThe invoice numbers issued in October should run from 5001 to 5012 with no gaps.\n\nInvoices on the October sales listing: 5001, 5002, 5003, 5005, 5006, 5008, 5010, 5011, 5012.\n\nVoid log (documented voids with approval): 5007 - voided Oct 22 (duplicate entry), approved by the bookkeeper.\n\nNotes: the clerk says 5004 'was probably a test invoice' and 5009 'might have been the catering order that got cancelled'. Neither is in the void log. Gaps without a void log entry are unexplained and are for the bookkeeper to investigate.","rules":[{"type":"plainText"},{"type":"maxWords","max":60},{"type":"maxBullets","max":0}],"promptHints":[{"label":"Names the four lines","patterns":["sequence:","missing numbers","documented:","unexplained gaps"]},{"label":"Uses the void log","patterns":["void log"]},{"label":"Asks for the count","patterns":["count"]},{"label":"Bans guessing","patterns":["(do not|don'?t).*(guess|clerk)"]},{"label":"Caps length","patterns":["\\d+\\s*words","plain"]}],"mistakes":[{"title":"Treating the clerk's guesses as explanations","why":"The AI marks 5004 as a test invoice and 5009 as cancelled.","fix":"Add: \"Do not guess why a number is missing; only the void log documents a gap.\"","checks":["r2"]},{"title":"Missing a number","why":"The AI misses 5007 or 5009 in the missing list.","fix":"Say: \"Missing numbers: every number from 5001 to 5012 not on the listing.\"","checks":["r0"]},{"title":"No count","why":"The AI lists the unexplained numbers without the count.","fix":"Add: \"Unexplained gaps: the numbers with the count.\"","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","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 sequence check lists missing numbers, what the void log documents and what is left. Give the labels and ban guessing.","rubricLabels":["The line starting \"Sequence:\" shows 5001 to 5012 and the line starting \"Missing numbers:\" lists 5004, 5007 and 5009","The line starting \"Documented:\" lists 5007 (voided Oct 22)","The line starting \"Unexplained gaps:\" lists 5004 and 5009 (2), and the output never repeats the clerk's guesses"]}