Statement→Tally XML
Home / Import guide

How to Import a Bank Statement into TallyPrime

Typing bank entries into Tally one by one takes hours. Importing them as XML takes a few minutes. This guide covers the whole process, from the bank’s PDF or Excel statement to vouchers in your books.

Before you start

1. Convert the statement to Tally XML

Load the statement into the converter. Enter your company name and bank ledger exactly as they appear in Tally, check the suggested ledgers, and download two files: ledger masters XML and vouchers XML.

What the converter does with each statement line

Every line of the bank statement becomes one Tally voucher. The voucher type comes from the direction of the money, and the ledger comes from the narration. Here is how three typical lines are converted:

Statement lineAmountLedger suggestedTally voucher
NEFT CR-SAMPLE RETAIL PVT LTD-INV 104284,500.00 inSuspense A/c (you pick the customer)Receipt: Bank Dr, Party Cr
ATM WDL-DEMO NAGAR BRANCH10,000.00 outCashContra: Cash Dr, Bank Cr
SMS ALERT CHARGES QTR17.70 outBank ChargesPayment: Bank Charges Dr, Bank Cr

Ledgers are suggested for common narrations such as bank charges, interest, ATM and cash deposits, GST and TDS payments, rent, salary, electricity, telephone, insurance and fuel. Everything else goes to the ledger you choose for unmatched entries, usually Suspense A/c, so you can reassign it before or after the import.

What the XML looks like

The vouchers file uses Tally’s standard XML import format. A single Payment voucher looks like this:

<VOUCHER VCHTYPE="Payment" ACTION="Create">
  <DATE>20260415</DATE>
  <VOUCHERTYPENAME>Payment</VOUCHERTYPENAME>
  <NARRATION>SMS ALERT CHARGES QTR</NARRATION>
  <ALLLEDGERENTRIES.LIST>
    <LEDGERNAME>Bank Charges</LEDGERNAME>
    <ISDEEMEDPOSITIVE>Yes</ISDEEMEDPOSITIVE>
    <AMOUNT>-17.70</AMOUNT>
  </ALLLEDGERENTRIES.LIST>
  <ALLLEDGERENTRIES.LIST>
    <LEDGERNAME>HDFC Bank A/c</LEDGERNAME>
    <ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE>
    <AMOUNT>17.70</AMOUNT>
  </ALLLEDGERENTRIES.LIST>
</VOUCHER>

Dates are written as YYYYMMDD, debits carry a negative amount with ISDEEMEDPOSITIVE set to Yes, and credits carry a positive amount. You don’t need to edit any of this by hand.

2. Import into TallyPrime

  1. Open your company in TallyPrime and take a backup first.
  2. If you created new ledgers, press Alt+O (Import) → Masters and select the ledger masters file.
  3. Press Alt+O → Transactions and select the vouchers file.
  4. Choose how to treat duplicates, then accept to import.
  5. Check the import summary. Anything Tally rejected is listed in tally.imp in your Tally folder.
  6. Open the bank ledger and confirm its closing balance matches your statement.

3. Import into Tally.ERP 9

  1. Go to Gateway of Tally → Import of Data → Masters and import the ledger masters file.
  2. Go to Gateway of Tally → Import of Data → Vouchers and import the vouchers file.
  3. Check the bank ledger’s closing balance against the statement.

4. Check the result

Open the Day Book for the statement period and confirm the number of vouchers matches the number of entries in Step 3. Then open the bank ledger: its closing balance should equal the statement’s closing balance. Finally, move entries out of Suspense A/c into the right customer, supplier or expense ledgers.

Common import errors and fixes

What Tally reportsCauseFix
Ledger does not existA ledger name in the file isn’t in your company, or is spelled differently.Import the ledger masters file first, or rename the ledger in the converter to match Tally exactly.
Date outside the financial year or books beginningThe statement covers dates before your books begin or outside the company’s period.Check the company’s financial year and “books beginning from” date, or remove those rows in Step 3.
Voucher type does not existPayment, Receipt or Contra was renamed or deleted in your company.Restore the default voucher type names in Tally, then import again.
Wrong companyThe company name in the file doesn’t match the open company.Leave the company name blank in Step 2 and open the right company before importing.
Entries appear twiceThe same vouchers file was imported twice.Restore your backup and import once. Tally adds every voucher in the file each time.
Closing balance doesn’t matchAn entry was skipped, duplicated or read into the wrong column, or the bank ledger’s opening balance differs.Re-check flagged rows in Step 3, compare the number of entries, and confirm the opening balance of the bank ledger in Tally.

Ready to convert a statement? It takes a minute and nothing is uploaded.

Open the converter

Questions

Can I import into TallyPrime Educational mode?

Educational mode is meant for learning and only accepts vouchers on certain dates of the month, so most real statements will be partly rejected. Use a licensed copy for client data.

Will importing twice create duplicate vouchers?

Yes, importing the same vouchers file again adds the entries again. Import each statement once, or delete the earlier vouchers first.

How do I undo an import?

Restore the backup you took before importing. That’s the safest way to remove a batch of vouchers.

Do I need to create the bank ledger first?

Create it in Tally under Bank Accounts with the right opening balance, or let the ledger masters file create it. If the ledger masters file creates it, set the opening balance afterwards.

Can I import several months at once?

Yes. Load each statement, download its vouchers file, and import the files one after another. Keep each file to one statement so duplicates are easy to spot.