How to Import Excel Data into Tally Prime (Sales, Purchases and Masters)
Three ways to get Excel data into Tally Prime: the built-in Excel import in TallyPrime 4.0 and later, XML import, and automated import with Bill2Tally.ai. Steps, required columns and the errors to avoid.

You can import Excel data into Tally Prime in three ways: the built-in Import from Excel option available in TallyPrime 4.0 and later, Tally's XML import, or an automation tool such as Bill2Tally.ai that reads your sheet and posts the vouchers through Tally's XML interface for you. The built-in option works well for clean, template-shaped files; automation is faster when your sheets come from billing software, marketplaces or clients in different layouts.
Which method should you use?
| Method | Best for | What you need to prepare |
|---|---|---|
| TallyPrime Import from Excel | Occasional imports in a fixed layout | Sheet arranged to Tally's mapping, masters that already exist |
| XML import (Alt+O, Import) | Developers and software exports | A valid Tally XML file |
| Bill2Tally.ai | Regular sales registers, many layouts, many companies | Nothing beyond the sheet you already have |
Method 1: Import from Excel in TallyPrime 4.0 and later
Import masters before transactions. If a sales voucher refers to a customer ledger or stock item that does not exist, Tally rejects that voucher.
Method 2: XML import
Tally Prime accepts vouchers and masters as XML through Import and through its HTTP interface on port 9000. This is how most integrations work. The file must follow Tally's schema exactly: ledger names must match existing masters, debit amounts are negative and credit amounts positive, and the voucher must balance to the paisa. XML is powerful but unforgiving, which is why it is usually generated by software rather than written by hand.
Method 3: Automated import with Bill2Tally.ai
Bill2Tally.ai reads your sales register as it is, groups rows into invoices and posts them into the open Tally company through its desktop agent:
What columns does an Excel sales sheet need?
| Column | Required | Notes |
|---|---|---|
| Invoice Number | Yes | Repeat it on every row of a multi-item invoice |
| Invoice Date | Yes | Use real dates, not text |
| Party / Customer Name | Yes | Must match the Tally ledger, or it will be created |
| Item Name | Yes for item invoices | Match the Tally stock item name where possible |
| Quantity and Rate | Yes | Rate before tax is safest |
| GST Rate % | Yes | 0, 5, 12, 18 or 28 |
| Taxable Value, CGST, SGST, IGST | Recommended | Used to verify totals |
| Unit and HSN | Recommended | Needed for clean GSTR-1 |
Common Excel import errors in Tally Prime
For a deeper list of import errors and fixes, see Tally Prime XML import errors and how to fix them.
Frequently Asked Questions
Can Tally Prime import data directly from Excel?
Yes. TallyPrime 4.0 and later include an Import from Excel option for masters and transactions, using a mapping between your columns and Tally fields. Earlier versions need XML import or a third-party tool.
How do I import sales invoices from Excel to Tally Prime?
Create the customer ledgers and stock items first, then use Import from Excel with a transaction mapping, or upload the sheet to Bill2Tally.ai, which groups rows into invoices, creates missing masters and posts the sales vouchers for you.
Why does Tally reject my Excel import?
The most common reasons are ledger or stock item names that do not exist in Tally, vouchers whose debits and credits differ by a few paise, and dates stored as text. The import log names the row and the reason.
Is there software to convert Excel to Tally automatically?
Yes. Bill2Tally.ai converts Excel and CSV sales registers into Tally Prime sales vouchers without TDL, creating missing ledgers and stock items and balancing every voucher.
Automate Your Invoices Directly into Tally Prime
Connect your bills and bank statements with our zero-entry multimodal AI bridge. 15-minute setup, no TDL plugins needed.
Related Accounting Automation Guides
GSTR-2B Reconciliation in Tally Prime: A Complete Guide for 2026
How to reconcile GSTR-2B with your Tally Prime purchase books: where to download GSTR-2B, how invoices are matched, the mismatches that cost input tax credit, and a month-end checklist.
GST & AccountingSection 16(2)(aa) and GSTR-2B: When Input Tax Credit Is Allowed
A plain-language explanation of the ITC conditions in Section 16 of the CGST Act, how GSTR-2B decides what you can claim, the 180-day payment rule, time limits and when ITC must be reversed.
Tally PrimeBank Reconciliation in Tally Prime: Step-by-Step BRS Guide
How to do bank reconciliation in Tally Prime: setting bank dates, reading the BRS, common reconciling items, and how to automate matching the bank statement with the bank ledger.