Trace extracted fields to their source
Key takeaway
An extracted value is useful only after checking its source passage and scope.
Lessons in this path
How it works
Ask for page and section with each extracted value. Verify units, options and terms. Compare addenda with the base version without assuming they replace everything.
Worked example
An addendum changes validity for only one line. A verifiable draft marks that line and preserves other dates.
How do you check extracted values efficiently, step by step?
Every value in the comparison sheet should be traceable with one click to its passage in the original document. That is not a formality: purchasing decisions are later questioned by management, controlling or auditors, and then the evidence counts, not the table.
- Require the model to return document name, version or date, page and a short verbatim quote for every value.
- Have the application automatically check whether the quote actually appears in the document.
- Mark values without a found quote as “unsupported”, rather than discarding them as errors.
- Manually check unit, quantity basis and scope of the quote.
- Link addenda to the base document and record changes at line-item level.
- Record the check result with name and date in the table.
How do you recognise typical extraction errors?
Extraction errors follow patterns. Knowing them makes reviews more targeted and faster. The checklist helps reviewers focus their attention where errors are common.
| Error pattern | Example | Review hint |
|---|---|---|
| Wrong reference | Option price taken as base price | Check the row header in the quote |
| Unit lost | “12.50” without “per 100 pieces” | Quote must include the unit |
| Table row shifted | Value from adjacent row | Match the item number |
| Addendum missed | Old validity date taken over | List all documents from one supplier |
| Invented value | Plausible discount with no source | Automatic quote check |
| Condition ignored | Discount without its deadline condition | Read the sentence around the quote |
Check first the values that could change the decision, the two or three largest cost items, not every cell in order.
How do you handle versions and addenda?
Negotiations often produce several versions: initial offer, revised offer, addendum by email, a phone commitment confirmed in writing. An addendum rarely replaces the whole offer; it changes individual lines. Keep a small document list per supplier with date and scope, and have the AI state for every value which version it comes from.
If two versions contain conflicting values for the same line and it is unclear which applies, the AI must not resolve this. The sheet shows both values with sources and marks the cell “to clarify”.
Going deeper: automated evidence checks and measuring error rates
The simplest effective measure against invented values is a programmatic quote check: the application searches the extracted document text for the quote provided by the model, tolerating line breaks and whitespace, and checks that the number is contained in the quote. With scanned documents, OCR uncertainty adds to this; fuzzy matching with a tolerance for single characters helps.
To measure reliability, build a set of ten to twenty past offers with manually verified target values. Count per field type: correct, wrong, missing. Missing values are usually harmless in purchasing; wrong values are critical. A model or template change is adopted only if the rate of wrong values on this set does not rise.
Example: the addendum with the shortened validity
A fictional metalworking company compares offers for stainless steel sheets. A week after the offer, supplier B sends an addendum: for one sheet thickness, validity is now only ten days due to raw material fluctuations, while all other lines are unchanged.
The first extraction applies the shortened validity to all lines. The quote check does not fire because the quote exists, but the reviewer, reading the surrounding sentence, sees it only concerns line 3. The team updates the instruction: addenda are extracted line by line, and the quote must include the line number.
Common mistakes
- Checking only whether a value looks plausible instead of matching it against the source.
- Treating addenda as complete new offers.
- Storing sources only as page numbers without a quote, making checks slow.
- Counting missing and wrong values together in the evaluation.
Frequently asked questions
How long should checking a comparison sheet take?
That depends on scope and document quality. With quotes and links to the source, checking the decision-relevant values is usually much faster than a full manual evaluation. Measure the time in the pilot instead of estimating it.
How long must records be kept?
German commercial and tax law sets retention periods that vary by document type. Clarify with your tax adviser or accounting which offer documents and comparison sheets are covered. This is orientation, not legal or tax advice.
Try it yourself
Check three fields against their exact passages and version in a test document.
Check your result
If challenged, you can show exactly where the value came from.