Fin·Telligence
Overview  ·  LSEG  ·  SOC 2 panel

Case study · reporting-gap attestation

The Enron reporting gap
what was reported, versus what the rows support.

Enron's FY2000 annual report is the case the whole thesis is haunted by: numbers that were internally consistent on paper and disconnected from reality. Fin-Telligence runs the same verified pipeline over it, computing the reported figure and the underlying figure in one guarded query, so the distance between them is a grounded, hash-chained, tamper-evident result, not an assertion.

See the gap for yourself

One switch, two views of the same company: the story Enron told investors, and what the underlying rows actually support. Flip it.

Revenue real 10-K $100,789m
Booked “gross”: the full value of every energy trade counted as revenue.
Debt real 10-K $10,229m
The debt on the balance sheet investors could see.
On paper, a healthy giant. $100bn of revenue against a modest $10bn of debt, the story every investor was shown.
How Fin-Telligence proves it: it computes the reported figure and the underlying figure in one guarded, read-only query, then hash-chains the result, so the distance between the story and the rows is a reproducible, tamper-evident fact, not an opinion. It is the same pipeline you can run yourself below.

How this differs from previous solutions

The individual patterns here (AST parsing, read-only database flags, regex output checks, and cryptographic hash logs) are standard computer-science primitives. Combining them into a zero-tolerance ground-or-refuse pipeline with cryptographic attestation is an uncommon design choice next to standard financial AI tools.

Most commercial text-to-SQL and financial-AI platforms prioritise helpfulness and flexibility, handing the user a best-guess answer. Fin-Telligence prioritises non-repudiation and hard refusal.
FeatureStandard financial AI / text-to-SQLFin-Telligence architecture
SQL safety System prompts (“only write SELECT”) or generic DB permissions Pre-execution AST parsing (guard.js) enforcing SELECT-only, CTE allow-lists, and forced LIMIT bounds
Numeric accuracy LLM-as-a-judge or prompt engineering to format DB rows Deterministic post-prose verification (grounding.js) that matches every number back to SQL row outputs
Failure mode Best-guess response with potential rounding or hallucination errors Explicit refusal. If a single number in the prose can't be mapped to the raw data, the response is destroyed
Audit logging Standard cloud event logs (CloudWatch / Datadog, SOC 2 trails) Cryptographic hash-chaining (audit.js) where altering a past prompt, query, or output breaks chain verification

What makes it distinct

The main trade-off: this architecture trades conversational fluidity for legal and audit safety. It will refuse queries far more often than tools like ChatGPT or Koyfin whenever SQL translation is imperfect or the math falls outside the verifier's allowed rules. For regulatory reporting, forensic accounting, or internal compliance, that trade-off is usually the requirement.

Every figure carries its provenance

question→ guard→ read-only SQL→ grounding→ lineage + hash→ signed audit chain
scenario debt_reported_vs_true   FY2000
result hash b69b15dc732765b05462230971ec51cc…
audit entry #1   667df404bc8d3235…   chain INTACT
compliance off-balance-sheet · leverage · reproducible

The figures compute in SQL and pin to a deterministic seed, so re-running reproduces the same result hash exactly — an auditor can recompute and compare. Edit a recorded attestation after the fact and verify() reports the precise entry that changed.

Run it yourself

# no credential needed — canonical queries over real 10-K anchors
node bin/fintel.js enron seed
node bin/fintel.js enron revenue    # gross vs net revenue, attested
node bin/fintel.js enron debt       # reported vs true debt incl. SPEs
node bin/fintel.js enron audit      # verify the hash chain

What is real, and what is synthetic

The aggregates are real. Total revenues, net income, and reported debt reconcile to Enron's actual reported figures, transcribed verbatim from the filing and stored with the citation on every row. The transaction-level rows are synthetic — there is no public Enron general ledger — and the off-balance-sheet SPE amounts are illustrative of the mechanism, not a claimed exact historical total. For a tool about traceable figures, fabricated data labelled as fabricated is fine; fabricated data presented as real is the exact failure this project exists to prevent. Nothing here is a compliance claim.
Source: ENRON CORP 10-K, fiscal year ended Dec 31 2000, filed 2001-04-02 — SEC EDGAR accession 0001024401-01-500010 (public domain).