Excel Mapping in TallyPrime: Templates, XML/JSON and API Integration

Excel mapping in TallyPrime tells TallyPrime which Excel column fills which field, so you can import data from your own Excel layout without reformatting it. You save the mapping as a mapping template and reuse it each time. Excel import is available from TallyPrime Release 4.0.
This guide explains how mapping templates work for masters and vouchers, how XML and JSON fit in, and when a repeating Excel import is better handled as an integration. For the basic import steps, see how to import Excel data in TallyPrime. For a worked sales example, see the Excel to Tally sales voucher import guide.
What Excel Mapping in TallyPrime Does
Your Excel file might say Party Name, Bill No and Amount. TallyPrime needs Ledger Name, Voucher Number and Ledger Amount. Mapping links the two once, so the same layout can be imported again without editing the sheet.
When the same data has to move every day, from several sources, or back out of TallyPrime too, mapping alone is not enough. That is when a custom Tally integration makes sense.
How a Mapping Template Works
Create one from Alt+O (Import) > Manage > Mapping Templates, choose masters or transactions, then select the Excel file and worksheet.

- Save Mapping Template for: All Companies, or This Company.
- Column headers: tell TallyPrime which row holds the headers and which row the data starts from.
- Fixed values: when every row uses the same ledger, such as Sales or a GST ledger, use Specify Fixed Field Value instead of an Excel column.
- Save: press Ctrl+A. A template will not save until all mandatory fields are mapped.
Mapping Masters and Vouchers
- Ledgers: Name and Group Name are mandatory.
- Vouchers: Voucher Type Name, Voucher Date, Ledger Name and Ledger Amount are mandatory.
Import masters before the vouchers that use them. Keep one template per sheet layout, for example one for sales and one for purchases, so a change to one does not break the other.
One-Way vs Two-Way Data Flows
Excel mapping is one-way: data goes into TallyPrime when a user runs the import. A two-way flow, where TallyPrime also sends data back, such as stock levels, outstanding balances or invoice status, needs an integration. See Tally Integration with Web Applications (ERP, CRM, Billing, Ecom Etc.) for how these setups work.

XML and JSON Mapping
TallyPrime has long imported XML. From Release 7.0 it also imports and exports JSON. Files already in TallyPrime's own structure can be imported from Alt+O (Import) > Masters or Transactions without a mapping template. Files in another system's layout need converting or custom TDL work first. If you want to build XML from Excel, see our Excel to Tally XML import guide.
Validation Before Import
- Names of parties, items, units and ledgers match TallyPrime exactly.
- Invoice numbers are unique; no row is imported twice.
- GSTIN, state and tax amounts are present and add up to the invoice total.
- Dates use one format; no blank or merged rows.
After importing, check the Day Book and registers, and fix anything listed in the Exceptions report.
Security and Backups
- Back up the company before every import. TallyPrime offers to take a backup when you import XML or JSON files.
- Limit who can create or change mapping templates and who can import.
- For integrations, keep access to TallyPrime on your own network or a secure cloud setup, and log each run.
Testing and Rollout

Example: a distributor gets a weekly sales sheet from each of three branches. Each branch uses a different layout. Option 1 is three mapping templates and a weekly import by the accountant. Option 2, if volume grows, is a small utility that combines the sheets, checks them and pushes vouchers to TallyPrime automatically.
What Decides Scope and Cost
We do not publish fixed prices for integrations, because the work depends on:
- how many sources and layouts there are,
- whether you need masters, vouchers or both,
- one-way or two-way flow, and how often it runs,
- business rules and validation needed,
- whether data comes from Excel files or directly from another system, and
- testing, training and support after go-live.
For import-only work, our Excel to Tally import services may be enough. For ideas on what else can connect, read Top 10 Applications You Can Integrate with Tally Using APIs.
Conclusion
Start with Excel mapping in TallyPrime: one template per layout, masters before vouchers, a backup before every import. When the same data moves often, comes from many sources or needs to flow both ways, plan an integration instead.
Tally Experts can review your files and suggest the simplest option that fits.
You can connect with us on WhatsApp. Say Hi
FAQs on Excel Mapping in TallyPrime
1. What is Excel mapping in TallyPrime?
It links the columns in your Excel file to TallyPrime fields and saves them as a mapping template, so you can import your own layout again and again.
2. Which TallyPrime release supports Excel import?
Release 4.0 and later. Earlier releases import XML only.
3. Where do I create a mapping template?
Press Alt+O (Import) > Manage > Mapping Templates, choose masters or transactions, and select the Excel file and worksheet.
4. Which fields are mandatory?
For ledgers, Name and Group Name. For vouchers, Voucher Type Name, Voucher Date, Ledger Name and Ledger Amount.
5. Can TallyPrime import JSON?
Yes. From Release 7.0, TallyPrime imports and exports JSON in addition to Excel and XML.
6. Is Excel mapping a two-way integration?
No. It only brings data into TallyPrime. Sending data back to another system needs an integration.
7. When should I move from Excel mapping to an API integration?
When data moves often, comes from several sources, needs business rules, or must flow in both directions.
Continue Reading
Get a personal consultation.
Call us today at +919211044269
Want our TallyPrime tips in Google first? Add us as a preferred source.

