# How to Check Numbers in AI Financial Analysis Against Source

Canonical URL: https://webcite.co/blog/verify-numbers-ai-financial-analysis/ | Author: Teja Thota | Published: 2026-11-20 | Last updated: 2026-11-24

Check the numbers in AI-generated financial analysis against the source: extract figures, recompute totals, compare documents and show the page behind each one.

Checking AI-generated financial numbers means recomputing each one from figures read out of the source, because asking another model to check them fails often. In FinVerBench, nine of fourteen complete LLM runs produced 95 to 100% false positives on clean financial statements under one prompt setup, according to [Panda's FinVerBench paper (May 2026)](https://arxiv.org/abs/2605.29586). This guide shows a five-step check with code.

<div class="tldr-box" markdown="0">
<strong>Key Takeaways</strong>
<ul>
<li>The strongest models in the FAITH benchmark still answered 4 to 8% of financial table questions wrongly.</li>
<li>LLM reviewers flag errors on clean statements: 9 of 14 FinVerBench runs had 95 to 100% false positives in one setup.</li>
<li>Deterministic recomputation from extracted figures gives a flag with reasons, not a probability.</li>
<li>Every figure needs its page or cell attached, or a reviewer cannot confirm the mismatch.</li>
<li>Figures read from a page image are model reads and should stay marked for review.</li>
</ul>
</div>

<div class="definition-box">
<strong>Numeric verification:</strong> Checking each number in a generated report against the figure printed in the source document, and recomputing every derived number, such as a growth rate or margin, from its inputs.
</div>

## Why do AI models get financial numbers wrong?

A model that writes financial analysis copies figures, converts scales and calculates in one pass, and an error at any step looks like a confident number. In the FAITH benchmark, Claude Sonnet 4 scored 95.6% and Gemini 2.5 Pro 91.9% on the main split, a 4 to 8% error rate, according to [Zhang et al., FAITH (2025)](https://arxiv.org/abs/2508.05201).

Calculation is the weak step. On multivariate calculations, Gemini 2.5 Pro reached 90.0% and Claude Sonnet 4 80.0%, a 10 to 20% failure rate, according to [the same FAITH paper](https://arxiv.org/html/2508.05201). Some open models, including Llama-3.3-70B, scored at or near zero.

Extraction is the other source of error. A figure read from the wrong column, a header scale of thousands applied twice, or an accounting negative in brackets read as positive all produce a plausible wrong number.

## Why not ask another LLM to check the numbers?

LLM checkers report too many errors on statements that have none. FinVerBench built a 105-instance subset from SEC 10-K XBRL filings of 43 S&P 500 companies, with 43 clean and 62 error-injected statements, according to [the FinVerBench paper](https://arxiv.org/abs/2605.29586).

Under the original guided-checklist prompt, nine of fourteen complete runs produced 95 to 100% false positives on the clean statements, and one run had 0%. The result depends on the prompt and the data variant, so treat it as a warning about setup, not a ranking of models.

Rounding is a large part of it. On a rounded version of the same subset, the calibrated model's recall fell from 100.0% to 79.0% at 0% false positives, according to [the same paper](https://arxiv.org/abs/2605.29586). Any checker needs a tolerance that matches how the source rounds.

## How do I check AI-generated numbers against the source?

Read the figures out of the source with their locations, recompute what can be derived, compare what appears twice, and show the source for every mismatch. The five steps below use the Webcite API, so [get an API key](https://webcite.co/signup) first; each call is listed in [Webcite's numbers documentation](https://webcite.co/api-docs/figures).

1. [Upload the source files](https://webcite.co/api-docs/upload): the model workbook, the PDF filings, the deck. Uploading costs 0 credits, and the [credits guide](https://webcite.co/api-docs/credits) lists what each later call costs.
2. Extract figures from each file with their metric, value, unit, period and location.
3. Recompute derived metrics and compare figures across documents.
4. Check the arithmetic of a specific claim in the generated text.
5. Show the page or cell behind each flagged figure to a reviewer.

## How do I extract figures with their source locations?

Call the figure extraction endpoint on each uploaded file. It returns each known metric as a figure with its value normalized to a canonical unit, unit, optional entity and period, a confidence band, whether it was confirmed against the cited cell, and its provenance, according to [the extract figures reference](https://webcite.co/api-docs/figures).

Spreadsheets are read cell by cell with no model, honouring header scale such as $M, accounting negatives and period columns. PDFs with a text layer are grounded and cited by page. Scanned pages are transcribed first and their provenance is marked as a model read. The call costs 2 credits.

The engine finds recognized metrics, such as revenue or gross margin. An empty result means it found no known metric, not that the document has no numbers, so it is not a full numeric audit on its own.

## How do I recompute totals and compare documents?

Pass the extracted figures to the conflict check. It recomputes every derivable metric, such as gross margin or growth, and flags a stated value that differs from the computed one, according to [the compare figures reference](https://webcite.co/api-docs/conflicts).

It also flags figures for the same metric, entity and period that disagree across documents beyond the metric's tolerance, and pairs that are each plausible but impossible together, such as logo retention far below 100 minus churn. The result is a review flag with reasons. The call costs 1 credit.

```python
import os
import requests

API = "https://api.webcite.co/api/v1"
HEADERS = {"x-api-key": os.environ["WEBCITE_API_KEY"]}

def upload(path):
    with open(path, "rb") as file:
        response = requests.post(f"{API}/upload", headers=HEADERS,
                                 files={"file": file}, timeout=(10, 300))
    response.raise_for_status()
    return response.json()["data"]["asset_id"]

def figures(asset_id):
    response = requests.post(f"{API}/extract/figures", headers=HEADERS,
                             json={"asset_id": asset_id}, timeout=(10, 300))
    response.raise_for_status()
    body = response.json()
    if body["state"] != "complete":
        print("read incomplete:", body["code"], body["reason"])
    return body["figures"]

all_figures = figures(upload("model.xlsx")) + figures(upload("board-deck.pdf"))

check = requests.post(f"{API}/analyze/conflicts", headers=HEADERS,
                      json={"figures": all_figures}, timeout=(10, 300))
check.raise_for_status()
print(check.json())
```

If you start from one file, the document analysis endpoint does extraction, recomputation and cross-checks in one 3-credit call. Figures it reads from PDF page images are capped at needs review and never presented as verified, according to [the analyze document reference](https://webcite.co/api-docs/analyze-document).

## How do I check one claim's arithmetic?

For a single sentence such as "Revenue rose from 12.5 to 20.0, up 60%", the numeric verification endpoint checks the arithmetic against figures you select from retained source units. Its scope is arithmetic only: it does not certify which figures were chosen or the full meaning of the claim, according to [the numeric verification reference](https://webcite.co/api-docs/numeric).

Outcomes such as escalate or not applicable, and unknown comparability, are unresolved. Do not treat them as supported. A source figure written as a lower bound, such as 60+, comes back as a minimum.

For the text around the number, check that the sentence quoting the source appears in it. The [guide to checking whether a citation supports a claim](https://webcite.co/blog/check-citation-supports-claim/) covers that step. Claims without a figure go to a [verification API](https://webcite.co/blog/what-is-a-verification-api/), which checks the sentence against sources and returns a verdict.

## What do the research results say about better checks?

Grounding values in structured filings and checking arithmetic with a solver cut false accepts to zero in one reported setting. VeriFin grounds values in XBRL facts and checks arithmetic with the Z3 solver. For Qwen3-30B on its XBRLFiling set it accepted 304 correct answers against 166 for an LLM judge and cut false accepts from 87 to 0, according to [Hall et al., VeriFin (2026)](https://arxiv.org/abs/2608.10213).

A NeurIPS 2026 poster compared model extractions of 10-K Item 8 sections with the issuer's inline XBRL facts and re-read the source where values were missing or inconsistent. That raised coverage of tagged facts from 47.7% to 53.0%, according to [the NeurIPS 2026 poster page](https://neurips.cc/virtual/2026/166661).

Both point the same way: compare against a structured source where one exists, and send disagreements back to the page. Webcite's numeric engine reports its own measurements on an evaluation corpus at the accuracy endpoint, for 1 credit; those results describe that corpus, not your documents.

## What should a reviewer see for each flagged number?

A reviewer needs the generated sentence, the source figure, the recomputed value and the page or cell, side by side. Without the location, the reviewer has to search the filing again.

Webcite's source preview returns the cited page's extracted text and a link to that page of the uploaded file, or the sheet grid for a spreadsheet, for 1 credit, according to [the source preview reference](https://webcite.co/api-docs/source-preview). Keep figures read by a model marked as such through to the final report.

For background on why generated text drifts from its sources, see [AI hallucination statistics](https://webcite.co/blog/ai-hallucination-statistics/). For table extraction accuracy by parser, see the [best PDF table extraction APIs](https://webcite.co/blog/best-pdf-table-extraction-api-2026/) and the wider [document parsing API ranking](https://webcite.co/blog/best-document-parsing-apis-2026/).

---

## Frequently Asked Questions

### How do I verify numbers in an AI-generated financial report?

Keep the source documents, extract every figure with its page or cell, recompute each derived number from its inputs, compare figures that appear in more than one document, and show the page behind each one. A mismatch goes to a person with the source beside it.

### Why do LLMs get numbers in financial tables wrong?

Models copy, round and calculate in one step, and each step can fail. In the FAITH benchmark the strongest models still had a 4 to 8% error rate on financial table questions, and 10 to 20% on multivariate calculations.

### Can an LLM check a financial statement for errors?

Not reliably on its own. In FinVerBench, nine of fourteen complete LLM runs produced 95 to 100% false positives on clean statements under one prompt setup. Deterministic recomputation against extracted figures returns a flag with stated reasons that a reviewer can check on the page.

### What is the difference between recomputation and a conflict check?

Recomputation derives a metric from its inputs, such as gross margin from revenue and cost of goods sold, and compares it with the stated value. A conflict check compares the same metric for the same entity and period across documents.

### How much does it cost to check figures with Webcite?

Figure extraction costs 2 credits per document, a conflict check 1 credit, and the one-step document analysis 3 credits. The Free plan includes 100 credits a month, and Builder includes 500 for $20.
