AI & automation · 12 November 2026 · 7 min read
AI purchase bill entry: what happens when software reads your supplier's invoice
How AI document reading turns a photo or PDF of a supplier bill into a purchase entry with batch, expiry, free quantity and GST, what it gets right, and where a person still has to look.
By the Tatva ERP team at Kentron Technologies
Ask anyone who runs a pharmacy or a distribution counter what eats their afternoon and the answer is rarely billing. It is purchase entry: sitting with a supplier's invoice and typing forty lines of item, batch, expiry, quantity, free quantity, rate, discount and GST into the software, one box at a time.
This is exactly the kind of work AI is now good at. Not the "chat with your data" kind of AI, but document AI: models that look at a page the way a person does and return its contents as structured data.
What the AI actually reads
In Tatva ERP you upload a PDF or simply photograph the bill with your phone. The page goes to a document AI model (we use Mistral's OCR model, which handles Indian invoice layouts well), with a strict description of the fields we want back:
- the supplier's name and GSTIN, the bill number and date;
- for every line: item name, HSN, batch, expiry, quantity, free quantity, MRP, rate, discount percentage and GST rate.
Because the answer must fit that structure, you do not get a paragraph of text to clean up. You get a purchase bill, already laid out in the same grid you would have typed into.
Matching lines to your items
A supplier calls it "PARACETAMOL 650 TAB 15'S"; your item master calls it "Paracetamol 650mg". After reading, each line is matched against your existing items by name, and the ones it cannot place are left for you to pick or create. This step is deliberately rule-based: you should be able to see why a line matched, and correct it once.
Where a person still looks
We do not post AI-read bills automatically, and we would advise against any software that does. The screen shows the read lines for checking, and three things deserve your eye every time:
- Totals. The bill total in Tatva ERP should equal the printed total. If it does not, one line is wrong.
- Expiry dates. "06/27" is June 2027; a smudged photo can turn a 6 into a 5.
- Free quantity. Schemes are printed in many styles ("10+1", a separate column, a note at the bottom). Check that it landed in the free quantity box, because it changes your real cost.
Why real cost matters here
A scheme of 10+1 at ₹100 is a cost of ₹90.91 a unit, not ₹100. Tatva ERP works out landed cost as rate less line and bill discount plus a share of the bill's freight and other charges, so the profit reports and the "below cost" warning at the sale counter use the number you really paid.
Excel suppliers: no AI needed
Many distributors email an Excel or CSV. For those, AI is the wrong tool. Tatva ERP lets you map the columns once and saves that layout for the supplier, so every later file imports in one step with no reading errors at all.
Privacy and cost
The invoice image goes to the AI provider only to be read; what comes back is saved in your company's own data, on servers in India. A company can also add its own document AI key in Configuration if it prefers to use its own account. Reading is limited to a sensible number of pages and calls per minute so one large upload cannot hold up everyone else.
The aim is not to remove the person from purchase entry. It is to turn twenty minutes of typing into two minutes of checking.
This is the same approach to AI our parent company, Kentron Technologies, takes across its products: automate the transcription nobody should be doing, and keep a human on the decision. If you would like to see it on one of your own supplier bills, book a demo and bring a bill.