/tally-import · Agent on Laabha
The AI Accountant.
One job: take a bank statement and post the right vouchers into your TallyPrime. 15 banks. PDF, Excel, scanned image, password-protected — all in. Idempotent push. Full audit trail in every voucher narration.
Bank statement in. Posted vouchers out.
You drop a bank statement into the chat. PDF from your bank's portal, Excel from Razorpay, scanned passbook page, encrypted PDF with a password — doesn't matter. The AI Accountant detects the bank, parses the transactions, looks up your mapping rules, decides what each transaction is, and generates the Tally XML for review.
You review the import preview — every transaction, every ledger assignment, every confidence score. If something's wrong, edit it inline. Save. The AI Accountant remembers your edit, so the next statement from the same client doesn't repeat the mistake.
You hit "Import into Tally." The XML gets pushed through your local Tally bridge. Every voucher carries an audit ID embedded in its narration field — so a year from now, when a partner asks "why did this land in Bank Charges?", you can answer.
Six stages. Each one shows its work.
The AI Accountant doesn't just call an LLM and pray. It runs six deterministic stages, each one auditable.
- Bank detection. Reads the first two pages, matches against the 15-bank registry by keyword. ~95% accuracy. If unknown, falls through to a generic parser.
- Parsing. Tier 1: bank-specific parser using pdfplumber (digital PDFs). Tier 2: generic parser. Tier 3: Gemini Vision OCR (scanned). The parser that succeeds is recorded.
- Ledger fetch. Pulls your active ledger list from TallyPrime via the bridge. Used to validate mappings + suggest matches when narrations are ambiguous.
- Mapping. Four layers, in order: your narration rules → your historical mappings → UPI-under-₹1000 heuristic (configurable per company type) → Claude AI batch mapping. Each transaction tagged with the source layer that mapped it.
- XML generation. Builds the Tally XML envelope. Validates against known Tally crash patterns before sending.
- Push (idempotent). Posts to your Tally bridge. Each voucher carries an idempotency key in its narration. If you retry, duplicates are skipped, not re-pushed.
If any stage fails, you see exactly which one and why. No mystery.
Two-call contract: preview first, push when you say so.
The AI Accountant never writes to your Tally without your explicit confirmation. The first call generates the import preview. You review it. The second call — only triggered by you — pushes to Tally.
Between the two calls, the import session lives in our cache for one hour. You can edit mappings, re-run the AI on specific rows, or abandon the whole thing. Your Tally sees nothing until you say so.
If your Tally is down when you try to push, you get a clear message: "TallyPrime is offline. Re-open Tally and click Import again." The session is preserved. No work lost.
15 Indian banks. Auto-detected.
No dropdown to remember. Drop the file, the bank gets detected. If you have a bank we don't support, we usually add it in 3–5 days — bank parsers are pluggable.
Digital PDFs (text-extractable)
- HDFC Bank
- ICICI Bank
- State Bank of India
- Axis Bank
- Kotak Mahindra Bank
- IDFC First Bank
- IDBI Bank
- Canara Bank
- City Union Bank
- DBS Bank India
Scanned / passbook (OCR)
- Bank of Baroda
- Central Bank of India
- Punjab National Bank
- South Indian Bank
- SBI Passbook / PPF
Excel from Razorpay, Cashfree, and similar payment-aggregator exports also works through the generic Excel parser.
Need a bank we don't list? Email rajkumar.nr@gmail.com — most additions ship within a week.
Your rules win. Always.
The biggest mistake we see in "AI accounting" tools is that the AI overrides everything. Laabha runs the AI last, not first.
- Layer 1 — Narration rules. If you have a rule that says "narrations containing 'AMAZON' map to 'Sundry Creditors - Amazon Sellers'," that rule fires first. AI doesn't even see those rows.
- Layer 2 — Historical patterns. For transactions Layer 1 didn't catch, we check your previous mappings for the same client. If "PRIME ENERGY DRINKS PVT LTD" mapped to "Sales - Beverages" 47 times in your last 6 months, we don't ask the AI.
- Layer 3 — UPI heuristic (configurable). For UPI transactions under ₹1,000, you can choose to auto-map to "Drawings" (default ON for trading firms, OFF for service firms). Per-company setting.
- Layer 4 — AI batch mapping. Whatever's left goes to Claude Sonnet in batches, with the client's chart of accounts as context. Each AI mapping comes back with a confidence score and a reason.
If a transaction can't be confidently mapped by any layer, it lands in "Suspense." You see a Suspense flag on every such row. Nothing silently lands in the wrong place.
Every voucher carries its own audit ID.
When the AI Accountant pushes a voucher into Tally, it embeds a short audit ID in the narration field — e.g. |AID:a3f9b21c. That ID points to an audit row in our database recording:
- Which transaction this voucher came from (date, amount, original narration)
- Which layer mapped it (narration rule / historical / UPI heuristic / AI)
- If AI mapped it: the confidence score and the model's reasoning
- Who reviewed it (if anyone edited the mapping before push)
- When it was pushed
So when a partner reviews the books in March and asks "why is this ₹47,000 in 'Office Maintenance' — that doesn't look right" — your senior pulls up the AID, sees the AI mapped it with 62% confidence three months ago, no one reviewed, and now you know exactly how the error happened. That's the difference between "AI for accounting" and "AI you can actually audit."
Priced like a utility, not a SaaS.
You pay per agent run — no subscription, no per-seat fee. The underlying AI cost is small enough that a normal month of bank-statement imports for a mid-size firm runs in the same order of magnitude as one billable junior-article hour.
Cost is transparent: each run's exact debit appears in the chat after it completes. Unusually expensive runs (a 70-page scanned PDF, for example) prompt for confirmation before running.
For a written quote sized to your firm, talk to us.
Bring a real bank statement. We'll import it live.
15-minute call. If the AI Accountant doesn't get a usable preview from your first statement, we'll never bother you again.