How to Import GSTR-2A / 2B Purchases into TallyPrime

Typing every supplier bill from GSTR-2A or 2B into Tally takes hours, and one wrong GSTIN or tax rate spoils your GST reports. With QuikAccount you download 2A / 2B straight from the GST portal into Excel, map your GST ledgers once and post every bill to TallyPrime as a purchase voucher. New suppliers are created for you, with the address taken from their GSTIN.

Flow: GST portal, Download Reports, E-Com sheet, Ledger Mapping, Validate, TallyPrime purchase vouchers

In short: Connect Tally → GST Returns ▾ > Import GSTIN Data on the E-Com sheet → Download Reports (OTP) → Import Reports → Ledger Mapping → Calculate & Validate → Export to Tally.

Download Free TrialBook a Free Demo on WhatsApp

Need help? Call or WhatsApp +91 93584 44502. Free installation and demo support.

Watch the demo: GSTR-2A to Tally Import (Hindi)

Before you start

  • Windows PC with Microsoft Excel 2016 or above and QuikAccount installed (download the free trial).
  • TallyPrime or Tally.ERP 9 running on the same computer, with the company open.
  • API access switched on at the GST portal: Login > My Profile > Manage API Access > Yes, and choose a duration. Without it the download stops with “Please login at GST portal and enable API access first.”
  • GST API credits in your QuikAccount account. The 2A/2B credit balance is shown in the download form.
  • Access to the mobile number or e-mail registered on the GST portal – the OTP is sent there.
  • Your purchase ledgers (for example Purchase 5%, 12%, 18%, 28% – local and interstate) and Input CGST / SGST / IGST ledgers already created in Tally. You select them in Step 4.

Step 1 – Connect Tally and open GST Returns

  1. Open your company in TallyPrime.
  2. In QuikAccount, open the E-Com sheet and click Connect Tally. The Tally Company box on the ribbon shows the company name, GSTIN and books start date – check it is the right company.
  3. Click GST Returns ▾ and choose Import GSTIN Data (GST portal). The 2A/2B Direct Import form opens.
E-Com sheet: GST Returns menu

Step 2 – Select the client, report and period

  1. First time for a client: click Add New Client and enter the client name, GSTIN and GST portal user name.
  2. Select the Client Name. GST No. and User Name are filled in; use Edit to change them.
  3. Select the Required Report: 2A or 2B for purchases (4A and R1 are also available).
  4. Select Period From and Period To (month and year). Both must be in the same financial year, from July 2017 onwards.
2A/2B Direct Import from GST Portal form

Step 3 – Download and import the reports

  1. Click Download Reports and enter the OTP when asked. It is asked once per run, even for many months.
  2. A summary shows each month as Downloaded, No data or Failed. A month without data does not stop the other months.
  3. Click Import Reports. Every supplier invoice is filled in the E-Com sheet as a Purchase row: voucher number and date, supplier name, GSTIN, state, taxable value, GST rate and tax amounts.
  4. Look through the rows. Delete any bill that is already entered in Tally, so nothing is booked twice.

Step 4 – Map the purchase and GST ledgers

  1. Click Ledger Mapping. In the mapping window keep the transaction type as Purchase.
  2. For each GST rate select the Local Purchase and Interstate Purchase ledger. All ledgers of your Tally company are in the drop-downs.
  3. Select the CGST, SGST and IGST ledgers – one common ledger for all rates, or a separate ledger for each rate.
  4. Click Set Default and then Save. The mapping is kept, so next month you only check it.

Step 5 – Validate and create the missing suppliers

  1. Click Calculate & Validate. Cells with errors turn red and are listed on the Error sheet.
  2. Suppliers that are not yet in Tally are copied to the LedgerCreation sheet under Sundry Creditors, with address, state, PIN, country and registration type taken from their GSTIN.
  3. On the LedgerCreation sheet click Validate and then Export to Tally. The supplier ledgers are created in Tally.
  4. Go back to the E-Com sheet and validate again until you see Validation Success.

