Financial analysis · API concept

Financial Document Intelligence API

Extract and analyze structured financial information while preserving visible source lineage.

APIConcept0.1.0-concept
Nothing in this preview is executable and no credentials are issued. This record is Concept — documentation preview only

Overview

01

When to use it

Check that it fits before you look at the detail.

Consider this when

  • Accept a supported filing or synthetic financial statement representation.
  • Extract defined financial fields with source lineage.
  • Produce transparent calculations using documented definitions.

Do not use it to

  • Make autonomous investment, lending, accounting, or credit decisions.
  • Infer unsupported financial fields.
  • Treat a synthetic example as a supported filing format.

Who this is for

DevelopersFinancial-analysis evaluatorsImplementation partnersQualified finance professionals

A caller needs extracted financial fields and transparent calculations that can be traced back to supplied source material.

Assumes: Ability to inspect structured outputs, evidence, limitations, and the stated human-review boundary.

02

Who decides what

What this concept may decide on its own, and what it may not.

A person decides

Qualified professionals retain all investment, lending, accounting, credit, and reporting decisions.

Lineage and calculations support review; they do not establish decision fitness.

It is not for

  • Automatic lending decision
  • Automatic credit approval
  • Investment recommendation
  • Unreviewed accounting conclusion
03

What you get back

The shape of the exchange, and what happens when it is not sure.

You send
example_iddocumentanalysis_request
You receive
example_idstatusextracted_fieldscalculationsvalidation_warningsreview_flags

Shape taken from the synthetic supported answer example. It is not a stable contract.

Evidence

Each extracted value or calculation is designed to identify the source line or input field used.

Uncertainty

Ambiguous labels, missing periods, and unsupported fields remain visible.

extracted fieldscalculationssource lineagevalidation warningsunsupported-field statesreview flags

Continue with the evidence you need.

Conceptual contract

Reference

No base path, method, or schema is validated. The fields below describe intended information needs, not a stable contract.

FieldTypeConstraint
documentobjectA supported or synthetic statement representation; supported formats are not yet validated.
analysis_requestarrayRequested fields or calculations.
period_contextobjectThe reporting period required to interpret the supplied data.
entity_contextobjectSynthetic or approved entity metadata.

Concept interface

Fields with no value yet are listed as not yet defined rather than omitted, so an undefined contract is distinguishable from an undocumented one.

Operation NameExtract and analyse financial document fields (conceptual)
Invocation PatternSingle structured request and response (conceptual)
Base PathNot yet defined
MethodNot yet defined
Media Typeapplication/json (conceptual)
AuthenticationNo public credentials issued

Outputs

extracted fieldscalculationssource lineagevalidation warningsunsupported-field statesreview flags

Each extracted value or calculation is designed to identify the source line or input field used.

Error and limit states

StateMeaning
invalid_inputRequired input is missing or malformed.
unsupported_requestThe request falls outside the documented capability or human decision boundary.
unavailable_sourceA required source or supplied representation is unavailable.
review_requiredQualified review is required before interpretation, decision, commitment, or external use.
service_unavailableReserved for a later executable interface; not applicable to this documentation preview.

Data handling is not defined

Do not send production client data, confidential documents, credentials, or secrets through the public preview.

storageNot yet defined
retentionNot yet defined
loggingNot yet defined
deletionNot yet defined

Accepted data classes

  • Synthetic or intentionally generic data for public examples

Access

AvailabilityDocumentation preview only
EligibilityDevelopers, technical evaluators, institutional buyers, and implementation partners may discuss a bounded use case.
OnboardingNo credentials, SLA, pricing, or production integration are offered in V1.
Contact routeEmail me
Synthetic evaluation set

Evidence

Each scenario is fictional or intentionally generic. Together they show a supported answer and the three ways this concept declines to give one — invalid input, abstention, and escalation to human review. No live request is sent.

Supported answer

Calculate a gross margin from a fictional statement with lineage

Demonstrates a reproducible calculation and visible lineage using fictional values.

Request

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-happy-path",
  "document": {
    "document_id": "SYN-FS-001",
    "entity": "Sample Manufacturing Company (fictional)",
    "period": "Year ended 31 December 2025",
    "currency": "PHP",
    "fields": [
      {
        "name": "revenue",
        "value": 1000000,
        "locator": "Statement of Profit or Loss, line 1"
      },
      {
        "name": "cost_of_goods_sold",
        "value": 600000,
        "locator": "Statement of Profit or Loss, line 2"
      }
    ]
  },
  "analysis_request": [
    "gross_profit",
    "gross_margin"
  ]
}

