Document type

Extracting data from investment statements

A custodian sends every client a statement each month, covering as many accounts as they hold and running from a few pages to a few hundred. Every firm lays them out its own way. Wealth managers and aggregation platforms ingest them in bulk, from client uploads, portal downloads and scans of posted paper.

A reader needs each position, its quantity, its cost basis and its market value, attributed to the right account. Portfolio systems reconcile those against their own books, and tax preparation works from the realized gains they imply.

Page 2 of a sample Investment Statement, with extracted values outlined
DPT-3 ProParse model
28pages
84,683Markdown characters
1.26parse credits per page
54.9 sparse time
23fields extracted
The problem

What makes investment statements hard

  • The signs carry the meaning

    A short position prints a negative quantity, market value and cost basis, with a positive gain. One dropped minus sign changes the answer.

  • Footnote markers sit on the numbers

    The cost basis is printed -14,510.99 with a superscript c pointing at a footnote. Extraction has to decide which characters belong to the number.

  • One holder, several accounts

    Three accounts share this document. A security can appear in two of them with a different basis, so every row has to carry its account.

How it works

Parse, extract, verify

  1. 1

    Parse

    Parse turns the document into reading-order Markdown and a hierarchy of blocks (text, tables, figures), and grounds each block to its exact location on the page.

  2. 2

    Extract

    You define the fields in a JSON schema, and Extract returns their values in a consistent, structured format, each linked back to where it appears in the Markdown.

  3. 3

    Verify

    Each value links back to where it appears, down to the character range in the Markdown, and the page and bounding box in the source document, so every result can be verified.

Worked example

One investment statement, end to end

About this document: Fidelity's own sample monthly statement, published on fidelity.com so customers can see what one looks like. 28 landscape pages covering an individual brokerage account, a traditional IRA and a 529. It carries holdings tables for stocks, bonds, mutual funds and ETFs, plus three closing disclosure pages stored rotated 90 degrees. All the personal data is specimen: the account holder is John W. Doe.

Processing objective: The objective is to lift one complete position off page 7, signs intact. The row chosen is a short sale, the hardest on the page, and it reconciles: -13,710.00 minus -14,510.99 gives the 800.99 unrealized gain.

Demonstration fields: Account category, Account number, Beginning value, Ending value

The document

4 of 28 pages
  • Page 1 of the sample Investment StatementPage 1
  • Page 4 of the sample Investment StatementPage 4
  • Page 7 of the sample Investment StatementPage 7
  • Page 18 of the sample Investment StatementPage 18

Where each value came from

Account categoryaccounts[1].account_category
PERSONAL RETIREMENT
The region of the sample Investment Statement containing Account category, with the extracted value outlined
extraction_metadata["accounts[1].account_category"]
{
  "value": "PERSONAL RETIREMENT",
  "page": 2,
  "range": {
    "end": 2211,
    "start": 2192
  },
  "box": {
    "xmin": 0.07738,
    "ymin": 0.36181,
    "xmax": 0.22902,
    "ymax": 0.37652
  }
}
Account numberaccounts[1].account_number
222-222222
The region of the sample Investment Statement containing Account number, with the extracted value outlined
extraction_metadata["accounts[1].account_number"]
{
  "value": "222-222222",
  "page": 2,
  "range": {
    "end": 2289,
    "start": 2279
  },
  "box": {
    "xmin": 0.41071,
    "ymin": 0.38271,
    "xmax": 0.47425,
    "ymax": 0.39742
  }
}
Beginning valueaccounts[1].beginning_value
137,232.44
The region of the sample Investment Statement containing Beginning value, with the extracted value outlined
extraction_metadata["accounts[1].beginning_value"]
{
  "value": 137232.44,
  "page": 2,
  "range": {
    "end": 2308,
    "start": 2298
  },
  "box": {
    "xmin": 0.67256,
    "ymin": 0.38271,
    "xmax": 0.73213,
    "ymax": 0.39742
  }
}
Ending valueaccounts[1].ending_value
142,413.12
The region of the sample Investment Statement containing Ending value, with the extracted value outlined
extraction_metadata["accounts[1].ending_value"]
{
  "value": 142413.12,
  "page": 2,
  "range": {
    "end": 2327,
    "start": 2317
  },
  "box": {
    "xmin": 0.89982,
    "ymin": 0.38271,
    "xmax": 0.95832,
    "ymax": 0.39742
  }
}
Page 2 of the sample Investment Statement, with every featured field outlined

Performance

Parsed and extracted with v2 APIs using dpt-3-pro-20261111 and extract-20261111, at the Standard service tier.

28pages
1.26parse credits per page
54.9 sparse time
23schema fields
0.891extract credits per field
265.7 sextract time
Capabilities

Investment Statement processing highlights

Multi-account statements
Per-account holdings tables
Short and negative positions
Cost basis and unrealized gain
Footnote markers on numbers
Wrapped description cells
Ticker symbols and descriptions
Portfolio reconciliation summary
Beginning and ending values
Rotated disclosure pages
Period dates normalized to ISO
Bounding box for every value
Get started

How to try it yourself

Everything on this page is reproducible. The sample, its schema, and the Parse and Extract API outputs are published. You can repeat the same two calls from whichever surface you already build on.

  • Claude Skilldescribe the job; the agent writes it
  • CLIno code at all
  • MCPexpose ADE docs as an agent tool
  • REST APIany language
  • Pythonlandingai-ade
  • TypeScriptlandingai-ade
Why LandingAI?

Documents into data

Accurate

The best accuracy on the difficult documents other tools get wrong, such as messy scans, complicated tables, checkboxes and handwriting.

Auditable

Every answer cites its sources. Values come back with an audit trail (page, bounding box, character range) so a human can review them.

Agentic

Applies multi-step reasoning, and plans before it acts. Handles documents it has never seen before and adapts to variations.

API-first

Composable APIs that drop into any tech stack and can be called from anywhere. Easy to build on and embed in your pipelines and products.

Affordable

Cost-competitive rates with complete price transparency. Spend controls before you run, and every job reports its exact cost.

Enterprise-grade

Built for production and scale from day one. Fully observable and monitored, running securely in our cloud or yours.

Built for high-volume, high-throughput production

  • Zero data retention
  • Priority rate limits
  • Enhanced support
  • VPC and on-prem deployment

Available on Team and Enterprise plans. VPC and on-prem deployment require an Enterprise plan.

Compare plans
Related

Explore related pages

FAQs

Questions, answered

Yes. Each holding row carries the account number from its page header, so positions come back split across the accounts they belong to. The accounts themselves return separately, each with its own beginning and ending value.

The short position's quantity, market value and cost basis all come back negative. The superscript footnote marker on -14,510.99 is dropped and the value stays -14510.99. On page 7 every value boxes its own cell, so you can see which characters were read.

Submit it as a parse job on the standard tier, which accepts up to 6,000 pages per PDF and costs half the credits. The three closing disclosure pages here are stored rotated 90 degrees and come back upright, at character counts within a few percent of the PDF's own text layer.

Yes. The portfolio reconciliation, each account's beginning and ending value, and the estimated cash flow table all come back as structured fields, so a statement can be checked against itself before anything downstream reads it.

Every value comes back with its page, a bounding box and a character range in the parsed Markdown. In a holdings table each figure boxes its own cell, so a reviewer can see which characters a cost basis was read from.

Start extracting investment statement data

Reliable, structured outputs with full traceability in minutes