A misread date can put an event on the wrong day. A correct amount in the wrong column can change an order. AI helps turn documents into data, but the decisive step is checking that every value retains its meaning before anyone uses it.
This article focuses on that checkpoint. For an overview of the whole workflow, start with our guide to automating document processing with AI. Here we address a narrower question: what should happen between reading a document and updating an application?
Reading a document and understanding its fields are different tasks
OCR recognises text in an image. Structured extraction adds a relationship: this figure is the total, this date is the start and this name is the organiser. A system can read the words correctly and still get those relationships wrong.
JSON is one way to deliver fields to another application. A valid file only shows that it follows a structure; it does not confirm that a date exists, a location is correct or the document is the current version.
| Level | What to check | Example of an error |
|---|---|---|
| Format | The output follows the agreed schema and types. | A date arrives as unnormalised text. |
| Content | The value matches the document and belongs to the right field. | A registration deadline is treated as the event date. |
| Process | The record, version and destination are correct. | Correct data updates the wrong record. |
What recent research adds
From Pixels to Structure, posted to arXiv on 8 October 2026, evaluates eight small models on German university archives. Accurate reading does not ensure correct field assignment; adding examples does not always help. Applying these findings to Galician event posters or local government records requires a separate evaluation.
Example of application: from a poster to an event record
A poster may show an event date, a registration deadline and several times. The system proposes a title, start date, time, venue and organiser. Each field retains the page or image region that enables a reviewer to check it.
If the year is missing, the location is ambiguous or a figure is unreadable, the field remains undetermined. Human review resolves the uncertainty; the model should not fill the gap with an assumption. Corrections must also reach translations and connected systems.
- Check that dates and times have usable formats.
- Separate the event date from the registration deadline.
- Check that the venue identifies the intended space.
- Compare existing records to avoid duplicates.
- Prepare a draft and confirm the fields before publishing.
The same principle applies to businesses: separating subtotal and total on an invoice, issue date and expiry date in a contract, or a supplier reference and an internal code on an order.
How to prepare a small, measurable test
Start with one document type and an agreed list of fields. An initial sample of twenty documents can reveal obvious failures; it cannot establish the performance of an entire service. Include clean examples, difficult scans, multiple dates and missing information.
Someone who knows the process prepares the expected answers. Keep some examples for evaluation rather than using them to tune instructions. Run in observation mode first: the AI proposes data but does not update systems or publish.
| Measure | How to observe it |
|---|---|
| Field accuracy | Count correct values, errors and missing values against human review. |
| Critical errors | Track dates, amounts, identifiers and other sensitive fields separately. |
| Invented data | Record proposed values without source support. |
| Total work | Add reading, review, correction and entry into the destination system. |
| Operating cost | Include execution, infrastructure and staff time. |
For an initial poster test, an illustrative target could be 95% accuracy on date, time and venue, no invented data and less total time than the current method. This is neither an achieved result nor a universal threshold. Criteria depend on risk and volume; a single incorrect critical date can justify stopping the integration.
The system connection needs its own controls
After validating extraction, check permissions, the destination record and the application's response. A retry must not create two records. An API accepting an update should be followed by a read to confirm what was actually saved.
The original document must remain available to authorised reviewers. Define what evidence is retained, who can see it and for how long. When comparing a local model, include hardware, maintenance and quality; hosting on your own infrastructure does not by itself guarantee reliable extraction.
In local government, proposed data does not replace professional review or an administrative decision. The responsible person must be able to correct, reject and continue through the usual procedure.
Where to start in your organisation
Choose a document that arrives frequently, fields currently copied by hand and someone able to validate the result. If the format is stable, check whether a form or conventional rule solves the problem first. AI adds value when interpreting the input is necessary.
At Portocelo, we approach document intelligence through the process: sources, fields, review and integration. Tell us what documents you receive, where the data needs to go and which errors you cannot accept. That information helps define a pilot with verifiable deliverables.
From knowledge to a working process
Which data do you need from your documents?
We review the input, fields and destination to define an extraction test with controls and acceptance criteria.
Explore document intelligence ↗