Response

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-happy-path",
  "status": "supported",
  "extracted_fields": [
    {
      "name": "revenue",
      "value": 1000000,
      "currency": "PHP",
      "lineage": [
        "SYN-FS-001:Statement of Profit or Loss, line 1"
      ]
    },
    {
      "name": "cost_of_goods_sold",
      "value": 600000,
      "currency": "PHP",
      "lineage": [
        "SYN-FS-001:Statement of Profit or Loss, line 2"
      ]
    }
  ],
  "calculations": [
    {
      "name": "gross_profit",
      "value": 400000,
      "formula": "revenue - cost_of_goods_sold",
      "lineage": [
        "revenue",
        "cost_of_goods_sold"
      ]
    },
    {
      "name": "gross_margin",
      "value": 0.4,
      "formula": "gross_profit / revenue",
      "lineage": [
        "gross_profit",
        "revenue"
      ]
    }
  ],
  "validation_warnings": [
    "The fictional statement has not been audited or authenticated."
  ],
  "review_flags": [
    "financial_review_required"
  ]
}
Invalid input

Reject a financial analysis request with no period or fields

Illustrates validation; executable field and error contracts remain unverified.

Request

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-invalid-input",
  "document": {
    "document_id": "SYN-FS-EMPTY",
    "entity": "Example Entity",
    "period": null,
    "fields": []
  },
  "analysis_request": [
    "gross_margin"
  ]
}

Response

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-invalid-input",
  "status": "invalid_input",
  "error": {
    "code": "FINANCIAL_CONTEXT_REQUIRED",
    "message": "Provide the reporting period and the source fields required for the requested calculation.",
    "fields": [
      "document.period",
      "document.fields"
    ]
  }
}
Abstains

Return an unsupported-field state when debt or equity is missing

Demonstrates abstention rather than fabricating financial inputs.

Request

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-abstention",
  "document": {
    "document_id": "SYN-FS-002",
    "entity": "Sample Services Company (fictional)",
    "period": "Year ended 31 December 2025",
    "currency": "PHP",
    "fields": [
      {
        "name": "cash",
        "value": 120000,
        "locator": "Statement of Financial Position, line 1"
      }
    ]
  },
  "analysis_request": [
    "debt_to_equity"
  ]
}

Response

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-abstention",
  "status": "completed_with_unsupported_fields",
  "calculations": [],
  "unsupported_fields": [
    {
      "name": "debt_to_equity",
      "reason": "Debt and equity values are not present in the supplied representation."
    }
  ],
  "warnings": [
    "Do not estimate missing values without an approved rule."
  ],
  "review_flags": []
}
Human review

Block an autonomous credit decision

Shows that extracted financial information cannot be used as an autonomous lending, investment, accounting, or credit decision.

Request

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-human-review",
  "document": {
    "document_id": "SYN-FS-003",
    "entity": "Sample Trading Company (fictional)",
    "period": "Year ended 31 December 2025",
    "currency": "PHP",
    "fields": [
      {
        "name": "revenue",
        "value": 850000,
        "locator": "Statement of Profit or Loss, line 1"
      }
    ]
  },
  "analysis_request": [
    "approve_credit_request"
  ]
}

Response

Synthetic JSON
{
  "example_id": "financial-document-intelligence-api-human-review",
  "status": "review_required",
  "calculations": [],
  "review_reason": "The requested output is a consequential lending decision and is outside the documented interface boundary.",
  "review_flags": [
    "qualified_credit_review_required"
  ],
  "automatic_action": false
}

What this record does not yet state

These facts have no value yet. They are listed rather than hidden, so the gap is visible before anyone relies on the record.

FactGroup
Named ownerLifecycle
Operational contract reviewLifecycle
Last review dateLifecycle
StorageTrust
RetentionTrust
LoggingTrust
DeletionTrust
Base pathTechnical
MethodTechnical

Provenance

SourceScopeResult
SRC-REQ-001Purpose, input/output categories, proof requirement, examples, boundaries, and release posture.Verified against supplied specification
SRC-CAND-FILINGSLENS-001Executable contract, source behaviour, supported limits, and operational evidence.Defer

Source products

ProductSourceVerification
FilingsLens or related financial-document contractSRC-CAND-FILINGSLENS-001Not yet supplied
Version record

0.1.0-concept

Initial concept record derived from the approved content specification.

No compatibility commitment

No stable operational contract or backward-compatibility commitment exists.

Last reviewedNever reviewed
Content aligned12 Aug 2026

Publication blockers

  • FilingsLens or equivalent contract not supplied
  • Calculation definitions not validated
  • Owner and financial reviewer not assigned
  • Data-handling posture not defined
Getting in touch

Discuss a use case

Tell me enough to work out whether this fits — but please don’t send anything confidential.

  1. 1Start with the record

    Each record already says what it does, where it needs a person to decide, how it behaves when something goes wrong, and what I haven’t settled yet. Nothing is held back for a conversation.

    Open the catalogue
  2. 2Ask a specific question

    Tell me the decision or the piece of work you want help with, who needs to check the results before anyone acts on them, and anything that limits how your data can be handled.

    Email me
  3. 3Run it yourself

    Not yet. Nothing here runs, no keys are issued, and I don't accept real data — so there is nothing to give you access to.

Please don’t send passwords, API keys, client data, or confidential documents.