ScrutinyReady

Tally XML import errors and how to fix them

Most failed imports of bank statement vouchers come down to a ledger named in the file that doesn't exist in the company with exactly that spelling. The next most common causes are the wrong company being open, statement dates outside the company's books, and a file that was edited after download. To see what failed, open Alt+O (Import) > Exceptions in TallyPrime 3.0 and later, and the import log Tally.imp in the Tally installation folder. Each problem is below with its fix, written for the Tally XML that ScrutinyReady makes from a bank statement, though most of it applies to any voucher XML.

Updated

Convert a statement

Processed in memory and never stored. Your file name and password are never saved.

First, find out what didn't import

Tally's help pages describe two places to look. In TallyPrime 3.0 and later, records that don't meet Tally's requirements are listed under Alt+O (Import) > Exceptions, grouped by the problem, and they stay out of your books until you fix them. The import log, a file called Tally.imp in the Tally installation folder, records what happened during the import.

Then count. Our file has one voucher per statement row, so the number of bank vouchers in the Day Book for the period should match the number of rows in the Excel download. If you ticked "create party ledgers", the file also creates those ledgers first.

A ledger in the file doesn't exist in the company

Every ledger named in the file has to be in the company already, with the same spelling. Our file uses four kinds: the bank ledger name you typed before downloading, Cash, Suspense A/c, and any ledgers you mapped yourself, such as Staff Welfare. A bank ledger typed as "HDFC Bank" won't match one called "HDFC Bank A/c". Copy the name from the company's Chart of Accounts and download the file again.

Suspense A/c is the most common one to be missing. Tally has a Suspense A/c group in every company, but its only predefined ledgers are Cash and Profit and Loss, so a new company may not have a ledger with that name. Create it with Alt+G (Go To) > Create Master > Ledger and put it under the Suspense A/c group.

Cash catches people out too. Tally lets you rename the predefined Cash ledger, but our file always posts cash withdrawals and deposits to a ledger called Cash. If yours has another name, those Contra entries won't find it.

In TallyPrime 3.0 and later, Tally's import exceptions list this kind of problem as "Referenced master is missing". Its help page gives two fixes: drill down and create the missing master, or drill down from the Count column and pick an existing master instead, which is the quick fix for a renamed Cash ledger.

Party ledgers and the Suspense A/c group

If you tick "create party ledgers", the file creates a ledger for each party it picks out of UPI, NEFT, IMPS, RTGS and other transfer narrations, under the Suspense A/c group, and posts each entry to its party. If the company no longer has a group with that name, Tally's import exceptions include "Parent group is missing"; drill down and press Alt+U to select or create the parent group.

After a clean import, move each party ledger to Sundry Debtors, Sundry Creditors or the right expense group. On paid plans, map the parties to your own ledgers once and they are remembered for that client, so next month's file posts to them directly and you only map new parties.

Wrong company, dates and Educational mode

The file doesn't name a company. Open the client's company, and select it if more than one company is open, before you press Alt+O. If the vouchers went into the wrong company, restore the backup you took before importing.

Statement dates have to fit the company's books. When a company is created, Tally asks for a Books beginning from date, based on the actual start date of the business's transactions. If the statement starts earlier, either import only the period the company covers or alter the company's dates, after checking with whoever keeps the books.

Testing in Educational mode, without a licence? Tally's help pages for Tally.ERP 9 say Educational mode only accepts entries dated the 1st, 2nd and 31st of a month, so most of a statement's vouchers can't go in. Test with a licensed copy instead.

Totals, missing files and duplicates

"Voucher totals do not match!" means a voucher's debits and credits aren't equal. Every voucher in our file posts the same amount to both sides, so if you see this message the file was changed after download. Download it again instead of editing amounts in the XML; to change a ledger, alter the voucher in Tally after the import.

"File Not found" with a file name means the name or path on the import screen is wrong. Give the full path to the file, for example C:\Imports\statement.xml, and press Enter again.

Importing the same file twice creates every voucher twice; Tally's help pages warn about this. So after a partial import, don't simply import the file again once you've fixed a ledger. Restore the backup, or delete what was imported, and then import the corrected file once. Our Tally export is in beta, so a test company or a fresh backup before every import is the safest habit.

Related

Questions

Where does TallyPrime show import errors?

In TallyPrime 3.0 and later, records that couldn't be imported are listed under Alt+O (Import) > Exceptions, and all exceptions are under Alt+Y (Data) > All Exceptions. The import log is the file Tally.imp in the Tally installation folder.

What does "Referenced master is missing" mean?

A voucher or master in the file uses a ledger or group that isn't in the company. Drill down to create the missing master, or pick an existing one from the Count column. For bank vouchers it is usually the bank ledger name, Suspense A/c or a renamed Cash ledger.

Do I need to create a Suspense A/c ledger before importing?

Only if the company doesn't have one. Tally creates a Suspense A/c group in every company, but not a ledger with that name. Create it with Alt+G (Go To) > Create Master > Ledger, under the Suspense A/c group.

Can I import the XML again after fixing a ledger?

Not on top of a partial import, because the vouchers that went in the first time would be created again. Restore your backup or delete those vouchers first, then import the file once.

What does the Tally XML cost?

Converting to Excel and CSV is free up to 5 pages a day. Tally XML is on paid plans: Single statement at ₹39 for 25 pages, or Pro at ₹2,999 a year for 500 pages a month. Prices include GST.