How to Structure Purchase Ledgers in Excel for Tally Import
How to Structure Purchase Ledgers in Excel for Tally Import
Step-by-step formatting guide to preparing purchase ledger import templates in Excel. Learn tax allocations, item groupings, and imports.
Who is this for: Tally Configuration
Manually entering purchase invoices is one of the most time-consuming tasks in corporate accounts departments. As transaction volumes scale, manual entry can cause data bottlenecks and errors in your tax reports.
Importing purchase vouchers from PDF files directly into TallyPrime solves this issue. However, you must structure the purchase ledger data in a standard format. This guide covers purchase Excel layouts, tax mapping rules, and configuration steps.
1. The Core Column Structure for Purchase Sheets
To build a reliable import template, organize your Excel worksheet with these columns:
| Column Index | Excel Column Header | Tally XML / Field ID | Data Type & Requirements |
|---|---|---|---|
| Column A | Invoice Date | Date | Date (Formatted as DD-MM-YYYY) |
| Column B | Supplier Invoice No | Voucher Number | Alphanumeric value |
| Column C | Supplier Name | Party Ledger Name | Text values, must match Tally master ledgers |
| Column D | Supplier GSTIN | GSTIN / UIN | 15-digit alphanumeric format |
| Column E | Taxable Value | Purchase Value | Numeric (Decimal values allowed) |
| Column F | CGST / SGST / IGST | Tax Ledgers | Numeric (Calculated using formulas) |
2. Designing the Excel Sheet: Header vs. Row Mappings
A common mistake is listing multi-item invoices on separate rows with repeated header details. This can cause Tally to create duplicate vouchers for each item.
To prevent this, structure the sheet so that the invoice header details (Date, Supplier, Invoice No) are populated on the first row of the invoice, while subsequent item lines leave the header columns blank. TallyPrime reads the blank header rows as child entries belonging to the same voucher until it finds a new invoice number.
3. Structuring Tax Columns for CGST, SGST, and IGST
To maintain accurate tax records, divide your tax values into separate columns based on transaction type:
- Local Purchases: Populate the CGST and SGST columns. Leave the IGST column blank.
- Interstate Purchases: Populate the IGST column. Leave the CGST and SGST columns blank.
- Round-off Ledgers: Include a dedicated Round-off column to record differences between the sum of item totals and the final invoice value.
4. Mapping Round-off Ledgers and Additional Freight Charges
Freight and delivery fees must be allocated to their respective expense ledgers:
Add columns for additional expenses like Freight Inward, Packing Charges, and Insurance. TallyPrime can import these values as separate ledger lines under the main purchase voucher, ensuring your profit and loss statements accurately reflect material costs.
5. Inventory Details: Item Quantity, UQC, and Rate Columns
If you track inventory quantities in Tally, your Excel sheet must include item-level details:
- Stock Item Name: Must match the inventory item name in Tally exactly.
- Billed Quantity: The physical number of items purchased.
- Unit of Measure (UOM): Standard units (e.g. PCS, KGS, BOX) that match Tally's master Unit Quantity Codes.
- Rate per Unit: The net purchase price per unit.
6. Step-by-Step Excel to Tally Import Wizard Flow
Import your structured purchase sheet using TallyPrime's import wizard: export const dynamic = 'force-static';
- Open TallyPrime and go to the Import menu.
- Select Transactions and choose Excel as the file type.
- Browse to your purchase PDF file.
- Map the Tally purchase fields to their corresponding Excel column headers.
- Review the data mapping summary and click Import. TallyPrime will import the vouchers into your purchase register.
7. Checking for Ledger Name Variations
If your supplier names in Excel do not match Tally's ledger database exactly, Tally will generate import warnings. Use Excel's `VLOOKUP` or `XLOOKUP` functions to match supplier names against a master export from Tally before importing, ensuring all names align.
8. Reconciling Purchase Ledgers and Tax Credits
After importing your purchase ledger data, verify that the total tax values in Tally match the values in your Excel sheet. Run a GSTR-2B reconciliation report to check for discrepancies between your imported purchases and the tax credits declared by your suppliers on the GST portal.
9. Managing Multi-currency Purchases
For import transactions from international vendors, configure Tally's multi-currency settings. Add columns in Excel for Currency Code and the applicable Exchange Rate. This allows Tally to convert purchase values to INR for local tax reporting while maintaining the original invoice values in foreign currency for vendor payments.
10. Best Practices for Purchase Template Maintenance
To maintain consistent import formats:
- Lock the template header row to prevent users from altering column names.
- Use Excel data validation rules to enforce correct date formats and numeric entries in amount columns.
- Clean and remove empty worksheets before importing to avoid processing errors.
11. Structuring Bill of Entry Import Vouchers
Importing overseas goods requires recording a Bill of Entry (BOE) instead of a standard invoice. Ensure your PDF format includes columns for Port Code, Customs Value, and Basic Customs Duty (BCD) so Tally can calculate input credits for Integrated GST (IGST) correctly. Custom import tax structures depend on accurate classification codes, and failing to define port registry prefixes during voucher import configuration creates critical blocks. By standardizing these fields in your excel spreadsheet before data interchange, your accounts team avoids manual overrides.
12. Clearing Import Exceptions in TallyPrime
If any rows fail during import, TallyPrime logs the errors under 'Import Exceptions'. Correct the missing parameters in the ledger or item settings to complete the voucher updates. These exceptions are typically caused by missing tax definitions, unregistered supplier GSTIN formats, or custom stock item unit quantity mismatches. Resolving these database conflicts prior to monthly tax filings is recommended for a clean audit trail.
13. Reconciling E-way Bill Values
For transactions exceeding Rs 50,000, ensure your purchase ledger format contains a column to record E-way bill numbers. Integrating this reference number ensures that physical goods receipts match tax credit logs during year-end reconciliation audits.
Simplify Purchase Ledgers and Automate Tally Imports
TrulyInvoice automatically extracts data from purchase bills, maps tax ledger groups, matches supplier names, and reconciles bank statements directly to Tally in seconds.
Chartered Accountant & Accounting Automation Specialist