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.
- 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.
- 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).
- 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).
- Read the import log. TallyPrime writes a log of rows that failed. Fix and re-import only those.
- Spot-check vouchers against the original bills, especially multi-line and inter-state ones.
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
| Situation | Route |
|---|---|
| Bills are already in a spreadsheet (from an ERP or a data-entry team) | Excel import |
| Another system produces the vouchers | XML import |
| Bills arrive as paper, PDFs and WhatsApp photos | Automated posting |
| A few bills a week | Manual entry may still be fastest |
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.