Case study / Business services

Every document read, every deadline found.

We worked through 80,000 business documents to build a process that pulls out the information the client needed, then proved it was accurate enough to act on.

Industry
Business services
Way in
Build
Capability
AI and data engineering
Volume
80,000 documents

01 / The brief

The right details, from every document, every time

The client needed the key information out of a large, mixed set of business documents: who sent each one, who they act for, the dates that matter, any amount owed, and what happens if it is ignored.

The documents came in every format and layout, from tax and court papers to bills, statements and marketing. Some details are printed plainly, some are buried in the wording, and some are missing altogether.

The bar was high. The information had to be accurate enough to act on, consistent across every kind of document, and cheap enough to run at scale.

02 / What we did

Sample, test, iterate, then prove it

We didn't point a model at the documents and hope. We built the extraction process the way you would build any system that has to be right: in rounds, with measurement at every step.

  1. 01Sample the documentsWe worked through 80,000 documents and drew samples that covered every type, layout and sender, weighted towards the high-stakes ones where a mistake costs most.
  2. 02Extract and iterateWe ran the extraction on each sample, studied where it went wrong, tightened the rules and ran it again, round after round, until it held up across every kind of document.
  3. 03Ground every answerWe designed a grounding approach for these documents, so every extracted value is tied to what is actually written in the source.
  4. 04Review twiceAccuracy was tested with both manual and automated review. People graded extracted items against the original documents, and automated checks tested the rest at scale.

03 / How it works

Grounded, not guessed

The biggest risk with AI extraction is a confident answer that isn't in the document. Our grounding approach is built to stop that.

Strict extraction rules. The model may only report what the document says. If a date or an amount isn't there, it says so rather than filling the gap.

Rules tuned to the documents. Each round of testing fed back into the rules, so the process handles the quirks of real documents, such as a deadline written as "within 14 days" rather than as a date.

Who it's really from. Thousands of sender names were matched to the organisations behind them, and agents were linked to the people they act for, so related documents read as one matter.

The data

  • 80,000 business documents

What we built

  • Grounded extraction rules
  • Sender and matter matching
  • Manual and automated review

What it makes possible

  • Deadlines and amounts per document
  • Urgent items flagged
  • Noise kept out of the way

StackAI extraction with grounding rules, sender matching, manual and automated accuracy review

04 / The result

Accurate enough to act on

Accuracy

99% accurate

Accuracy of the extracted information, tested by manual and automated review.

Usable

99.7% of documents

Usable under the final extraction rules, after the rounds of iteration.

Start here

Book a 20-minute intro call

Tell us what you want data or AI to change. We will tell you if we can help.