WhatsApp to Tally is live today, not a waitlist. Free for 14 days.

How to Import Purchase Invoices into Tally Prime: The Excel Route, the XML Route and the Automated Route

Three ways to get purchase bills into TallyPrime without typing each one: Excel import with mapping templates, XML import, and automated posting, with the errors each one hits.

By the TaskAutomate team. Published , 9 min read.

There are three ways to get purchase invoices into TallyPrime without typing every voucher: import them from an Excel sheet using TallyPrime's Import Data feature, import an XML file, or use a tool that reads the bills and posts approved vouchers for you. Excel import is built into TallyPrime and works well when someone has already typed the bills into a sheet. XML suits developers and other software. Automated posting skips the typing entirely. Each route fails in predictable places, mostly ledger names and GST, and this guide covers how to avoid them.

Route 1: Excel import (built into TallyPrime)

TallyPrime can import vouchers from Excel through Import Data, either from Tally's sample Excel formats or from your own layout using a mapping template. Tally's help on importing data using any Excel file covers the screens.

  1. Prepare the sheet. One purchase voucher can take several rows: the party ledger, the purchase ledger and each tax ledger. Start from Tally's sample purchase format so the structure matches.
  2. Check the ledgers exist. Every party, purchase and tax ledger in the sheet must already exist in the company, under the right group (party under Sundry Creditors, purchase under Purchase Accounts, CGST, SGST and IGST under Duties and Taxes).
  3. Import Data, voucher type Purchase. From the Gateway of Tally, open Import Data, choose the Excel file and map the columns (save the mapping for next month).
  4. Read the import log. TallyPrime writes a log of rows that failed. Fix and re-import only those.
  5. Spot-check vouchers against the original bills, especially multi-line and inter-state ones.
Where it breaks: ledger names that don't match exactly ("Sharma Traders" vs "Sharma Traders Pvt Ltd"), missing GST ledgers, CGST and SGST used on an inter-state bill, and the time it takes to type the sheet in the first place.

Route 2: XML import

Tally reads XML envelopes, either through Import Data or over its HTTP interface on port 9000. Other software uses this to post vouchers. It is precise and scriptable, but someone has to generate valid XML with the right ledger names, and Tally rejects the whole voucher if a ledger is missing. Tally Bridge vs manual XML import compares the manual and automated versions in detail.

Route 3: automated posting

Automated tools read each bill (photo, PDF or WhatsApp), extract the supplier, GSTINs, line items and taxes, let a person check and approve the entry, then post the voucher into Tally. With TaskAutomate, the Tally Bridge runs next to Tally, picks up only approved vouchers, creates a missing ledger along with the voucher rather than rejecting it, and routes CGST and SGST or IGST from the supplier's state. There is no sheet to type and no mapping table to maintain. If your purchase bills come as PDFs, PDF invoice to Tally covers that route specifically.

Which route fits

SituationRoute
Bills are already in a spreadsheet (from an ERP or a data-entry team)Excel import
Another system produces the vouchersXML import
Bills arrive as paper, PDFs and WhatsApp photosAutomated posting
A few bills a weekManual entry may still be fastest
Weighing a data-entry firm instead? See Tally data entry: outsourcing vs automation. Running a Control company with project companies? See Control company and project JVs in Tally.

Before any bulk import

  • Back up the company. Imports are hard to undo.
  • Check for duplicates. The same bill imported twice is the classic bulk-import mistake. TaskAutomate holds a bill with the same supplier and bill number in the same financial year until someone clears it.
  • Check the GST split. Same-state bills need CGST and SGST in equal halves; other-state bills need IGST. The GST calculator is a quick sanity check.
  • TDS. If the supplier attracts TDS, the TDS ledger needs to be in the voucher too; see purchase entry with TDS in Tally.

FAQ

Can TallyPrime import purchase vouchers from Excel? Yes, through Import Data, using Tally's sample formats or your own layout with a saved mapping template. Why does my Excel import fail? Most often a ledger name in the sheet doesn't exist in the company exactly as written, or a tax ledger is missing. Check the import log. Can I import purchase bills from PDF into Tally? Not through Excel import. Use a tool that reads PDFs and posts vouchers, or Tally's own Docs by Ira on a licence with it enabled. Does importing create missing ledgers? Excel import expects ledgers to exist. TaskAutomate's Tally Bridge creates a missing ledger with the voucher.