AI & automation · 17 November 2026 · 5 min read
Import supplier Excel and CSV bills instead of typing them
How to import a purchase bill from Excel or CSV: saved column mapping per supplier, batch and expiry columns, checks, and why prompt entry protects ITC.
By the Tatva ERP team at Kentron Technologies
In short
- Many distributors send an Excel or CSV file with their bill; importing it avoids typing every line by hand.
- You match the supplier's columns to your fields once (item, batch, expiry, quantity, free quantity, rate, discount, GST), and the software remembers the mapping for that supplier.
- Items are matched by name, and a person checks the entry before saving.
- Prompt purchase entry protects input tax credit, which cannot be claimed after 30 November following the end of the financial year under Section 16(4).
To import a purchase bill from Excel, you load the supplier's Excel or CSV file into your billing software, tell it once which column is the item, batch, expiry, quantity, rate and GST, and it fills the purchase entry for you. A 100-line pharma bill that takes half an hour to type is reduced to a few minutes of checking. The mapping is saved per supplier, so the second file from the same distributor is quicker still.
Why typing purchase bills is the real bottleneck
In a medical store or a distribution business, billing is quick and repeated. Purchase entry is slow and full of detail: item name, batch, expiry, quantity, free quantity, MRP, rate, discount, GST rate, sometimes HSN. One wrong expiry date or a missing free quantity shows up weeks later as a stock mismatch or a wrong cost price.
Many pharma and FMCG distributors already send an Excel or CSV export of the bill with the delivery or by email. Typing that information again is pure waste.
How Excel and CSV purchase import works, step by step
- Get the file. Ask each regular supplier for the bill as Excel or CSV. Most distributor software can export it.
- Open a purchase entry and load the file. Choose the supplier first.
- Map the columns the first time. The supplier's file might call it "Prod Name", "Batch No", "Exp", "Qty", "Free", "PTR", "Disc %", "GST %". You match each to the software's field.
- Save the mapping. Tatva ERP saves the column mapping for that supplier. Next time, the file goes straight in.
- Check item matches. Items are matched by name. Look closely at any line where the supplier's name for an item differs from yours.
- Check totals and save. Compare the bill total and GST with the paper bill. A person always checks before saving.
A typical column mapping
| Supplier's column | Maps to | Watch out for |
|---|---|---|
| Product / Prod Name | Item | Short names and pack sizes |
| HSN | HSN | Should match the HSN on your item |
| Batch No | Batch | Leading zeros dropped by Excel |
| Exp / Expiry | Expiry | MM/YY vs a full date |
| Qty | Quantity | Strips vs boxes |
| Free / Sch Qty | Free quantity | Sometimes merged into Qty |
| MRP | MRP | Per strip or per box |
| PTR / Rate | Purchase rate | Before or after discount |
| Disc % | Discount | Trade vs cash discount |
| GST % | GST rate | Separate CGST and SGST columns |
Spend ten extra minutes on the first file from each supplier. A correct mapping saves those minutes on every bill after.
Worked example: a 100-line bill
A pharma distributor sends 100 lines. Typed by hand at around 20 seconds a line, that is over half an hour, plus the time to find and fix typing mistakes. With a saved mapping, loading the file is one step, and the work left is checking the item matches and the totals. Your own times will differ, so time your next bill both ways.
Why HSN and timing matter for GST
Correct HSN on items
Since 2025, Table 12 of GSTR-1 takes the HSN from a dropdown list instead of free typing, with validation on the portal (TaxGuru on the Table 12 changes). Wrong or missing HSN on your items now causes trouble at filing time. When the supplier's file carries HSN, compare it with the HSN on your item master during import.
Input tax credit has a deadline
Under Section 16(4) of the CGST Act, input tax credit on an invoice cannot be taken after 30 November following the end of the financial year (or the annual return date, if earlier). A useful explanation is on Busy's ITC time limit article, and our own post on the ITC time limit under Section 16(4) covers it in detail. Bills lying in a drawer because "typing will take time" are credit at risk. Fast import helps purchase entry keep up.
Asking suppliers for the right file
A short message to each regular supplier saves a lot of trouble later. Ask for:
- the same file layout every time (no columns added or moved without notice);
- batch and expiry in their own columns, with expiry as a date or MM/YY;
- free quantity in a separate column, not added to the billed quantity;
- the bill number and date inside the file or in the file name;
- Excel or CSV, not a scanned image saved inside an Excel sheet.
If a supplier changes its software and the layout changes, edit the saved mapping once and carry on.
Excel import or AI reading: which to use?
- Supplier sends Excel or CSV: use the import. It is exact, because the data is already digital.
- Supplier sends a PDF or a paper bill: use AI purchase entry, which reads a PDF or phone photo into a purchase entry. See how AI purchase bill entry works.
Both end the same way: a purchase entry with batch and expiry that a person checks before saving.
Checks before you save an imported bill
- Bill number, date and supplier GSTIN match the paper or PDF bill.
- Line count and grand total match.
- Free quantity has come in as free, not as billed quantity.
- Expiry dates look sensible (no 2002 instead of 2027).
Other imports that save typing
Tatva ERP can also import parties and items from any Excel sheet, GSTR-2B Excel for accounting purchases, bank statements, and items, batches and suppliers from Marg ERP. It does not import Tally or Busy data today.
Supplier file import is part of the purchase set-up for pharma distributors and medical stores. Book a demo and bring one of your supplier files; we will map it with you.
Questions people ask
Can I import a purchase bill from Excel into billing software?
Yes, if the software supports it. In Tatva ERP you load the supplier's Excel or CSV file, map its columns once, and the lines come into a purchase entry for you to check and save.
Do I need to map the columns every time?
No. The column mapping is saved for that supplier, so the next file from the same supplier comes in directly.
What if the supplier sends only a PDF?
Use AI purchase entry instead: Tatva ERP reads a PDF or a phone photo of the bill into a purchase entry, which you then check.
What happens to items the software does not recognise?
Items are matched by name, and a person checks every line before the bill is saved, so a wrong or missing match is caught at that point.