What is the difference between template OCR and AI vision for reading invoices?
Template OCR turns the page into text and pulls each field from a fixed position you set up per supplier layout. AI vision reads the whole page, layout and text together, and fills named fields without a template. Templates suit a few stable layouts; AI vision suits many suppliers and photos, if every value is checked.
How template OCR works
An OCR engine converts the image into characters and their positions. Someone then draws zones or writes rules for each supplier format: the quantity sits in this column, the invoice date sits after this label. Once a template is built, the same layout is read the same way every time.
The weak point is change. A new supplier, a redesigned invoice, a skewed phone photo or a second page of line items can push values out of their zones, and the tool either misses them or reads the wrong cell without knowing it.
How AI vision works
A vision model looks at the image and uses the layout, labels and wording together to decide which number is the quantity and which is the rate. It needs no per supplier template, so a new format or a crumpled photo can still be read.
Its weak point is different: a model can misread a value or place a number in the wrong field with full confidence. Good practice is to fix the output to a schema of named fields, run at temperature 0 so the reading is not sampled at random, leave a field empty when it is not visible, and check every result with rules.
Which to choose
- Few suppliers, stable layouts, high volume of identical documents: template OCR is predictable and cheap to run once set up.
- Many suppliers, mixed PDFs and photos, frequent new formats: AI vision avoids building and maintaining hundreds of templates.
- Either way, carbon figures need unit checks, a recalculation of quantity times factor, and a link from every number back to its source file.
How to test any tool on your own invoices
- Pick 50 to 100 real documents, including photos, multi page PDFs and your messiest supplier.
- Write down the correct quantity, unit, date and HSN code for each line yourself.
- Compare field by field and count errors per field, not per document.
- Check what the tool does when a field is missing: an empty field is safer than a guessed one.
- Ask whether you can open the source file from any figure in the output.
Illustrative template upkeep for a mixed supplier base
- Suppliers: 120, of which 30 send two invoice layouts = 150 templates to build
- Each quarter: 10 new suppliers + 5 redesigned layouts = 15 more templates to build or fix
- Over a year: 15 x 4 = 60 template changes on top of the first 150
- An AI vision reader needs none of these, but every extracted value still goes through the same rule checks
Supplier and layout counts are illustrative. Count your own suppliers and layouts before choosing an approach.
What Senseible does here
Senseible reads tax invoices, electricity bills, fuel slips and freight records, as images or PDFs, with an AI vision model at temperature 0 and a fixed schema, leaving absent fields null. Each line then goes through rule checks, with penalties for a missing quantity, unit or factor and for low OCR confidence.
- Can AI calculate a footprint accurately?
- Why AI gives different numbers
- Will auditors accept AI extracted data?
Sources: GHG Protocol Corporate Standard, Chapter 7 (managing inventory quality)
Last reviewed 2026-10-16.