When should you use it?
- Invoices arrive by email in many formats
- Bank matching is repetitive
- You have clear accounting rules written down
Not for: Tax interpretation or unusual transactions; Final approval of postings
What do you need, and what do you get?
You need
- Access to the accounting system's API
- Vendor invoice PDFs
- Bank statement data and matching rules
You get
- Posted vendor bills
- Proposed reconciliation matches
- An exceptions list for review
How does it work, step by step?
- Sync the reference dataRefresh account codes, currency settings and tax rates whenever a run begins.
- Read the document itselfClassify from the PDF content, not just filename or subject line.
- Post bills through the APILet the agent write scripts against the accounting API to create bills.
- Match with explicit rulesCombine exact amount, date window, vendor name and statement source.
- Route exceptions to peopleAnything unusual or missing support goes to a reviewer.
The prompt
Our own prompt, inspired by Chintan Prajapati and written to work in Custom agent. Values in lime are placeholders.
For each invoice PDF in [folder], read the full document and extract vendor, date, number, currency, lines, tax and total. Check the vendor, account and tax code against the latest lists from [accounting system]. Create a draft bill only if every field is confident; otherwise add it to exceptions.csv with the reason. For bank lines, propose matches using exact amount, a date window of [N] days and vendor name. Do not approve or post final entries.
Inspired by Chintan Prajapati: How I Automated SaaS Accounting Using Hermes Agent. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Similarity scores alone gave unreliable matches.
- Stale account or tax-code lists cause wrong postings.
Our take
Measured and specific, which is what finance automation needs. Chintan Prajapati's two lessons, read the actual document and use explicit matching rules, apply to any accounting agent. Run against a sandbox company or a closed period first and compare to what your team posted by hand. Keep an audit trail of every bill the agent created, with the source file attached. Never let it approve payment, only draft bills. Flag missing supporting documents instead of guessing. Multi-currency needs explicit rate sources and date rules. Reconcile vendor balances weekly while the automation is new. Limit API scopes to bill creation and read of reference data. Have an accountant review category mappings before go-live. Suspend the job if duplicate bill numbers appear. Compare posted totals to supplier statements at month end and investigate every difference before closing the books for that period. Keep a human approver for any bill over a set money threshold, and lower that threshold while the system is new.
Where the time goes back: Data entry and first-pass matching are handled, so the accountant's time goes to exceptions.
FAQ
Did it use a ready-made connector?
What stays manual?
Source and credit
Inspired by Chintan Prajapati. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- How I Automated SaaS Accounting Using Hermes Agent
- Creator
- Chintan Prajapati
- Published on
- satvasolutions.com
- Original date
- Jun 2, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Custom agent
- AI dry run
- Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends or purchases.
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.