
How to Import Excel Data in TallyPrime: Step-by-Step Guide

To import Excel data in TallyPrime, press Alt+O (Import), choose Masters or Transactions, select your Excel file and a mapping template, check the preview and press I to import. The import itself takes a minute. Getting a clean result depends on what you do before it: a tidy Excel file, correct field mapping, a backup and a small test import.
This guide covers what you can import, how to map your own Excel format, a worked purchase-entry example, GST checks, how to handle exceptions and when a standard import is not enough.
What You Can Import from Excel into TallyPrime
TallyPrime can import both masters and transactions from Excel. In practice businesses use it for:
- Masters: ledgers (customers, suppliers, expenses), stock items, units and groups.
- Vouchers: sales, purchase, receipt, payment, journal and other accounting vouchers.
- Opening data: opening balances and item lists when you start a new company.
- Data from other software: files exported from another ERP in Excel, XML or JSON.
Masters that a voucher depends on, such as the parent group or the unit of measure, must already exist in the company before you import.
Two Ways to Import: Sample File or Your Own Excel Format
1. Use the sample Excel file
TallyPrime provides sample Excel files with predefined columns. You enter your data in that layout and import it without building a mapping. This suits a one-time import or a team that can work in a fixed template.
2. Use your own Excel file with a mapping template
If your data already sits in your own format, such as a supplier statement or a sales report from another system, you create a mapping template that tells TallyPrime which Excel column goes to which field. The template is saved as a .tsf file in the excelmaps folder and can be reused for every future import.
Prepare Your Excel File Before Importing
Most failed imports start with the Excel file, not with TallyPrime. Before you import, check that:
- Each column has one clear header, and the header row number is known.
- Dates, quantities and amounts use one consistent format.
- Party, ledger and item names match the names already in TallyPrime, spelled the same way.
- Every row has the mandatory fields: date, voucher type, number, party and amount.
- GSTIN, tax rate, place of supply and HSN/SAC are filled where they apply.
- Duplicate rows and repeated invoice numbers are removed or explained.
- Bill-wise details are switched on if you want bill references imported (F11 > Enable Bill-wise entry, and Maintain balance bill-by-bill in the party ledger).
Map Excel Columns to TallyPrime Fields
In the mapping template you set whether the file has headers, the header row number, and the rows and columns to import. Then you match each TallyPrime field with an Excel column. TallyPrime reads up to 702 columns from an Excel sheet.
For vouchers, ledgers are mapped in two parts. Top Ledger is usually the party, cash or bank ledger. Bottom Ledgers are the purchase, sales, expense and tax ledgers such as CGST, SGST and IGST. If every row uses the same ledger, for example "Purchase", you can enter it as a fixed value instead of a column.

If your file layout changes often, or you need checks that a mapping template cannot do, our team can migrate Excel data into TallyPrime with a setup built around your format.
Step-by-Step: How to Import Excel Data in TallyPrime
- Decide what you are importing. Masters first, then vouchers, because vouchers need their ledgers and items to exist.
- Clean the Excel file using the checklist above.
- Create any missing masters such as groups, units or tax ledgers.
- Create or pick a mapping template. Go to Create > Mapping Template > Master or Transactions, select the file and worksheet, map the fields and press Ctrl+A to save.
- Take a backup or import into a test company first. The Import Data screen also lets you configure a backup before the import.
- Import a small sample. Press Alt+O > Import > Masters or Transactions, select the file and template, review the preview and press I.
- Check the result. Review any exceptions, then compare voucher count and totals with the Excel file.
- Import the full file only after the sample matches, and reconcile again.

Example: Import Purchase Entries from Excel
Many businesses receive purchase data in Excel from suppliers or a purchase team. To import purchase entries in TallyPrime from Excel:
- Keep one row per item line. Rows with the same bill number and date form one purchase voucher, as in the multi-row mapping method.
- Set the voucher type to Purchase, either as a column or a fixed value.
- Map the supplier to the Top Ledger, and the purchase ledger and the CGST/SGST or IGST ledgers to the Bottom Ledgers.
- Map the supplier invoice number to the reference so bills can be tracked bill-wise.
- Import one or two bills, open them in TallyPrime and check the item lines, tax and bill total before importing the rest.

GST Checks Before and After Import
An import can succeed and still post the wrong tax. Check these on the sample before the full file:
- GSTIN and state of each party match the party ledger.
- Intra-state bills use CGST and SGST; inter-state bills use IGST.
- Tax rate and HSN/SAC on each item match the item master.
- Taxable value plus tax equals the bill total in Excel, with round-off handled.
- After import, the GST reports show the imported vouchers with no new exceptions.
Exceptions, Errors and Rollback
Under Alt+O > Import > Configuration you can set how the import behaves when there are exceptions, such as missing masters or invalid values. Review every exception before you continue. The most common causes are a ledger or item name that does not match, a missing master, a wrong date format or a duplicate voucher number. Our guide on fixing Excel to Tally import errors goes through each one.
If the import goes wrong, the safest rollback is the backup you took in step 5. Restore it, fix the Excel file and import again, instead of deleting vouchers one by one.
Large Files and Recurring Imports
For a large file, import in batches, for example one month or one branch at a time, so each batch can be checked against its Excel total. Save the mapping template and reuse it for every month's file so the mapping stays the same.
If you are moving a whole company rather than a set of entries, read How to Safely Transfer Tally Data to a New System Without Errors. If your data comes as XML, see the Step-by-Step Guide: Excel to Tally XML Import Made Easy.
When You Need Customization Instead
The built-in import works well when the Excel layout is stable and the rules are simple. Consider a customized setup when:
- Files arrive in many layouts, from different suppliers or portals.
- Rows need business rules before posting, such as cost centres, discounts or freight split.
- You need validation or approval before data reaches live books.
- The import has to run regularly from another system. See Excel to Tally integration methods.
Conclusion
Importing Excel data in TallyPrime is quick once the groundwork is right: a clean file, masters in place, a saved mapping template, a backup and a sample import that you reconcile before the full file. Most errors are name, date or duplicate problems that are easier to fix in Excel than in TallyPrime.
If your file format or rules are more complex, Tally Experts can set up an Excel to Tally import that fits your process.
You can connect with us on . Say Hi
FAQs on Importing Excel Data in TallyPrime
1. How do I import Excel data in TallyPrime?
Press Alt+O (Import), choose Masters or Transactions, select the Excel file and a mapping template, check the preview and press I to import.
2. Can I import Excel data in TallyPrime without changing my Excel format?
Yes. Create a mapping template that links your Excel columns to TallyPrime fields. The template is saved and can be reused for later files.
3. How do I import purchase entries in TallyPrime from Excel?
Keep one row per item line with date, voucher type Purchase, supplier invoice number and supplier. Map the supplier to the Top Ledger and the purchase and GST ledgers to the Bottom Ledgers, then import a sample bill and check it before the rest.
4. What can be imported from Excel into TallyPrime?
Masters such as ledgers and stock items, and transactions such as sales, purchase, receipt, payment and journal vouchers.
5. Why does my Excel import show exceptions?
Usually a ledger or item name does not match, a master is missing, a date is in the wrong format or a voucher number is repeated. Fix the Excel file and import again.
6. Should I take a backup before importing?
Yes. Take a backup or use a test company first. If the import goes wrong, restore the backup instead of deleting vouchers one by one.
7. When should I use XML or a customized import instead?
Use XML when data comes from another system in XML. Consider a customized import when files arrive in many layouts or need business rules and checks before posting.
Continue Reading
Get a personal consultation.
Call us today at
Want our TallyPrime tips in Google first? Add us as a preferred source.

