Back to All Guides
Tally Prime•8 min read•2 December 2026

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.

Bill2Tally Research Team
Bill2Tally Research Team
Tally Prime & GST Automation
How to Import Excel Data into Tally Prime (Sales, Purchases and Masters)

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?

MethodBest forWhat you need to prepare
TallyPrime Import from ExcelOccasional imports in a fixed layoutSheet arranged to Tally's mapping, masters that already exist
XML import (Alt+O, Import)Developers and software exportsA valid Tally XML file
Bill2Tally.aiRegular sales registers, many layouts, many companiesNothing beyond the sheet you already have

Method 1: Import from Excel in TallyPrime 4.0 and later

  • Make a backup of the company data.
  • Open the company and go to Gateway of Tally, then Import (or press Alt+O).
  • Choose Transactions for vouchers or Masters for ledgers and stock items.
  • Set the file format to Excel, select your file and choose or create the mapping between your columns and Tally fields.
  • Run the import and open the import log to see which rows were rejected and why.
  • 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:

  • Rows with the same invoice number become one sales voucher with every item.
  • GST is posted as CGST + SGST for intra-state sales and IGST for inter-state sales.
  • Missing customer, sales and GST ledgers and new stock items are created first.
  • A round-off line keeps the voucher equal to the invoice total.
  • Invoices already imported are flagged, and re-syncing an edited invoice alters the same voucher.
  • What columns does an Excel sales sheet need?

    ColumnRequiredNotes
    Invoice NumberYesRepeat it on every row of a multi-item invoice
    Invoice DateYesUse real dates, not text
    Party / Customer NameYesMust match the Tally ledger, or it will be created
    Item NameYes for item invoicesMatch the Tally stock item name where possible
    Quantity and RateYesRate before tax is safest
    GST Rate %Yes0, 5, 12, 18 or 28
    Taxable Value, CGST, SGST, IGSTRecommendedUsed to verify totals
    Unit and HSNRecommendedNeeded for clean GSTR-1

    Common Excel import errors in Tally Prime

  • Ledger does not exist: the party or sales ledger name in the sheet does not match a Tally master. Create it first or fix the spelling.
  • Stock item does not exist: same cause for items. Import stock items before vouchers.
  • Voucher totals do not match: GST worked out per line differs from the invoice total by a few paise. Add a Round Off line.
  • Dates read as text: format the date column as a date before importing.
  • One voucher per row instead of per invoice: the mapping did not group rows by invoice number.
  • 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.

    See It in Action

    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.

    Tags:#Excel to Tally#Tally Prime#Sales Vouchers#Data Import