From paper and PDFs to usable fields
Much of the information a business needs arrives in forms that a computer cannot use directly: a scanned invoice, a PDF from a supplier, a photographed receipt, a letter, a filled-in application. Someone has to read the document and type the relevant details into a system. Document processing tools aim to do that reading automatically, turning a page into labeled fields such as a date, a name, a total or a reference number.
The aim is not to replace careful handling of documents but to reduce the amount of typing, which also lowers the chance of the slips described in the topic of data entry.
How extraction tools generally work
The details vary between products, but the process commonly has several stages:
- Capture. The document is scanned, photographed, emailed or uploaded. Image quality matters: a straight, well-lit, high-resolution scan helps.
- Text recognition. For images and scans, software converts the picture of the page into text. This depends on computer vision techniques that recognize characters. Digital PDFs that already contain text can skip this step.
- Understanding layout. The tool works out where things are: which block is the header, which numbers are in a table, which text is a label and which is its value.
- Field extraction. Using rules, templates, trained models, or a mix, it identifies the fields you care about. Systems built on machine learning and natural language processing can handle varied layouts better than fixed templates, though not perfectly.
- Output. The extracted values are passed to a spreadsheet, database or accounting system, often with a confidence level for each field.
Templates versus flexible extraction
There are two broad styles. Template-based tools expect a known layout. If you receive the same form every time, they can be reliable, but they struggle when the layout changes. Flexible tools aim to find fields in documents they have not seen before, such as invoices from many different suppliers. They are more adaptable but may be less predictable and can make confident mistakes. Which style is a better fit depends on how uniform your documents are.
Smart forms: avoid the problem at the source
The best way to extract data from a document is often to avoid needing extraction. If you control the form, design it so that the answers arrive already structured. A smart form might:
- Use required fields so critical details are never blank.
- Offer dropdowns and date pickers instead of free text.
- Show or hide questions depending on earlier answers.
- Check formats as the person types, such as an email address or a phone number.
- Pre-fill known information.
- Send the answers straight into a workflow.
When documents come from outside, like supplier invoices, you cannot control the layout, and extraction is the realistic route. Many organizations use both: structured forms for internal and customer requests, extraction tools for what arrives from elsewhere. The accounts side of this is explored under invoice processing.
Where mistakes happen
Extraction is imperfect, and the failure modes are worth knowing:
- Poor scans. Skewed, blurry, faded or handwritten text is more likely to be misread.
- Look-alike characters. An “O” and a zero, or a “1” and an “l,” may be confused.
- Misplaced values. A tool may pick the subtotal when you wanted the total, or the invoice date instead of the due date.
- Tables. Multi-line items and merged cells are hard.
- Unusual layouts. Documents that differ from what the tool has seen before can lead to missed fields.
- Languages and formats. Dates such as 03/04 mean different things in different countries.
Some tools also use generative AI to read documents. These may sometimes produce values that look plausible but are not in the document, so verification remains important.
Build a review step
Because errors are possible, a sensible design includes a checking stage:
- Confidence thresholds. Fields the tool is sure about move on; uncertain ones go to a person. The thresholds are a choice you make based on how costly an error would be.
- Cross-checks. Compare extracted values with something else, such as whether line items add up to the total, or whether a supplier name matches your records.
- A review screen. Show the original image beside the extracted fields so a reviewer can confirm quickly.
- Sampling. Even for documents that pass automatically, check a small sample regularly.
Human review matters most for amounts, bank details, identity information and anything with legal or health implications. For these, treat the tool as an assistant that prepares a draft.
Privacy and records
Documents often contain personal, financial or confidential details. Before choosing a tool, ask where the files are stored, who can access them, whether they are used to train models, and how long they are kept. These concerns are covered under data protection and data retention, and they are good items to raise as vendor questions. Also decide how long you must keep the original documents for compliance records, and make sure the extracted data can be traced back to its source.
Getting started sensibly
- Pick one document type, such as supplier invoices or a single application form.
- Collect a varied sample, including bad scans and odd layouts, not just clean ones.
- Measure how often fields are wrong by comparing the tool’s output with the originals.
- Decide on review rules based on what you see.
- Run it alongside the manual process for a while before relying on it.
Results vary widely with document quality and type, so test with your own materials instead of relying on general claims. A modest, well-checked setup that saves some typing is usually better than an ambitious one that quietly introduces mistakes.