Reconcile GSTR-2B in TallyPrime with AI. Use plain prompts and the free TallyMCP server to find mismatches, ITC at risk and supplier follow-ups fast.
In one line: Keep TallyPrime as your book of record, connect Claude through the free, open-source TallyMCP server, and ask for your GSTR-2B reconciliation in plain English. You get matched, mismatched and missing invoices, the ITC that is at risk, and a follow-up list for suppliers, without scrolling through reports one party at a time.
Every month the same ritual repeats. You download GSTR-2B, open the reconciliation report, drill into party after party, and try to figure out whether that ₹4,18,000 gap is a typo, a late filer, or a real problem.
TallyPrime already gives you a solid reconciliation engine. This guide shows how to add an AI layer on top of it, so the sorting, explaining and chasing happens through prompts, while you stay in control of what gets posted.
GSTR-2B is an auto-generated statement built from the returns your suppliers file (GSTR-1, GSTR-5, GSTR-6). Once generated for a month, it does not change. Invoices uploaded by suppliers after the cut-off show up in a later month's statement.
Why it matters: under the CGST Rules, ITC is generally allowed only for invoices that appear in your GSTR-2B (Rule 36(4)). If an invoice is in your books but not in 2B, the credit may be at risk for that month.
The job of reconciliation is to compare two views of the same purchases:
| View | Source | Question it answers |
|---|---|---|
| Books | Your purchase vouchers in TallyPrime | What did we record? |
| Portal | GSTR-2B from the GST portal | What can we claim? |
Tally's help documentation describes the flow. In short:
It is thorough, and it is the source of truth for your books. The effort is in the drilling down: party by party, status by status.
Source for the Tally steps above: TallyHelp, "Reconcile GSTR-2B Data in TallyPrime". Menu paths can vary by release, so follow the help page for your version.
Here is how the two approaches compare.
| TallyPrime screens | Claude + TallyMCP | |
|---|---|---|
| Starting point | Open report, set filters | Type one prompt |
| Finding the problem invoices | Drill down bucket by bucket | Ranked list across all buckets |
| Understanding why | You interpret each difference | Plain-language cause for each item |
| Chasing suppliers | Copy details manually | Draft messages per supplier |
| Month-end summary | Export and format | Ask for a one-page ITC summary |
| Fixing entries | Directly in Tally | Claude tells you the exact step; new vouchers can be staged as drafts for your approval |
Best practice: use both. Let AI do the first pass and the explaining. Use Tally's own reconciliation report as the check on the final numbers.
| Item | Details |
|---|---|
| TallyPrime | Company open, XML server on port 9000 |
| TallyMCP | Free installer from tallymcp.pro |
| Claude Desktop | With the tallymcp.pro connector enabled |
| GSTR-2B file | Excel or JSON downloaded from the GST portal, for the month you are reconciling |
| Purchases booked | Purchase vouchers for the month entered in Tally |
New to the connection? Follow our setup guide first: Connect Claude AI to TallyPrime. It takes two commands, tally-mcp setup and tally-mcp doctor.
💡 Two ways to give Claude the portal data. Option A (works everywhere): attach the GSTR-2B Excel/JSON file to your Claude chat. Claude reads the file and pulls your purchase vouchers from Tally through TallyMCP. Option B: import GSTR-2B into TallyPrime as usual, then ask Claude to read the reconciliation status from Tally. Check the Tools Registry to confirm which reconciliation reports your installed version exposes.
💡 For your first run, use a test company or backup copy. It is free and removes all worry.
Start by confirming Claude can see the right company and period.
Check the TallyPrime connection and tell me the active company, the financial year, and the number of purchase vouchers booked between 1 September 2026 and 30 September 2026.
If the count looks right, you are ready.
Attach your GSTR-2B file, then paste:
Reconcile the attached GSTR-2B for September 2026 against my purchase vouchers in TallyPrime for the same period. Match on supplier GSTIN + invoice number first. For the rest, try normalised invoice numbers (ignore spaces, zeros, punctuation, case), then same GSTIN + amount within ₹1 + date within 30 days. Give me: 1. A summary table: Matched, Value mismatch, Only in books, Only on portal, Possible matches (with reason) - count and tax amount for each. 2. Top 15 items needing action, ranked by tax amount. 3. Total ITC (IGST, CGST, SGST, cess) booked in Tally vs available in GSTR-2B. Do not change anything in Tally.
You should get a structured summary instead of a wall of rows.
Map what Claude returns to the buckets you know from TallyPrime:
| Claude says | Same as in TallyPrime | Typical meaning |
|---|---|---|
| Matched | Reconciled | Nothing to do |
| Value mismatch | Mismatched | Taxable value or tax amount differs, often rounding or a keying error |
| Only in books | Available Only in Books | Supplier has not filed or reported it yet, or the invoice was booked in the wrong month |
| Only on portal | Available Only on Portal | Supplier reported an invoice you have not booked, or it is not yours |
| Possible match: section | Potential match (excluding section) | Book entry is B2B but the portal shows a credit note, or similar |
| Possible match: GSTIN | Potential match (excluding party GSTIN) | Typo such as letter O instead of zero |
| Possible match: doc number | Potential match (excluding doc no.) | For example MC/233 vs MC/2333 |
| Different return period | Mismatch in Return Period | Invoice dated in one month, reported by the supplier in another |
| IMS rejected / pending | Invoices Rejected in IMS | Action taken on the portal's Invoice Management System affects your ITC |
Only in books (ITC at risk)
List all invoices that are in my Tally purchase vouchers but missing from GSTR-2B. Group by supplier, show invoice no., date, taxable value, and ITC amount. Tell me the total ITC at risk and which suppliers account for 80% of it.
Only on portal (unbooked invoices)
Show invoices that appear in GSTR-2B but not in my Tally books. For each, say whether the supplier ledger already exists in Tally. Flag any that look like they were issued to my GSTIN by mistake (unfamiliar supplier, one-off, unusual amount).
Value mismatches
For invoices where the supplier and invoice number match but amounts differ, show the difference in taxable value, IGST, CGST and SGST. Separate differences under ₹5 (likely rounding) from larger ones.
Potential matches
Find invoices that look like the same transaction but differ in GSTIN, invoice number or section. For each pair, explain the likely difference and what I should change in Tally.
Return-period differences
Show invoices booked in September in Tally but reported by the supplier in a different month in GSTR-2B (and vice versa).
Here is where you keep full control. Claude identifies the problem and tells you what to do. You apply it.
| Situation | What to do | Where in TallyPrime (per Tally's help) |
|---|---|---|
| Rounding-only difference | Mark as reconciled | Alt+S (Set GST Status) |
| Return period differs | Align the effective date | Alt+L (Set Effective Date) |
| Invoice only on portal, you want details | View portal details | Alt+R (GST Portal View) |
| Portal invoice is not yours | Exclude it | Alt+S, set status to Excluded |
| Doc number differs | Copy portal doc no. and date | Alt+W (Copy Doc No. & Date) |
| GSTIN typo | Correct the party master | Ctrl+Enter on the party name |
| Wrong section (B2B vs credit note) | Pass the right voucher | Alt+F10 (Other Vouchers) |
For invoices that are only on the portal and genuinely yours, you can ask Claude to stage the missing purchase voucher:
Draft a purchase voucher for the GSTR-2B invoice from [Supplier] dated [date], invoice no. [number], taxable value [amount], with the correct CGST/SGST or IGST split. Show me the ledger breakdown.
TallyMCP stages the draft locally and gives you a review link. You inspect the debit and credit lines, confirm the entry balances, and only then post. In the default Approve mode, nothing reaches TallyPrime without your click.
⚠️ Why the split of roles? TallyMCP is built around reading your data and staging new entries with human approval. Changes to existing entries, like a corrected GSTIN or document number, are done by you inside Tally, using the shortcut Claude points you to. That keeps your audit trail clean.
Once differences are cleared or understood, ask for the money view.
Based on this reconciliation, prepare a month-end ITC summary: - ITC available as per GSTR-2B - ITC booked in Tally - ITC matched and safe to claim - ITC at risk (missing from 2B), by supplier - ITC on invoices only on portal that I still need to book - Any invoices older than 180 days where the supplier is still unpaid Keep it to one page.
This is a working note for you and your CA. The actual claim goes in your GSTR-3B after your own review.
For each supplier whose invoices are missing from GSTR-2B, draft a short, polite email asking them to file or amend their GSTR-1. Include invoice numbers, dates and amounts. Do not send anything.
Claude drafts the text. You review and send from your own email.
Here is the shape of a summary you can expect. These figures are made up to show the format.
| Status | Invoices | Taxable value | Total tax (₹) |
|---|---|---|---|
| Matched | 142 | 38,45,000 | 6,92,100 |
| Value mismatch | 6 | 2,10,400 | 37,872 |
| Possible match (GSTIN / doc no. / section) | 9 | 3,02,000 | 54,360 |
| Only in books | 11 | 4,60,000 | 82,800 |
| Only on portal | 5 | 1,35,000 | 24,300 |
Reading it: 11 invoices worth ₹82,800 of ITC are in your books but not in GSTR-2B. Hold that credit and chase the suppliers. Nine "possible matches" are probably typos you can clear in minutes.
| Cause | What Claude flags | Typical fix |
|---|---|---|
| Supplier filed GSTR-1 late | Invoice in books, absent from 2B | Follow up; credit may arrive in a later month |
| Typo in GSTIN | Same amount and invoice no., different GSTIN | Correct party master |
| Invoice number formatting | INV/0045 vs INV-45 | Copy portal doc no. in Tally |
| Wrong period booked | Same invoice, different month | Set effective date |
| Credit/debit note booked as invoice | Section mismatch | Pass the correct voucher type |
| Rounding | Differences under a few rupees | Mark as reconciled |
| Duplicate booking | Two vouchers, one invoice on portal | Review and correct in Tally |
| Invoice not meant for you | Unknown supplier, only on portal | Exclude, optionally tell the supplier |
| IMS action pending or rejected | Invoice flagged in IMS | Resolve on the portal and recompute |
Verify. AI is excellent at sorting and comparing large lists, but treat its output as a first pass. Always tie the totals to TallyPrime's own GSTR-2B Reconciliation report before relying on them, and spot-check a few items by hand.
Be explicit. Tell Claude the period, the matching rules and the output format you want. The master prompt above is a good template.
Work in chunks for large files. If you have thousands of invoices, reconcile by month or by supplier group.
Mind the data flow. TallyMCP itself talks to Tally only on your machine. The AI you choose receives the data returned in your chat, plus any file you attach, so review your AI provider's data terms. If data must stay in-house, use a local model through Ollama or LM Studio.
Keep Approve mode on. Review each draft before posting. Consider limits only after you trust your setup.
Stay compliant. This workflow supports your reconciliation. It does not file returns, and it does not replace professional advice. ITC rules change, so confirm treatment with your CA.
| Problem | What to try |
|---|---|
| Claude cannot see Tally | Run tally-mcp doctor; confirm port 9000 and an open company |
| Connector missing in Claude | Quit Claude fully (taskkill /IM Claude.exe /F) and reopen |
| Purchase count looks too low | Check the period and that vouchers are booked as purchases with supplier GSTIN |
| Many "only on portal" items | Confirm you attached the right month and the right GSTIN's file |
| File is too large | Split by month, or ask Claude to start with the top 20 suppliers by value |
| Totals differ from Tally | Re-run with the same period; check IMS actions and recompute GSTR-2B in Tally |
Yes, as an assistant. Claude, connected through TallyMCP, reads your purchase data from Tally and compares it with your GSTR-2B file, then reports matches, mismatches and missing invoices. TallyPrime's own report remains the check on final numbers.
Yes. Use AI for speed and explanation, and Tally's report as the book-of-record view and final tie-out.
No. TallyMCP reads data and stages new drafts for your approval. You make changes to existing entries yourself in TallyPrime.
TallyMCP does not send data to its own servers. Data you share in a chat, including attached files and results from Tally, goes to the AI provider you use. For fully offline work, use a local model.
Either works. Use whichever you downloaded from the portal; if a file is very large, split it by month.
No. It prepares your reconciliation and an ITC working summary. Filing remains with you or your CA.
Yes. It is open source and dual-licensed under MIT or Apache-2.0.
No. TallyMCP is an independent community project.
tally-mcp setup and tally-mcp doctorExplore the live demo, the Tools Registry, the documentation, or the GitHub repository.
Disclaimer: Tally and TallyPrime are registered trademarks of Tally Solutions Pvt. Ltd. Claude is a product of Anthropic. TallyMCP is an independent open-source project and is not affiliated with, endorsed by, or sponsored by either company. Menu paths and features follow Tally's published help and can vary by TallyPrime release. This article is general information and not tax or legal advice; confirm ITC treatment with a qualified professional.