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

AI Invoice Extraction for Indian Bills: Handwritten Bills, GSTIN, Tax Lines, Rounding and WhatsApp Photos

How AI reads Indian bills: handwritten kachha bills, mixed-language text, GSTIN and HSN, CGST/SGST/IGST lines, rounding, WhatsApp photos, and accuracy.

By the TaskAutomate team. Published , 8 min read.

AI invoice extraction reads a bill (a PDF, a scan or a phone photo) and turns it into structured fields: supplier, GSTINs, invoice number and date, each line item, the CGST, SGST or IGST amounts, and the totals. On Indian bills the hard parts are not the totals but the details: handwritten kachha bills, item names in Hindi or a regional language, a misread character in a GSTIN, tax split across two lines, and a round-off of a few paise. Because no reader is right on every field of every bill, a useful system scores its confidence and puts a person between the extraction and your books.

This post is about how the reading works on Indian bills specifically, and what accuracy really means. If you are choosing between tools, the companion post on how to compare invoice extraction tools on your own bills gives a test method. For where extraction sits among other AI uses in accounting, see AI tools for accounting in India, task by task.

What extraction actually produces

Older OCR returns a block of text. AI extraction returns labelled fields, which is what an accounting entry needs. (The difference is covered in more depth in invoice OCR vs AI extraction.) For an Indian purchase bill, the useful output looks like this:

FieldHow it looks on an Indian billCommon trap
Supplier GSTIN15 characters near the supplier nameO read as 0, B as 8, I as 1
Buyer GSTINUnder "Bill to" or "Consignee"Ship-to and bill-to GSTINs swapped
Invoice number"SLH/24-25/0812", "Inv No. 45"Picking up a challan or PO number instead
Invoice date14/10/26, 14-Oct-2026, 14.10.2026Day and month swapped
Line itemsDescription, HSN, qty, rate, amountWrapped descriptions split into two rows
TaxCGST 9% and SGST 9%, or IGST 18%Rate read as amount, or one half missed
Round off"Round off (-) 0.25"Ignored, so totals do not tie
Grand totalOften also written in wordsAmount in words and figures disagree

GSTIN: the field you can check

A GSTIN has a structure, so you never have to just trust it. It is 15 characters: a 2-digit state code, the supplier's 10-character PAN, an entity number, the letter Z, and a check character calculated from the other 14. A single misread character almost always breaks the check character, so a format and checksum test catches most extraction errors on this field. You can try one in the free GSTIN checker.

The state code also decides the tax. If the supplier's GSTIN starts with 27 (Maharashtra) and yours starts with 29 (Karnataka), the supply is inter-state and the bill should carry IGST. If both start with 29, it should carry CGST and SGST in equal halves. A good extraction pipeline reads both GSTINs and checks that the tax type on the bill agrees with them.

One limit to know: a valid checksum shows the GSTIN is well-formed, not that it is registered and active. That needs the GST portal's Search Taxpayer.

HSN and SAC codes

Many supplier bills print an HSN (goods) or SAC (services) code per line. Small kirana and hardware bills often leave it out. Extraction should capture the code where it exists and leave it blank where it does not, rather than guess. If you rely on HSN for your own reports, check whether your tool reads it by default or needs it added as an extra line field.

Tax lines and GST 2.0 rates

A typical intra-state bill from a Bengaluru hardware shop: three lines totalling ₹8,400, CGST 9% ₹756, SGST 9% ₹756, total ₹9,912. The reader has to see both halves, assign each to the right tax head, and check that ₹8,400 + ₹756 + ₹756 equals the total.

Rates matter too. Since GST 2.0 took effect on 22 September 2025, the main slabs are 5% and 18%, with 40% for a short list of sin and luxury goods; the 12% and 28% slabs were removed. Bills dated before that still carry old rates, so a reader (and any rate check) must accept 12% and 28% on older bills rather than flag them. Gold, silver and jewellery stay at 3%, and rough diamonds at 0.25%.

If a bill only shows a GST-inclusive total, the taxable value is total × 100 ÷ (100 + rate). The reverse GST calculator does this for you.

Rounding

