What the agent did
Archit built three Claude Code sub-agents for a Gurgaon CA firm: one extracts GST invoice fields from PDFs, one validates tax maths and vendor data, and one prepares posts into Tally. A small Python loop runs the chain on a shared Drive inbox.
Result, as claimed
A Gurgaon CA firm was getting 2,000+ vendor invoices a day into a shared Drive folder, with three junior accountants spending about six hours each keying them into Tally, about ₹1.8L a month in salary cost for data entry. Archit built three Claude Code sub-agents (pdf-extractor, tally-validator, tally-writer) plus a Python loop. In week one he reports about 2,047 invoices a day average throughput, 94.3% auto-posted without a human touch, 5.7% kicked to an exception queue, about ₹840 a day in compute cost, the ₹1.8L a month of manual effort replaced, and about a 2-week payback. A later prompt tweak cut the exception rate to 3.1%.
This is the result as claimed in the public source linked below. It has not been checked and is not a typical outcome.
Proof
Try it yourself
Split invoice intake into extract, validate and post steps so each coding-agent pass stays small and checkable.
Prompt
I need a three-step invoice pipeline. Step 1 extract: from this invoice text [paste], return JSON with vendor, tax id, invoice number, date, line items and totals. Step 2 validate: check the maths and flag anything that fails my rules [paste GST or tax rules]. Step 3 prepare a post payload for my accounting tool [name the tool], but do not post it. Return pass or fail with reasons. Do not invent missing fields. Mark gaps as [missing].
Tools
- Claude Code Named for the sub-agent setup that extracts, validates and prepares Tally posts
- Tally Named as the accounting system the writer agent posts into
Steps
- Start with ten real invoices and write your validation rules down first.
- Run extract alone until the JSON is reliable.
- Add validate, and only then wire a write step behind a human approval gate.
- Log every fail reason so you can fix the prompt instead of guessing.
Watch out: Auto-posting into live books is risky. Keep the writer behind approval until the fail rate is low on your own samples.
Starter version by Solopreneur Code
Skill: Money and bookkeeping
Add this skill
Invoice extract, validate and prepare
Pulls vendor invoice fields into JSON, checks tax maths against your rules, and prepares a post payload without posting it.
- Works with
- Claude, ChatGPT, Gemini Prepares the payload. You approve before anything reaches your books.
- Tools in the story
- Claude Code, Claude, Tally
- Country
- India
How to use this: Copy the skill, paste it into Claude, ChatGPT or Gemini, and ask it to save it as a skill. If it cannot, it will still follow the steps.
Show skill
If the Copy button does not work, select this text and copy it.