GST Reconciliation in Excel: Match GSTR-2B With Your Purchase Register

⏱ 2 min readUpdated 28 September 2026

Input tax credit (ITC) can only be claimed for invoices your suppliers have reported. Every month, the purchase register in your books must be matched with GSTR-2B from the GST portal. Here is a reliable Excel method.

In this article
  1. 1. Get the two lists
  2. 2. Clean the matching fields
  3. 3. Build a match key
  4. 4. Match both ways
  5. 5. Compare amounts for matched invoices
  6. 6. Read the result
  7. 7. Vendor follow-up list

1. Get the two lists

  • GSTR-2B: download the Excel file from the GST portal (Returns → GSTR-2B → Download). Use the B2B sheet.
  • Books: export the purchase register from Tally/Busy with supplier GSTIN, invoice number, date, taxable value and tax amounts.

Put them on sheets named 2B and Books, each formatted as a Table (Ctrl+T).

2. Clean the matching fields

Invoice numbers are written differently by suppliers and accountants: “INV/21-22/045”, “inv-21-22-45”, “045”. Build a cleaned version in both tables:

“`excel
=UPPER(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TRIM([@[Invoice No]]),”/”,””),”-“,””),” “,””),”\”,””))
“`

Also =UPPER(TRIM([@GSTIN])) for GSTINs.

3. Build a match key

“`excel
=[@[GSTIN Clean]] & “|” & [@[Invoice Clean]]
“`

4. Match both ways

In Books:

“`excel
=IF(COUNTIF(Tbl2B[Key], [@Key]), “In 2B”, “Missing in 2B”)
“`

In 2B:

“`excel
=IF(COUNTIF(TblBooks[Key], [@Key]), “In books”, “Not in books”)
“`

5. Compare amounts for matched invoices

“`excel
=IFERROR([@[Total Tax]] – INDEX(Tbl2B[Total Tax], MATCH([@Key], Tbl2B[Key], 0)), “”)
“`

Flag differences above ₹1 (rounding) with conditional formatting.

6. Read the result

Status Meaning Action
Matched, same tax All good Claim ITC
Missing in 2B Supplier has not filed / filed wrongly Follow up with vendor; defer ITC as per rules
Not in books Invoice not booked, or booked under wrong GSTIN Check with purchase team
Tax difference Rate or value mismatch Compare invoice copy; ask for credit/debit note

7. Vendor follow-up list

“`excel
=FILTER(TblBooks[[Supplier]:[Total Tax]], TblBooks[Status]=”Missing in 2B”, “All matched”)
“`

(Excel 365). In older Excel, filter the Status column and copy. A pivot by supplier shows who owes you the most ITC.

💡 If cleaning still misses matches, add a second, looser key: GSTIN + invoice date + taxable value rounded to the rupee.
⚠️ GST rules on ITC timing and reversals change; confirm treatment with your CA. This workbook only finds the differences.
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong