Processing a financial agreement made accurate fast easy

We build bespoke, AI-driven workflows that reduce the full process to under a second.

Your documents are never stored · Emails, scans and digital PDFs · Plugs into AI pipelines and agents

From Facility Agent

Subject RE: FW: Q2 compliance — margin

Following the Q2 certificate, leverage is now 2.8x, so the margin on Facility B steps down to 3.00% from the next interest period (1 July).

📎 Compliance_Certificate_Q2.pdf

Margin change

Facility
Term Facility B
New margin
3.00%
Previous
3.25%
Effective
1 July 2026
Evidence
Certificate attached

Senior Facilities Agreement · p.147 of 312

2.1 The Facilities

Subject to the terms of this Agreement, the Lenders make available to the Borrower a euro term loan facility in an aggregate amount equal to EUR 250,000,000, to be applied towards the purposes set out in Clause 3.

Facilities agreement

Borrower
Borrower Holdings Ltd
Commitment
€250,000,000
Facility
Term loan
Governing law
England and Wales
Pages read
312 of 312

DEED OF AMENDMENT

Clause 22.1 (Financial covenants) is amended so that Leverage shall not exceed 4.00:1 (previously 3.50:1).

Signed this 14th day of March 2026

Amendment (scanned)

Amends
Clause 22.1
Leverage limit
3.50x → 4.00x
Signed
14 March 2026
Source
Scanned image

lender_schedule_FINAL_v3.xlsx

LenderAmt
Bank A€60m
Bank B50,000,000
Bank CEUR 50 mn
Fund D45.0m
Fund E45000000

Lender schedule

Lenders
5
Total
€250,000,000
Largest share
Bank A, 24%
Check
Matches agreement

Already used by

Integrations for complex data parsing, financial agreements and more.

Herein is an AI agent that reads your emails and complex documents and turns them into structured, validated data. We set each one up as a bespoke, optimised, automated workflow around the way your team already works.

What comes in

  • Emails and their attachments
  • Large documents, read in full
  • Non-standard formats, scanned or digital
  • Financial agreements of any type

Herein

AI agent · reads, structures and validates

Where it goes

  • Your CRM and existing systems
  • AI pipelines and agents
  • Your team, as structured data ready to act on

Every workflow is designed around you, optimised for your documents, and runs without anyone re-keying a thing.

Talk to us about a bespoke workflow

Read every page. Report only what is there.

Herein turns a document into checked, structured data in two steps, scan then parse, with one rule throughout: when it is not sure, it leaves the field empty rather than guess.

  1. 01 · Scan

    Every page becomes words with their exact positions.

    Digital pages are read from the file's own text. Scanned pages are turned upright, straightened and read, so columns line up again even in tables with no ruled lines.

  2. 02 · Parse

    The document is mapped and its tables read.

    Code does everything it can without error. AI models take only what code cannot, and every answer must quote words that are found on the page, or it is rejected.

  3. Result · Output

    Checked data, with its evidence.

    Every value carries the page and words it came from. Warnings flag anything a reviewer should see, and a ledger accounts for every figure, so nothing is missed silently.

Every value it reports is right.

Bad scans don’t mean bad data.

No wrong values from deliberately damaged scans. Where a scan is unreadable, the field is left empty.

Nothing goes missing silently.

Every figure in the document is used, dismissed for a stated reason, or flagged as a gap.

Input

  • PDF senior-facilities-agreement.pdf digital
  • PDF revolving-credit-facility.pdf digital
  • PDF amendment-and-restatement.pdf scanned
  • …
Herein

Output

{
  "document": { "page_count": 312 },
  "facilities": [
    {
      "id": "facility-1",
      "total_commitment": { "amount": "250000000", "currency": "EUR" },
      "commitments": [
        { "lender_name": "Bank A",
          "amount": { "amount": "60000000", "currency": "EUR" } },
        …
      ]
    }
  ],
  "extraction": {
    "schema_version": "1.1",
    "evidence": [
      { "path": "facilities[0]", "page": 214,
        "snippet": "Bank A | 60,000,000" }
    ],
    "warnings": [],
    "ledger": {
      "gaps": [ { "page": 6, "kind": "percentage", "text": "1%" } ],
      "complete": false
    }
  }
}

Every value comes with the page and the words it was read from. An empty field means not found, never zero.

Already running AI pipelines or agents? Herein slots straight in — call it as a step in your pipeline or as a tool your agent uses, and hand clean, structured JSON on to your models.

Sign in and view our Developer Docs for the full schema.

Manual review and general-purpose AI tools both buckle once volume shows up. Herein doesn't.

Manual review

Fast
Hours per document
Accurate
Error-prone, inconsistent between reviewers
Easy
Manual re-keying, no structure

General-purpose AI

Fast
1–2 min per document
Accurate
Prompts drift on edge cases and long documents
Easy
Needs prompting and manual checking

Herein

Fast
~100× faster Under a second per document, thousands at once
Accurate
Backed up by AI When something isn’t certain, AI models step in, and every answer is checked against the page.
Easy
Built into your workflow Delivered into your CRM, your systems and your AI pipelines.

Anyone who handles complex financial agreements.

Banks and lenders

Terms, commitments and pricing lifted out of a signed facility and into your own systems.

Law firms

A bundle of agreements turned into structured data you can read at a glance instead of page by page.

Loan administrators

Whole portfolios processed in bulk, on the same schema every time.

Working with something else? The same approach applies to any form of complex agreement — tell us what you handle.

Your data stays protected

Your contracts aren't saved in a database, we can't even access the processes which are running on the machine so your data is hidden from us.

Get Started

Bespoke

Need something built around you?

Every business is different. We specialise in creating bespoke solutions which allow you to work faster with higher accuracy.

Book a call