---
id: KB-GL-016
url: https://app.codecontract.io/help/glossary/what-is-an-extracted-value
idioma: en
categoria: glosario
subcategoria: documentos
audiencia: usuario
nivel: basico
actualizado: 2026-08-13
tambienEn: [es]
relacionados: [KB-GL-010, KB-DI-016]
citadoPor: [KB-GL-020]
---

# What is an extracted value

_The difference between the document and what was pulled out of it, and why they are not worth the same._

**Responde a:** what is an extracted value · difference between document and data · ai extracted fields · why does the value not match the pdf

**Extracted value** — A specific value — a date, an amount, a batch number — read from inside a document and stored alongside it, without replacing it, so it can be searched, compared and used for alerts.

It is the most misunderstood piece of the system, and the confusion has practical consequences: many people assume that if the value is wrong the document is wrong, or that if the value is right there is no need to look at the document. Both are false.

## What each one is

| Aspect | The document | The extracted value |
| --- | --- | --- |
| What it is | The original file exactly as it arrived | A value read from it |
| What it is for | It is the evidence | It is what enables search and alerts |
| If they disagree | The document wins | The value gets corrected |
| Can it be corrected | No, it is what it is | Yes, and there is a record of who did it |

> [!IMPORTANT]
> The third row is the rule that settles almost every doubt: **on any discrepancy, the document wins**. The value exists so you can find and control things; the evidence is still the file. That is why correcting a misread value is not "falsifying" anything — you are adjusting the index, not the original.

## What having them is for

**En corto**

- Searching inside: finding a delivery note by its number without opening a hundred.
- Alerting: if the expiry date is extracted, the warning can exist.
- Comparing: cross-checking what two documents on the same matter say.
- And counting: producing a report without opening documents one by one.

> [!WARNING]
> The nuance you cannot deduce: a document **with no extracted values is still there and still works as evidence**. All it loses is being searchable by content and being able to warn about its dates. It is the difference between an archive that stores and one that also works — and it explains why an unread scan feels "absent" even though it displays perfectly.

## When to check by hand

1. **If it feeds an invoice or a mandatory record** — Any figure going outward gets checked against the image.
2. **If the document was handwritten or corrected** — There, reading returns plausible values that may not be the written ones.
3. **And if the value decides something** — An expiry that triggers a block deserves thirty seconds of checking.

> [!NOTE]
> Each AI reading of a document is an action and consumes; consulting the extracted value afterwards as often as you like does not. Hence deciding which fields matter per document type instead of extracting everything from everything.

**Can I add a value that is not in the document?**

You can note it, but it should be distinguishable from what was read: they are not the same.

**Does correcting the value change the document?**

No. The document is never touched.

**What if the document is replaced by a new version?**

Values are re-read from the new version; the previous one keeps its own.

## Ejemplos

**Someone sees the extracted date does not match the PDF and assumes the document is wrong.**

- Checks the image and corrects the value, which was what was off

→ The expiry alert is right again and the document remains intact as evidence.

**A figure is corrected and people think the document changes.**

- Checks the document is unchanged

→ The evidence stays intact even as the figure is adjusted.

**A search by amount does not return the document.**

- Checks whether that field was extracted

→ You know whether the figure is missing or the document is.

**Two different documents give the same figure.**

- Looks at which one each came from

→ You can reach the source from the figure itself.

**An extracted figure is used in a report without review.**

- Approves first whatever was flagged as uncertain

→ The report rests on checked data.

**Somebody edits a figure and nobody knows it changed.**

- Checks the figure's history

→ The correction has an author and a date.
