Bank statements

How to import a bank statement into TallyPrime

TallyPrime offers two import routes, and they solve different problems. One matches statement lines to vouchers you already have. The other creates the vouchers. Here is when to use each, how to prepare the file, and what to do when Tally says a ledger doesn't exist.

By FileKey TeamPublished 7 November 20266 min read

An XML file imported with Alt and O keys into an accounting window listing payment, receipt and contra vouchersXMLALT+OIMPORT › TRANSACTIONSPAYMENTRECEIPTCONTRAPAYMENTRECEIPTCLOSING MATCHES ✓

The short answer

  1. To reconcile entries already in your books: use Alt+O › Bank Statement. It takes Excel, CSV or MT940, but not PDFs or files converted from PDFs.
  2. To create payment, receipt and contra vouchers from the statement: import an XML file with Alt+O › Transactions.
  3. Make sure every ledger named in the file exists in the company with exactly the same name, or import the ledger masters first.
  4. Back up the company before you import, and import each file only once. A second import duplicates every voucher.
On this page
  1. Two ways to import, two different jobs
  2. Before you import: set up the ledgers
  3. Step by step: import vouchers from XML
  4. Step by step: bank statement import for reconciliation
  5. Common import errors and fixes
  6. Which TallyPrime version do you have?
  7. Doing it with FileKey
  8. Frequently asked questions

If you keep books for clients, bank entries are the biggest data-entry job of the month. TallyPrime can take them in directly, but "import a bank statement" can mean two different things in Tally, and picking the wrong one is behind most failed attempts.

Two ways to import, two different jobs

Bank statement importVoucher import (XML)
MenuAlt+O (Import) › Bank StatementAlt+O (Import) › Transactions
What it doesBrings statement lines into bank reconciliation to match vouchers you already haveCreates payment, receipt and contra vouchers in the books
File typesExcel, CSV, MT940, for supported banksXML in all TallyPrime releases; Excel and JSON in newer ones
PDF statementsNot accepted, including Excel or CSV converted from a PDFConvert the PDF to Tally XML first
Use it whenEntries are already posted and you are reconcilingYou are writing up the bank book from the statement

Tally's own help says the bank statement import doesn't accept PDFs, or CSV and Excel files converted from PDFs (TallyPrime: Bank Reconciliation). Accountants usually receive PDFs, so the practical route is to convert the statement into vouchers and import those as XML.

What about Docs by Ira?

Tally has added an AI feature, Docs by Ira, that reads supported digital PDF statements in newer TallyPrime releases (Tally's guide). If your firm runs a release that has it, and your clients' banks and layouts are supported, try it. The XML route below still matters when a client's bank isn't covered, when you're on Tally.ERP 9 or an older TallyPrime release, when you want a balance check before anything reaches the books, or when the same statement also needs to go to Excel.

Before you import: set up the ledgers

An XML import fails when the file names a ledger that doesn't exist in the company, even if the names differ only by a space or a full stop. Before you import:

  • Match the bank ledger name exactly. If the company calls it HDFC Bank - 0423, the file must use exactly that.
  • Decide where every line goes. Rent, salaries, GST payments, the client's customers and suppliers. Anything you can't place yet goes to a Suspense ledger, which you clear later.
  • Create missing ledgers first. Create them by hand, or import a masters XML before the vouchers. Tally recommends importing masters first when transactions depend on them.
  • Check the company period. Vouchers dated outside the books' financial year will fail.

Step by step: import vouchers from XML

  1. Convert the statement into one row per transaction and run the balance check, so you know nothing is missing (see bank statement PDF to Excel).
  2. Set a ledger and voucher type on every row (our ledger mapping guide helps), then export Tally XML. What's inside a Tally XML file explains the format.
  3. In TallyPrime, open the right company and take a backup. The import screen offers one, and once an import starts it can't be stopped.
  4. Press Alt+O (Import) › Transactions.
  5. In File path, pick the XML file and confirm.
  6. When it finishes, check the summary (vouchers created, errors), then open the Day Book for that date range to look at the entries.
  7. Compare the bank ledger's closing balance with the statement's closing balance. They should match to the paisa. Then reconcile the account.

Step by step: bank statement import for reconciliation

If the vouchers are already in the books, for example entered by the client's staff, use the statement only to reconcile:

  1. Download the statement as Excel, CSV or MT940 from net banking. Tally says it supports bank statement import for 145+ banks.
  2. In the bank ledger's settings, turn on auto reconciliation if you want Tally to match entries automatically.
  3. Open Bank Reconciliation for the ledger, press Alt+O › Bank Statement, choose the file and import it from the preview.
  4. Review matched lines, then clear or post the ones left unmatched.

Common import errors and fixes

Message or symptomWhat it meansFix
Ledger does not existA ledger name in the file isn't in the companyCreate the ledger with the exact name, or rename it in the file to the existing ledger
Vouchers imported: 0Usually dates outside the company's books period, or a different company selectedCheck the company and its financial year, then import again
Some vouchers missing after importErrors were skipped because Ignore errors during import is onTurn the setting off, import a copy into a test company, and read the error list
Bank balance differs from the statementOpening balance in Tally doesn't match, or rows are missing from the fileFix the opening balance, then run the balance check on the source rows
Every entry appears twiceThe same file was imported twiceRestore the backup taken before the second import

Which TallyPrime version do you have?

Import options have grown over releases. TallyPrime 3.0.1 and earlier import data only from XML. Newer releases also accept Excel and JSON, with mapping templates. If your firm runs several versions, XML is the format every installation accepts. Clients still on Tally.ERP 9? See TallyPrime vs Tally.ERP 9 for bank imports. Tally's import FAQ lists the limits for each release.

Doing it with FileKey

FileKey covers the steps before Tally. Upload the statement PDF and it reads the transactions and runs the balance check. It suggests a ledger and voucher type for each row from the narration, such as rent, salaries, bank charges or cash deposits. You change any you disagree with, then download Tally XML ready for Alt+O › Transactions. Excel, CSV and MCS exports are there too. See the bank statement converter page and the list of supported banks.

Frequently asked questions

Can TallyPrime import a bank statement PDF directly?

TallyPrime's standard bank statement import accepts Excel, CSV and MT940 files downloaded from the bank, not PDFs. Newer releases add Docs by Ira, an AI feature that reads supported digital PDF statements. For banks or versions it doesn't cover, convert the PDF to Tally XML and import it with Alt+O › Transactions.

What is the shortcut to import data in TallyPrime?

Alt+O opens the Import menu, with Masters, Transactions and Bank Statement. In Tally.ERP 9, the same options were under Gateway of Tally › Import of Data.

How do I stop duplicate vouchers when importing?

Import each file only once, keep a log of the periods you have imported per client, and take a backup before every import so you can go back if a file is imported twice.

Why does Tally say the ledger does not exist when it is in my company?

The name in the file has to match exactly, including spaces, punctuation and suffixes. Also check that the right company is selected before you import.

Sources and further reading

Rules change by notification and advisory. Check the GST portal before you file.

Written by the FileKey Team

FileKey builds the tools CA firms use for e-commerce GSTR-1 and bank statement conversion. We write these guides from the questions accountants and sellers ask us every filing month. Spotted something out of date? Write to [email protected] and we will fix it. More about FileKey.

Try FileKey

From statement PDF to Tally XML in one sitting

FileKey reads the statement, checks the balance and lets you set ledgers before you download the XML.