What the extractor proposes and what Logley relies on are kept apart. A value becomes something the product builds on (a figure in a report, evidence of who issued an invoice, a reason to approve) only when the page supports it or a person has confirmed it.
The rule, field by field
A language model writes well-formed values whether or not the page holds them, and checking a value’s shape cannot tell the difference. So every value that can be checked is compared with the text the document was read from:
| Kind of value | Found when | Checked on |
|---|---|---|
| Amount | It equals a number printed on the page, to the cent. The sign is ignored (a credit note may print 300,00 where the extraction reads −300.00), and zero is not checked. | Invoice net, VAT, gross and insurance; the amounts of receipts, customs declarations, contracts and transport orders |
| Date | The same day is written on the page in any common form, month names included; an ambiguous 12/08 counts either way. | Every type’s dates except a customs declaration’s |
| Name | At least half its significant words appear, one of them distinctive rather than boilerplate like “Transport Sp. z o.o.”. Accents and case are ignored. | The parties on every type except a customs declaration |
| Tax ID | Its digits appear on the page, and it passes its country’s checksum where Logley knows the format. | Invoice supplier and buyer; transport order carrier |
| Reference | It appears on the page, ignoring spaces and punctuation. | Document numbers except a customs declaration’s, and the invoice a receipt pays |
A value read by a deterministic tier skips the presence check (it came off the page in the first place), though a tax ID’s checksum always applies. Currency has no rule. Route cities on invoices and CMRs are checked and the result recorded, but a failure there does not by itself send a document to review.
What happens to a value that fails
A value that fails is not erased, so the reviewer sees exactly what was proposed. It is marked instead:
- It says why, in words, beside the value: Not found on the document, or Fails the tax ID check for a tax ID. The Needs attention panel says the same in a sentence, and the field’s confidence is capped at 30%, below every review threshold.
- The document goes to Needs review, flagged Fields need review, and an invoice there is not auto-approved.
- Logley stops building on it: an unsupported invoice amount or date is left out of the figures the finance pages, aging, exchange-rate and payment matching read; an unsupported supplier name is not recorded as the document’s supplier; an unsupported party or tax ID is not evidence of who issued the invoice.
- A correction by hand clears the verdict — typed input is its own evidence.
A tax ID whose digits are on the page but fail the checksum is different: nothing was invented, so the rest of the record is not doubted. It is flagged Tax ID failed validation, and if the paper itself is wrong, only the issuer can correct it.
Abstention: an empty field on purpose
The first defence is not to propose a value at all. The model is told that a field the document does not print is null, and the deterministic tiers stay silent when the page says two different things. An empty field shows as a dash, and on an invoice a missing gross amount, currency, supplier or invoice number is enough by itself to stop auto-approval.
Invoices get a second layer: each committed value is located in the page’s text, which is what the quote mark and Found on page 1 (or whichever page) beside a field show. A value nobody can point to is uncited, and the organization’s evidence gate decides what that means:
| Position | What an uncited value does |
|---|---|
Off | Nothing is located or recorded. |
Shadow | Citations are recorded and uncited fields named, but nothing is held. This is the default. |
Enforce | The field’s confidence is capped, the document goes to review naming the field, and auto-approval is blocked. |
The position is stored per organization and falls back to the server setting Extraction:EvidenceGate, which ships as Shadow; no page in the product changes it. An enforcing organization whose abstention rate passes 2% of the documents evaluated in a week (once at least 20 have been) is switched back to Shadow automatically, with a critical alert, Evidence gate reverted to shadow. Evidence Abstention on the STP dashboard shows the rate in Shadow too.
When values disagree
Some errors show only between fields. When an invoice carries all three amounts, net plus VAT must equal gross within 1.00 or 2%, whichever is larger, and its due date may fall at most seven days before the issue date and at most a year after. Otherwise the document goes to review with a warning showing the numbers. Which value is wrong is deliberately not guessed, because the sum proves only that they disagree.
Flags that say what to do
Each problem arrives as a flag in three parts (what it is, what happened, and How to fix:) in the Needs attention panel at the top of the document. The checks on values raise these:
| Flag | Raised when | How to fix, as the product puts it |
|---|---|---|
| Fields need review | A value failed the evidence check, or another check on the values left a warning. | Open the document and correct the flagged fields. |
| Tax ID failed validation | A tax ID printed on the page fails its checksum or format check. | Verify the number against the original; correct it if misread — if the paper itself is wrong, contact the issuer. |
| Poor scan quality | OCR read the text at under 60% confidence, so values may hold misreads. | Compare the highlighted fields against the original; re-scan at higher quality if needed. |
Needs attention (3)
Poor scan quality
Text was read at only 54% OCR confidence — values may contain misreads.
How to fix: Compare the highlighted fields against the original; re-scan at higher quality if needed.
Tax ID failed validation
A tax ID on this document fails its checksum or format check.
- Supplier Tax ID 5842746590 is not a valid tax ID.
How to fix: Verify the number against the original; correct it if misread — if the paper itself is wrong, contact the issuer.
Fields need review
Some extracted values could not be verified against the document.
- Net Amount: this value could not be found on the document.
How to fix: Open the document and correct the flagged fields.
Missing is not zero
A figure Logley could not establish is shown as missing, never replaced by one that looks like an answer:
- An invoice in another currency with no rate on file for its issue date or any earlier day keeps its own amount; its base-currency amount stays empty and it is flagged Exchange rate missing.
- A total that cannot convert a currency leaves those invoices out and says how many, in which currencies. A total worked out from Logley’s built-in default rates, because none have been set, says so too.
- An amount held back by the evidence check leaves its finance figure empty, and the invoice export writes an empty cell, never 0, for a value that was never read.
- A field the extractor gave no score is not called doubtful: Extracted Data says nothing beside it, rather than read the missing score as a low one.
What the check cannot tell you
- That the page is right. A digit misprinted on the paper passes, and so does one OCR misread before extraction saw it. On a scan, the scan is hard to read here beside a citation is the hint to read.
- That a passing value is correct. The check leans towards accepting (it would rather miss an invented value than accuse a real one), so treat a flag as a prompt to look, not as a verdict, and a pass as no proof.
- That everything was checked. Currency is not checked, route cities are only recorded, and citations exist for invoices only.
- That nobody sees a flagged value. The invoice list, the invoice record and automation rules read the record as extracted. The flag and the Needs review status are what say it is not yet to be relied on.