Step 6 – Export to Tally and check the entries

  1. Click Export to Tally. The Report sheet shows every voucher with its status.
  2. In TallyPrime open the Day Book or the Purchase Register for the period and check a few bills against the GST portal.
  3. Posted something wrong? Use Report → Delete Vouchers in QuikAccount to remove that batch from Tally, correct the sheet and export again.

Same supplier, two GSTINs – resolve the conflict in Tally

Some suppliers (banks, telecom and airline companies) bill you from more than one state, so one supplier name comes with two GSTINs. TallyPrime then lists those purchase vouchers under conflicts in party GST registration details in its GST reports.

  1. Open the voucher from the conflict list. TallyPrime shows the GST details As per Transaction and As per Master.
  2. Keep the transaction details (the GSTIN on the bill) and accept the voucher.
  3. Better for the future: create one ledger for each GSTIN of that supplier (for example HDFC Bank Ltd – Maharashtra) and select it for those bills.

Already have the 2A / 2B Excel file?

Downloaded the file yourself from the GST portal or from CompuGST? Skip the direct download – no GST API credit is used:

  1. On the E-Com sheet click GST Returns ▾.
  2. Choose 2A (GSTIN Excel), 2A (CompuGST Excel) or 2B (GSTIN Excel) and select the file.
  3. Continue from Step 4: Ledger Mapping, Calculate & Validate, Export to Tally.

Common errors and fixes

MessageWhat to do
Please login at GST portal and enable API access first.On the GST portal go to My Profile > Manage API Access, choose Yes and a duration, then download again.
OTP not receivedThe OTP goes to the mobile number and e-mail registered on the GST portal for that GSTIN, not to your QuikAccount number.
A month shows FailedRun Download Reports again for that month. Months already downloaded are not charged again.
Date … is not within the financial year selectedSelect the right Financial Year on the Registration sheet. Period From and Period To must be in the same financial year.
Validation Failed – new ledgers have been transferred to Ledger sheetExport the new suppliers from the LedgerCreation sheet, then validate again.
In trial version you can not process more than 50 entries at a timeExport in batches of 50, or buy the licence.

FAQ – Can TallyPrime create purchase entries from GSTR-2A / 2B by itself?

No. TallyPrime can load GSTR-2A / 2B to reconcile it with the purchases you have already entered, but it does not create the purchase vouchers for you. QuikAccount downloads the return, creates the missing suppliers and posts the bills as purchase vouchers. To compare 2A / 2B with your books, see GSTR-2B reconciliation with Tally.

FAQ – Should I import GSTR-2A or GSTR-2B?

GSTR-2B is a fixed monthly statement of the input tax credit available to you, so most businesses book purchases from 2B. GSTR-2A keeps changing as suppliers file or amend their returns. QuikAccount imports both – choose the one you reconcile your input tax credit with.

FAQ – Can I import sales from GSTR-1, or get a Tally XML file?

Yes. Choose R1 as the Required Report to bring your GSTR-1 sales into the sheet. For an XML file, answer No when Export to Tally asks about sending data to Tally; the file filexml.xml is in the Software Folder (Registration tab). Import it in Tally with Import → Transactions.

Advantages

No manual entry

Every supplier bill in GSTR-2A / 2B comes straight from the GST portal.

Suppliers created for you

New supplier ledgers get address, state, PIN and registration type from the GSTIN.

Rate-wise GST ledgers

Map local and interstate purchase, CGST, SGST and IGST ledgers once and reuse the mapping.

Many months in one go

Pick a period of several months; the OTP is asked once per run.

Checked before posting

Validate shows missing ledgers, wrong dates and other errors before anything reaches Tally.

2A, 2B, 4A and GSTR-1

Post purchases from 2A / 2B / 4A, or sales from your own GSTR-1.

Trusted by Businesses Across India

Happy Clients

10,000

Transactions Processed

25,15,40,200

Partners

105

Trusted by 10,000+ Tally Users

For Utility, Support and Service

Trusted by Tally users

4.9-star Google rating based on 300+ reviews

Get in touch

Share your details and we will get back to you.