Home · Document AI

Extraction that survives real paper.

Smudged invoices, 400-page KYC bundles, faxed carbon copies, handwritten delivery notes, land records from 1974. CItructure reads all of it, works out what it means, and hands the result to something that finishes the job.

harbour_invoice_2291B.jpg · 1.4 MB · 300 dpi · skewed
citructure runtime · v4.2
Harbour Steel & Alloys Pvt. Ltd.
Plot 14, MIDC Industrial Estate, Pune 411026
GSTIN 27AACCH1234F1Z5
TAX
INVOICE
Invoice no.HS-2291-B
Issue date14 Aug 2026
PO ref.PO-88117
TermsNet 45
DescriptionQtyRateAmount
CR sheet 1.2 mm, IS 513 D18 coils62,400.0011,23,200.00
Galvanised strip 900 mm640 kg104.0066,560.00
Freight - Pune to Nashik19,200.009,200.00
IGST @ 18%2,15,812.80
Total payable₹14,14,772.80
2 coils short - hold pmt, RK
Page 1 of 3 · Original for recipient · E&OE
STRUCTUREDCITRUCTURE · 3.8s
extraction.json reading…
0 of 8 fields · schema ap.invoice.v3
01Understanding 02OCR 03Operations 04Document types 05After extraction
01 · Document context understanding

Fields are easy. Meaning is the product.

Anyone can pull a total off an invoice. The hard part is knowing that the handwritten note in the margin contradicts line three, that page 214 of the loan file is the amendment that supersedes page 40, and that this claim references a policy that lapsed in March.

We model the document the way a reviewer reads it: layout, hierarchy, references, and the relationships between values - then bind the result to your schema, not ours.

  • Zero-template extraction across thousands of layouts
  • Nested tables, continuation pages, multi-currency line items
  • Clause and reference resolution across a bundle
  • Reconciliation against POs, GRNs, policies and ledgers
  • Every field carries a confidence and a page-region citation
output · ap.invoice.v3
{
  "invoice_no": "HS-2291-B",
  "supplier": {
    "name": "Harbour Steel & Alloys Pvt. Ltd.",
    "gstin": "27AACCH1234F1Z5",
    "matched_vendor_id": "V-10442"
  },
  "lines": [
    { "desc": "CR sheet 1.2 mm",
      "qty": 18, "uom": "coil",
      "grn_qty": 16,
      "variance": -2 }
  ],
  "total": { "amount": 1414772.80,
              "currency": "INR" },
  "margin_note": {
    "text": "2 coils short - hold pmt, RK",
    "handwritten": true,
    "confidence": 0.74,
    "contradicts": "lines[0].qty"
  },
  "citations": [ page 1 · bbox … ],
  "route": "human_review"
}
Classify

Split and name

A 412-page scan becomes 39 typed, ordered, correctly named documents in the right queues.

Compare

Diff two versions

Contract v4 against v7: what changed, who benefits, what needs legal's eyes.

Ask

Query the archive

Grounded assistants that answer with the clause, or say plainly that they don't know.

Redact

Strip identity

PII and PHI removed at ingest, before storage, before inference, before anything leaves.

internal benchmark · hard-page set (n = 4,200)
Clean digital PDF99.7%
300 dpi flatbed scan99.1%
Phone photo, skewed, glare97.4%
Faxed carbon copy, 150 dpi94.2%
Cursive handwriting, ruled note91.6%
Below your threshold → routed to a reviewer, page open at the region.
02 · OCR & handwriting

Built for the pages that break other engines.

Nobody has trouble with a clean PDF. Production is a faxed carbon copy with a rubber stamp over the invoice number, photographed at an angle on a loading dock in poor light - and then a delivery note somebody wrote by hand.

  • Deskew, dewarp, denoise, shadow and stamp removal
  • Printed and cursive handwriting, including mixed on one page
  • English alongside Devanagari, Bangla, Tamil, Telugu, Urdu and more
  • Word-level coordinates, so every value points back at a pixel region
  • Checkbox, signature, seal and table-structure recognition
03 · Operations

Five things we do to a document, in order.

Each one is an API call on its own if that is all you need. Most customers chain the lot.

OP 01

Read

OCR, handwriting, layout analysis, table structure, checkbox and signature detection.

OUT text · coordinates · confidence
OP 02

Classify

Page-level typing, bundle splitting, duplicate detection and automatic file naming.

OUT doc type · page ranges
OP 03

Extract

Your schema, filled. Nested tables, line items, references and relations between values.

OUT typed fields · citations
OP 04

Verify

Arithmetic checks, master-data lookups, three-way match, policy and threshold rules.

OUT pass · flag · human queue
OP 05

Act

Post it, route it, answer with it, or hand it to an agent that closes the exception.

OUT ERP · queue · assistant
04 · Document types

What we already have schemas for.

A new type is normally days, not months - there is no template to draw and no rules to write. This is simply where we have already done the work.

Document familyTypical difficultyWhat makes it hardTarget straight-through rate
Invoices & credit noteslowThousands of layouts, multi-page line items, tax variants94%
Purchase orders & GRNslowMatching across three systems that disagree96%
Bills of lading & delivery notesmediumCarbon copies, stamps, handwritten quantities88%
KYC & identity packsmediumMixed bundles, photo IDs, regional scripts91%
Loan & credit fileshigh400+ pages, amendments that supersede earlier terms82%
Insurance claimshighPhotos, estimates, policy references, handwriting79%
Contracts & agreementshighClause resolution, defined terms, version diffsreview-first
Clinical & lab reportshighWard notes, abbreviations, PHI that must never leavereview-first
Land & municipal recordshighDecades-old scans, regional scripts, faded ink71%
Customs & trade documentsmediumMulti-language, HS codes, inconsistent forms89%

Straight-through rate = processed with no human touch at the confidence threshold most customers pick. Everything else routes to a reviewer rather than guessing.

05 · After extraction

A JSON file is not an outcome.

This is where document AI usually stops and where the work actually starts. The extraction is the input to an agent that finishes the task - the same agent runtime described on the solutions page, pointed at paperwork.

Finance ops

Three-way match & exceptions

Invoice, PO and goods receipt reconciled automatically. Short supply raises the debit note, holds payment and emails the vendor - under an approval gate you define.

Back office

Case assembly

Claims, KYC and pre-authorisation packets assembled from a pile of scans, cross-checked, and returned with an explicit list of what is missing.

Knowledge

Ask the archive

A grounded assistant over everything you have processed. It answers with the page, the clause and the paragraph - or says plainly that it does not know.

Start here

Send us the ten documents nobody wants to open.

We come back in two weeks with a working prototype on your own data, a measured per-field accuracy number, and an honest list of what it still cannot do.

Two-week proof of concept · Your data, your infrastructure · No lock-in