All articles
Real EstateNLP & Document Intelligence

Lease Data Extraction: How AI Reads Scanned Commercial Leases

Any OCR engine can turn a scanned lease into text. Getting dates, rent steps, options and CAM terms out of it, with each value traced to its clause, takes a full pipeline.

AxcelerateAI Engineering Team

6 min read

OCR on its own turns a scanned lease into text, but it does not understand clauses. It cannot tell you which date is the commencement date, or that the third amendment replaced the rent table. Lease data extraction needs OCR, layout handling and a model that finds and normalises each clause (dates, rent steps, renewal and termination options, indemnity, CAM), with every value linked back to its source clause so a person can check it.

This post covers the scanned-document side of lease abstraction. For a code walkthrough on clean PDFs, see building a lease abstraction engine in Python. For what teams do with the data across a portfolio, see lease, rent roll and contract intelligence.


OCR is the first step, not the answer

If you are looking for an OCR API that can process scanned lease agreements, most general OCR services and open-source engines will read a clean scan. What comes back is a stream of words and their positions on the page. For a lease, that output has three gaps:

  • No structure. A rent table comes back as loose numbers unless something rebuilds its rows and columns.
  • No meaning. "The Term shall commence on the earlier of..." is text. The commencement date is a conclusion drawn from it, sometimes using a defined term from another page.
  • No order of precedence. OCR reads the base lease and its amendments as separate pages. It does not know that the amendment wins.

So the useful question is less "which OCR API" and more "what sits after the OCR". That second half is what intelligent document processing (IDP) adds for leases: layout analysis, classification, extraction, validation and human review.


What makes scanned leases hard

Skewed and degraded scans. Photocopies of photocopies, pages fed in at an angle, stamps over text. A small skew can scramble line order, and speckle can turn an 8 into a 3 in a rent figure.

Handwriting and initials. Margin edits, struck-through text initialled by both parties, and handwritten dates on signature pages. Handwriting is read far less reliably than print, and a struck-out clause can still come through OCR as live text. These are the places a person should look at.

Amendments that override the base lease. A first amendment extends the term, a second changes the rent, a side letter waives a clause. The current terms are the base lease plus every change, applied in order.

Exhibits and rent tables. Rent schedules often sit in an exhibit, sometimes as a scanned image of a table with rent per square foot, annual and monthly columns. Floor plans, work letters and rules sit alongside them, and not all of them need extracting.

Same clause, different words. Renewal rights, "triple net" and CAM exclusions are drafted differently by every landlord and law firm, so keyword search misses them.


The extraction pipeline, step by step

  1. Intake and classify. Split the file set into base lease, amendments, exhibits and side letters, and label the sections in each.
  2. Clean up the images. Deskew, remove noise and fix rotated pages before OCR.
  3. OCR with coordinates. Keep each word's position on the page so that every extracted value can be traced back.
  4. Detect the layout. Find headings, clauses, tables and signature blocks, and set the reading order. Layout models such as LayoutLMv3 handle this, and table models such as Microsoft Table Transformer rebuild rent schedules into rows and columns.
  5. Extract clauses and entities. A language model finds parties, dates, amounts and clause types, however they are phrased, and records the clause each one came from.
  6. Normalise. Put dates in one format, resolve or flag relative dates ("the first day of the month after substantial completion"), and turn fixed, step-up and CPI escalations into one rent schedule.
  7. Apply amendments. Match each amendment to the clause it changes, so the abstract shows the current term and the document it came from.
  8. Validate. Check that expiration falls after commencement, that rent steps match the escalation clause, and that the rent table adds up.
  9. Review and export. Send low-confidence fields to a reviewer with the source clause highlighted, then export the approved abstract to Excel, JSON or another system.

Which fields to extract

The schema depends on your abstract template, but these fields appear in most. Key dates, termination rights and indemnity terms each fail in different ways.

FieldWhere it usually sitsWhat goes wrong
Parties and guarantorPreamble, basic lease information, signature page, guaranty exhibitEntity names differ between preamble and signature block; guarantor sits in a separate exhibit
Premises and areaBasic lease information, floor plan exhibitArea remeasured in an amendment; rentable and usable area mixed up
Commencement and expirationBasic lease information, term article, commencement letterCommencement tied to an event and confirmed later; term extended by amendment
Base rent scheduleRent article or rent exhibitTable columns misaligned by OCR; rent per square foot read as annual rent; abatement months missed
EscalationsRent article, rent tableFixed, step-up and CPI increases drafted differently; CPI base period missed
Renewal optionsOptions article, riderNotice window reduced to one date; option personal to the original tenant
Termination rightsOptions article, rider, amendmentConditions and termination fee missed; right waived in a later amendment
CAM and operating expensesOperating expense article and exhibitAnnual and cumulative caps confused; exclusions listed on another page; base year missed
IndemnityIndemnification and insurance articlesOne-way and mutual indemnities confused; negligence carve-outs dropped from the summary
Assignment and sublettingAssignment articleConsent standard and permitted transfers missed

How to check the output is right

Source-clause links. Every value should carry the page and clause it came from. A reviewer clicks the value and sees the highlighted text. Without that link, checking an abstract means rereading the lease.

Human review of low-confidence fields. The system should flag what it is unsure of rather than guess: faint scans, handwriting, conflicts between an amendment and the base lease, and values that fail validation. People then review the flagged fields, not the whole document.

Measure on your own leases. Take leases your team has already abstracted and compare the output field by field. Accuracy varies by field: a tool can be reliable on dates and weak on CAM exclusions, and an overall average hides that.


Build or buy: questions to ask a vendor

A demo built on an OCR engine and a language model is quick. Most of the work is in the rest: poor scans, amendments, rent tables, validation and a review screen. Whether you build or buy, ask:

  1. Can we test it on our own scanned leases, including the worst ones?
  2. How are amendments applied to the base lease, and does the abstract show which document each current term came from?
  3. Does every value link to the page and clause it came from?
  4. What happens to low-confidence values: are they flagged or filled in?
  5. How are rent tables rebuilt, and are they checked against the escalation clause?
  6. Can the output map to our own abstract template?
  7. Where do our leases go, and can the system run in our own cloud account?
  8. How is accuracy measured: per field, and on whose documents?

How AxcelerateAI Helps

AxcelerateAI builds lease abstraction pipelines for commercial real estate teams:

  • Scans handled before extraction. Pages are deskewed and cleaned up before OCR, and layout models find clauses, tables and exhibits.
  • Amendments matched to the clauses they change, and rent schedules rebuilt and checked against the escalation clause.
  • Every value linked to its clause, with low-confidence fields flagged for review rather than guessed.
  • Your format and environment. Abstracts go to your Excel template, JSON or an API, and the system can run in your own cloud account or on your servers.

Send us one commercial lease, with amendments if it has them, redacted if you prefer. We send back a lease abstract in Excel with the parties, premises and key dates, the base rent schedule and escalations, and the renewal options and CAM terms, with every value linked to the clause it came from.

Get a free abstract of one of your leases.

Talk to an engineer

Talk to an engineer about your project

Tell us which real estate workflow you want to automate, from leases and OMs to listings and underwriting. An engineer replies within one business day.

  • Replies from an engineer, not a sales rep
  • Within one business day
  • NDA available on request

By submitting, you agree to our Privacy Policy. We never share your details.