When should you use it?
- You process supplier invoices from a shared inbox
- Duplicates or wrong tax lines slip through
- You already use an AP capture tool
Not for: Filing returns or approving payments without review; Businesses without transaction history to compare against
What do you need, and what do you get?
You need
- A shared invoice inbox
- Extracted invoice data from an AP tool
- Past transactions by supplier
You get
- Invoices marked clean or flagged with a reason
- A weekly summary of anomalies
- Coded recurring expenses
How does it work, step by step?
- Capture from the inboxLet your AP tool pull supplier, number, date, amount and tax from each invoice.
- Compare with historyCheck the supplier's past invoices for the same number, the same amount near the same date, or a sudden change.
- Check the taxFlag invoices missing GST, VAT or the expected tax rate for that supplier.
- Approve the clean onesReview flagged items first; approve the rest in a batch.
- Send a weekly summaryList anomalies, missing payments and unusual changes once a week.
The prompt
Our own prompt, inspired by u/DowntownInspection on r/ukaccounting and written to work in ChatGPT, Claude and Claude Code. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
Check this supplier invoice: {invoice}. This supplier's last 12 months of invoices: {history}. Rules: flag if the invoice number repeats; if the same amount appears within {days} days; if the amount differs from the usual by more than {percent}%; if tax is missing or at an unexpected rate (expected {tax_rule}). Return CLEAN or FLAGGED with each rule that fired and the matching past invoice. Don't approve or pay anything.
Inspired by u/DowntownInspection on r/ukaccounting: Best AI for accounting: my experience using AI agents. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- The author wouldn't let AI submit BAS, file returns or approve payments unchecked; neither should you.
- Rules that are too loose bury you in flags; tune thresholds per supplier.
Our take
The practical advice at the end of this post is the best part: pick a single repetitive job, show it saves time, and only then add more. Checking supplier invoices against history is an ideal first task because the rules are concrete and the downside of a miss, paying twice or claiming the wrong tax, is real money. The agent doesn't approve anything; it sorts invoices into clean and suspicious so the accountant spends attention where it counts. Write the checks as explicit rules: same invoice number, same amount within a set number of days, a jump beyond a percentage, missing tax for a supplier who normally charges it. Keep a log of why each flag was raised so false alarms can be tuned. The author's tool choice reflects his needs; the same checks can run in any system that can read your ledger. His boundary on lodging returns and approving payments is the right one, and worth writing into your process documents.
Where the time goes back: Invoice checks happen automatically, and review time goes only to the exceptions.
FAQ
Why not just n8n or Zapier?
How long did setup take?
Source and credit
Inspired by u/DowntownInspection on r/ukaccounting. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- Best AI for accounting: my experience using AI agents
- Creator
- u/DowntownInspection on r/ukaccounting
- Published on
- Original date
- Apr 21, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- ChatGPT
- AI dry run
- Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS (desk check, not a live run in the vendor's app). Replaces an earlier templated dry-run note.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.