Indian bills are rounded to the rupee. A bill with taxable value ₹2,437.50 and 18% GST comes to ₹2,876.25, printed as ₹2,876.00 with "Round off (-) 0.25". If the reader skips the round-off line, the voucher does not balance, and in Tally that difference needs a Round Off ledger in the entry. A sensible check allows about a rupee of tolerance between subtotal plus tax and the grand total, and flags anything larger.

Handwritten and kachha bills

A handwritten bill from a local supplier is the hardest common case: no fixed layout, individual handwriting, and often no GSTIN or tax split at all. Modern AI can read these row by row when a person could read them, but confidence is naturally lower, and the fields most likely to be wrong are quantities and rates written close together.

Two practical points. A bill with no GSTIN and no tax shown has no GST to split, so it should be entered as a plain expense, usually through a Payment voucher (F5) if it was paid in cash, rather than a Purchase voucher (F9) with input tax. And the review step matters most here, because a misread 7 as 1 in a quantity changes the amount without breaking any check.

Hindi and regional-language text

Many Indian bills are mixed: printed header in English, item names handwritten in Hindi, Marathi, Kannada or Tamil, numbers in Western digits. General AI models handle mixed text better than older OCR did, but quality varies by script, handwriting and photo. No tool should be trusted on this from a brochure. Put a few of your own mixed-language bills in any trial and check the line descriptions, not only the totals.

WhatsApp photos

Most bills in Indian SMBs now arrive as WhatsApp photos from site staff, drivers or the shop counter. WhatsApp compresses images, which hurts small print. What helps:

  • Send the bill as a document (PDF or original image file) when possible, not as a compressed photo
  • Photograph flat, from directly above, with the full bill in frame
  • Avoid shadows across the totals and the GSTIN
  • Send all pages of a multi-page bill as one PDF, so it is read as one bill
  • Faded thermal slips: photograph them the day you get them

What accuracy means, and why the review step stays

"99% accurate" means little until you ask: 99% of what? Field accuracy and bill accuracy are very different. If a bill has 20 fields and each is read correctly 98% of the time, the chance that every field on the bill is right is 0.98 to the power of 20, about 67%. At 99% per field it is about 82%. So even a very good reader produces bills with at least one wrong field regularly.

Not all errors cost the same. A wrong line description is cosmetic. A wrong GSTIN, invoice number, taxable value or tax amount flows into your purchase register and then into GSTR-2B matching. That is why the useful design is a confidence score on each bill, automatic checks on the fields that can be checked (GSTIN checksum, tax type versus states, totals), and a person who approves the entry beside the original before it posts. The goal is not zero review; it is review that takes seconds on clean bills and points you to the problem on bad ones.

Where TaskAutomate fits

TaskAutomate's bill reading reads vendor name, invoice number and dates, supplier and buyer GSTIN, vendor PAN, every line (description, quantity, rate, amount), CGST, SGST and IGST with rates, and the totals, from printed, handwritten and thermal bills, photos and multi-page PDFs. HSN or other extra fields can be added as an optional template field read on every line. Bills can come in through WhatsApp capture (JPG, PNG or PDF up to 10 MB) or upload.

Each bill shows a confidence score in the review screen, and seven GST checks run, including the GSTIN checksum, CGST equal to SGST, the right tax type for the two states, and totals within ₹1. Nothing posts to Tally until a person approves it. We have not published an accuracy benchmark and have not benchmarked Hindi or regional-language bills, so test your own bills in the 14-day trial (100 bills, no card).

Quick answers

Can AI read handwritten Indian bills?

Yes, when a person could read them. Confidence is lower than on printed bills, so review the quantities and rates on handwritten bills carefully.

Does AI extraction check the GSTIN?

It should. A format and check-character test catches most misreads, and the state code tells you whether the bill should carry IGST or CGST plus SGST. It does not confirm registration; use the GST portal for that.

How accurate is AI invoice extraction?

It depends mostly on the document. Clean PDFs from billing software read near-perfectly; creased thermal slips and blurred photos do not. Measure on your own bills, field by field.

Do I still need to review extracted invoices?

Yes. Even high per-field accuracy leaves a share of bills with one wrong field, and errors in GSTIN or tax amounts carry into your GST returns.

Is a WhatsApp photo good enough?

Usually, if it is flat, sharp and complete. Sending the file as a document avoids WhatsApp's compression.

For purchase orders, payment terms and multi-line supplier invoices between businesses, see B2B invoice extraction and automation.