DaletGuard supports civilians affected by armed conflict through Families Beyond War. All sides, no political affiliation. About our humanitarian work

Document Data Extraction With 73 Specialist Readers

Reading a bank statement differs from reading a lease, so document data extraction must change with the type of file. A statement needs transactions and balances, while a lease needs parties, a term, a monthly rent and a due date. DaletParse types each document first, then one of 73 specialist extractors reads it with field models written for that family. A validator written for the same type then checks the result and reports every gap as a finding for review. The readers fall into eight families, and every run follows the same five steps.

Illustration of book, document, barchart for document data extraction
Key takeaway

Each typed document goes to a reader built for its family, with its own field models and validator. A recheck step looks again only at empty fields and returns only values printed on the page.

Why one generic prompt fails on regulated papers each day

Document data extraction often relies on one prompt. That prompt gives every file one answer shape. However, regulated papers differ in what they must contain.

A reviewer cares about the signature on a lease and the net pay on a paystub. Generic document data extraction treats both alike. Therefore, it returns whatever fields the prompt happened to ask for.

Three weaknesses follow from that approach.

  • Missing mandatory fields go unnoticed, because nothing says that a lease without monthly rent is incomplete.
  • Cross-checks are impossible, because totals, dates and percentages cannot be tested by rules that the reader does not know.
  • Silent guesses appear, because a model asked for fifty fields tends to fill gaps that nobody sees.

Specialist document data extraction attacks each weakness. Also, each type fixes its field list, and its own rules check the result. As a result, a gap becomes a visible finding, not a hidden guess.

A diagram of three stacked layers, from the first at the top: Specialist extractors, Mandatory fields.

How the specialist readers are built, from fields to rules

Document data extraction in DaletParse rests on 73 typed readers. In addition, each type ships three code modules.

First, the extractor module defines how the file is read. Next, the models module defines the fields. Finally, the validator module defines the rules for those fields.

These specialist extractors are chosen by the registry type. That type is found during classification and splitting. Indeed, then the record moves on to a validation outcome. Bank statements use a nine-phase route of their own, which the statement extraction page covers.

Hub diagram of 73 specialist extractors serving eight document families
Specialist extractors grouped by the document families that they read.

The eight families group the readers by the papers they serve. Notably, the code keeps one flat registry, but document families help you see coverage. Good document data extraction starts with knowing what each family contains.

DaletParse specialist extraction screen

What the extractors cover, one document family at a time

Document data extraction covers eight families and 73 types. In fact, each family has its own field lists and rules. The next sections name the types in each family.

The bank and credit family has 14 types of papers

Fourteen types cover accounts and credit. Importantly, they include bank statements, loan statements and credit reports. Voided checks and direct deposit forms also sit in this family.

Merchant processing statements belong to this family too. Their validator tests chargeback ratios and reserve levels, which matter to payment underwriters. In addition, these specialist extractors share the nine-phase bank route where it applies.

Tax and income papers form the second of the document families, with eleven types. Overall, they cover how people and firms earn money. The group includes tax returns, W-2 forms, paystubs and payroll reports.

Notably, a tax return carries mandatory fields that its validator lists. Those fields are checked on every run, and mandatory fields are listed in each validator.

Work and school papers form a third family of six types. Besides, these include employment contracts, offer letters, resumes, transcripts and diplomas.

Identity papers form a fourth family of ten types, such as photo IDs, visas and birth certificates. Besides, identity types add portrait handling, which the identity extraction page explains with its cautions.

Business papers fill a fifth family of nine types, with licenses, EIN letters and articles of incorporation. Property papers fill a sixth family of seven types, with leases, deeds and utility bills. Insurance and health papers fill a seventh family of nine types, such as accident reports. Lab reports are also included.

Legal papers fill the eighth of the document families. Seven types cover wills, powers of attorney and promissory notes. Specifically, each of these specialist extractors keeps its own fields and its own rules.

How a run reads one simple document in five steps

Seventy-two types share one short route. Five steps of document data extraction matter when you plan a rollout.

  1. A vision model describes the pages at temperature 0, so the description stays steady.
  2. A text model turns that description into the field structure of the type, at temperature 0.7.
  3. A vision model looks again, only at empty fields and signature fields.
  4. Three jobs run in parallel: flag codes, a format check and portrait crops.
  5. Plain Python then checks the record against the rules of the type.

The recheck rule is strict, and it is applied to empty fields only. Also, the model may return only values that are printed on the page. Indeed, that limits invented values, though it does not remove model error. Careful document data extraction accepts that limit.

Illustration for Document Data Extraction With 73 Specialist Readers

Why mandatory fields turn each silent gap into a finding

Each validator lists mandatory fields. For example, a photo ID needs an ID type, a full name, an ID number and a country. A lease needs a property address, a start date, a monthly rent and a payment due date.

Moreover, when one of those fields stays empty, most types raise the rejection code REJ-MAND. Bank statements are the exception, and they raise flags only. In addition, the field path and the code travel with the finding.

