Skip to content
Document IntelligenceBusiness Outcomes

GST-Compliant Invoice Data Extraction for Indian Finance Teams

INFIQON Insights7 min read

Document-extraction vendors demo the same thing everywhere in the world: an invoice goes in, a supplier name, an invoice number, a date and a total come out. For an Indian finance team that demo proves almost nothing. The fields that decide whether an invoice can be posted, whether input tax credit can be claimed, and whether the books will reconcile at the end of the month are the tax fields — and those carry structure, arithmetic and statutory meaning that a generic extraction model was never asked to respect.

The gap shows up predictably. A pilot reports 95% field accuracy, the AP team goes live, and three months later the GST cell is still working through a mismatch list that grew rather than shrank. Nothing was wrong with the model. The wrong things were being measured.

What a GST-complete invoice record actually contains

Before choosing any tool, write down the field set that your posting and compliance processes genuinely need. For most Indian businesses it is materially longer than the vendor's default schema.

  • Supplier and recipient GSTIN, both validated for the 15-character structure — state code, PAN, entity number, checksum — not merely transcribed as a string.
  • Place of supply, which decides whether the levy is IGST or the CGST/SGST pair. Get this wrong and the tax heads are wrong even when the total is right.
  • Taxable value, rate, and the tax amount per rate slab — separately, because a single invoice routinely carries line items at different rates.
  • HSN or SAC codes at line level, with the digit-length your turnover band requires.
  • Invoice-level totals: taxable value, total tax, any cess, rounding adjustment, and invoice value — which must tie to each other.
  • Reverse-charge flag, export or SEZ indicators, and any LUT reference where applicable.
  • TDS under section 194Q or TCS under 206C(1H) where the counterparty relationship triggers it, since these change the payable amount rather than the tax credit.
  • For e-invoices: the IRN and the signed QR payload, which is the authoritative version of the document.

That last point deserves emphasis. Where e-invoicing applies — and the turnover threshold has been lowered repeatedly, so check where your suppliers currently sit — the PDF is a rendering, not the source of truth. The signed QR code carries the government-registered values. Reading it is a parsing problem with a definitive answer, not a recognition problem with a confidence score, and any extraction pipeline that ignores it is choosing the harder path for the documents that matter most.

Validation is arithmetic, and arithmetic is free accuracy

A GST invoice is an internally consistent document. Line taxable values sum to the invoice taxable value. Tax per slab equals taxable value times rate. Taxable value plus tax plus cess plus rounding equals invoice value. IGST and the CGST/SGST pair are mutually exclusive. These are not heuristics; they are properties the document must satisfy to be valid.

That makes them the cheapest quality control available. Any field set that fails the cross-foot is wrong somewhere, and the system knows it before a human ever sees it. Pipelines built this way behave very differently from pipelines that trust a per-field confidence score: instead of a reviewer hunting for the error, the system arrives at the review queue saying which constraint broke. In practice, arithmetic validation catches a large share of the residual extraction errors that survive a good model, and it catches them deterministically.

GSTIN validation adds a second deterministic layer. The checksum tells you the number is well-formed; the state code should agree with the place of supply logic; and the registration status can be checked against the portal rather than assumed. A supplier GSTIN that is cancelled as of the invoice date is not a data-entry question, it is a credit-eligibility question, and it is far cheaper to answer at capture than at filing.

The real deadline: GSTR-2B reconciliation

Indian AP automation has a constraint most global tooling does not model. Input tax credit is available on the strength of what the supplier has reported, surfaced monthly in the auto-drafted GSTR-2B statement. Your purchase register has to be reconciled against it, and every unmatched line is either a supplier who has not filed, a document your team captured differently, or a credit you are about to lose.

This is why extraction quality is a working-capital issue and not a productivity issue. A mistyped GSTIN, an invoice number captured with a different separator, or a tax amount split across the wrong heads all produce the same outcome: a line that will not match, an exception that consumes analyst time every month it stays open, and a credit at risk of expiring against the statutory time limit for claiming it.

  • Normalize invoice numbers at capture — case, spacing, leading zeros and separators — and keep the raw string alongside the normalized one for audit.
  • Match on a composite key (supplier GSTIN, invoice number, invoice date, taxable value) rather than any single field, with tolerance only where your business genuinely tolerates it.
  • Classify unmatched lines by cause — not yet filed, filed with differences, missing in books, wrong period — because each cause has a different owner and a different action.
  • Track ageing on the exception list. An unmatched line that is 90 days old is a different risk from one that is 9 days old.

Measure straight-through posting, not OCR accuracy

The headline number vendors quote is character or field accuracy. The number that predicts your outcome is the share of invoices where every field required for posting and for GST reporting is captured correctly with high enough confidence to proceed untouched. Those two numbers can differ by thirty points on the same document set, because one wrong digit in one tax field makes the whole invoice an exception.

Track four things and the programme manages itself: straight-through posting rate, the GSTR-2B match rate in the first pass, exception ageing by cause, and fully loaded cost per invoice including review effort. The exception breakdown is the improvement engine — when it shows that most failures come from a handful of suppliers sending non-standard documents, the fix is a supplier conversation, not a better model.

Confidence thresholds and the review queue

No extraction system should post everything it reads. The workable pattern is graduated autonomy: invoices that pass extraction confidence, arithmetic validation and GSTIN checks post automatically; everything else goes to a review queue with the extracted values pre-filled and the failed constraint named. Reviewers correct rather than re-key, which is roughly an order of magnitude less effort, and every correction becomes training signal for the next cycle.

Start the thresholds conservatively and widen them on evidence. The metric that tells you it is safe to widen is the reviewer override rate — when reviewers are approving the system's output unchanged in a band, that band can move into the autonomous set. This is the same discipline that carried a multinational manufacturer we worked with to 78% touchless posting across 12 country entities: the model kept absorbing each jurisdiction's quirks, while the validation layer kept the trust boundary explicit.

A sensible sequence

Teams that get this right tend to follow the same order. Fix capture first, so every channel — email attachments, portal downloads, scanned paper — lands in one queue with the e-invoice QR read where it exists. Then build the validation layer, because it is deterministic, cheap and it is what makes the extraction trustworthy. Then wire GSTR-2B reconciliation into the same system, so matching runs continuously rather than as a month-end scramble. Extraction accuracy improves throughout, but it is rarely the binding constraint after the first month.

The realistic outcome for a team starting from manual entry is a meaningful straight-through rate within the first quarter and a first-pass 2B match rate that climbs steadily as supplier-side issues get worked out — plus, more quietly, a month-end that stops being an event. If you want a view of where your own AP and compliance stack sits before committing to a build, that is exactly the kind of scope our AI readiness assessment is designed to size.

Talk to the people behind the writing

If this resonates, the conversation is better — book a session and bring your hardest questions.