This is the practical value of specialist document data extraction. An empty field does not vanish into a blank cell. Instead, it becomes a named finding that tells the reviewer which value to chase. The validation page gives the full catalogue.

What a finished run hands back to your own systems

Each run ends in one result envelope. Document data extraction writes it for every document. Indeed, it names the document type and the schema that the record follows.

Notably, the extracted data is kept in its own block, apart from the outcome.

For example, a program can read values without parsing findings. In addition, the processing log records the confidence and the time. A CSV mirror holds the same fields in a flat form for spreadsheet work.

Moreover, the original PDF part sits in the same folder. Therefore, the source page stays with the record. Web runs and tenant routes return the values. However, a plain analyze call returns only the type, the outcome and the findings.

An example of a lease that arrives inside a mixed pack

A leasing team uploads a signed lease. In fact, it sits inside a mixed pack. This example of document data extraction makes no claim about speed or accuracy.

First, the classifier types the file as a lease, and the lease reader takes over.

It looks for the parties, the address, the term, the rent and the due date. Next, the recheck step looks again at empty fields and at both signature fields.

Suppose the tenant signature is blank. Importantly, the lease validator then raises a rejection for that missing signature. The document ends as rejected, with a stated reason. Without that rule, the same lease would return a record with an unflagged gap.

DaletParse Checklist: Reader screen

What the readers do not do and where limits remain

Honest scope helps you decide where DaletParse fits. Several limits of document data extraction come straight from the code. Overall, treat them as planning inputs.

  • Extraction confidence is a fixed 0.8 for simple extractors, so it is not calibrated.
  • Rules give the same verdict on the same values, run after run.
  • Seven registry keys, such as address mapping and name mapping, are internal and not buyer document types.
  • Many type names are US-centric, for example the paystub, W-2 and transcript types.
  • Registry labels are French strings in the code, while prompts and the interface default to English.

The OCR limits article explains why reading text is only the first part of the job. Also remember that extraction is not authentication. A clean extraction can sit on a forged page.

Bank formats and the model files that guide the reader

Bank statements use JSON format hints. A hint file stores identifying text, balance labels, section names, a date format and a layout signature. These files guide the reader. They do not form a closed list of banks.

Also, the repository counts 47 extracted example files that cover 29 bank names. Runtime folders hold 30 further files, of which 29 are validated. Document data extraction for statements adds these hint files. Both folders are ignored by Git, so a fresh clone starts without them.

When no hint exists, the log says the structure will be learned. The same phases still run. For example, a validated run then saves its own model. Say 47 files, not 47 banks, when you describe coverage.

How to scope a rollout over a few key families

Check document families, not single files. Choose three or four document families that your team handles most. Then send five to ten real documents of each type. Draw them from different issuers and scan quality.

Next, compare three items for each document. First, did the type match your own reading? Did the extracted fields match the page? Did the validator catch the gaps that you already know about?

Keep a log of disagreements. Group them by cause, such as a weak scan or an odd layout.

That log shows whether document data extraction fits your volume or needs engineering work first. Repeat runs on the same file also show how much model variation to expect. Check that mandatory fields are reported each time.

DaletParse Checklist: Mandatory fields screen

What you gain when each family has its own extractor

Each property holds for every document family, on every run.

  • Document data extraction reads each file with fields chosen for its own type.
  • Mandatory fields are listed, so a gap becomes a named finding.
  • Specialist extractors return only values printed on the page at the recheck step.
  • Bank statements get a dedicated nine-phase route and format hints.
  • Every record comes with a validator written for the same type, one per family of the document families.
  • The seven non-buyer registry keys are named and kept out of the coverage list.

Check the extractors on all the families that you use

Ask for a meeting. We will review document data extraction on your own files, with the field lists and the flags. Claims teams can see the same extractors at work in insurance claims intake. There, document data extraction reads reports, receipts and certificates from one bundle.

Questions and answers on this topic from the product team

How many document types can DaletParse extract?

The registry holds 80 keys, and 73 of them have a specialist extractor with its own field models and validator. The other seven are internal annex-style keys, not buyer document types. Several type names are US-centric, such as the paystub, W-2 and Social Security types.

Does the extractor guess values it cannot see?

The recheck step looks again only at fields that came back empty. Also, its rule is to return only values actually printed on the page. That limits invented values, but it does not remove model error.

What does the extraction confidence number mean?

It tells you how surely a field was read, and the validators then judge whether the values agree. Authenticity is a separate question, answered by DaletProof.

Can I add a document type of my own?

Yes. Each type has an extractor module, a models module and a validator module, so DaletGuard engineers add a new type as a reviewed, versioned piece of code with its own checks.

Does extraction work on photographed documents?

Photographed pages are rendered at 300 DPI and cleaned before they are read. A scanned page that shows shadows or a watermark is treated as a photo. The models then read the page image.

Which languages does extraction support?

Prompts and the interface work in English by default, and the web interface is translated into 74 languages. Add documents in your own languages to the first run to see them read.

See how DaletParse fits the providers your team uses today

Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.