DocumentationConceptual

How CreditPilot is meant to work.

Conceptual documentation for a product in development. Sections marked Draft describe proposed interfaces; there is no production API, SDK or sandbox endpoint today.

Platform overview

Conceptual

CreditPilot is a proposed workspace that helps credit analysts turn business financial documents into a reviewable credit assessment. It extracts source-linked financial data, calculates ratios with deterministic code, raises explainable indicators from configurable rules, drafts evidence-linked observations with AI, and records every review action.

It does not approve or reject applications, does not produce a credit score, and is not a lender, bureau or rating agency.

Maturity

Nothing described here is in production. The only working software is the interactive preview on the home page, which runs in your browser on synthetic data.

Product concepts

Conceptual

Credit case

The unit of work: applicant, facility request, reporting periods, documents, derived data, review and decision.

Provenance

Every value has a provenance class and a review state. Calculations inherit “unverified” when any input is unverified.

Indicator

A rule output with an identifier, version, threshold, inputs, evidence and severity. Indicators describe what changed and by how much, never why.

Observation

AI-drafted text with a claim type, citations, limitations, a support level and a review state. It is never a number of record.

Source-reported
Printed in a source document and confirmed by an analyst against that page.
Extracted
Read by the system, not yet confirmed. Shows its extraction confidence.
Calculated
Produced by deterministic code from other values; shows formula and inputs.
Analyst-adjusted
Entered by an analyst with a reason. The source value stays visible.
AI observation
Generated text about the data. Never a number of record.
Missing
Required but not provided. Calculations that need it are not run.

Credit-case workflow

Conceptual
  1. Draft
  2. Collecting documents
  3. Processing
  4. Verification
  5. Analysis
  6. In review
  7. Decision recorded
  8. Closed
  • Analysis starts only when every material value is verified, corrected, or explicitly carried forward unverified with a reason.
  • A case enters review only with a draft report and no unresolved blocking items.
  • A decision can be recorded only by an authorised reviewer who did not submit the case. “Analysis complete” never means “approved”.
  • From any open state, a case can return for more information or be withdrawn with a reason.

Document processing

Conceptual

The first version is scoped for balance sheets, profit and loss statements, cash-flow statements and bank-statement summaries in English, as PDF or image files. Other documents can be attached as supporting evidence without extraction.

Document processing states
StateMeaning
UploadedReceived in quarantine; not yet validated.
QueuedValidated and scanned; waiting for extraction.
ProcessingExtraction running, with progress by page where possible.
ExtractedFields produced; none below the confidence threshold.
Needs reviewAt least one field is uncertain, unmapped or unclassified.
CompletedAll material fields reviewed by an analyst.
FailedUnreadable, encrypted, unsupported or failed scanning, with a reason and next step.

Financial analysis

Conceptual

Ratios are computed by a calculation service with a versioned formula registry. Missing inputs are never imputed; when a ratio cannot be computed, the reason is shown. Lender-specific formula variants are planned as configurable, versioned definitions.

Ratio formula registry, first version
RatioFormulaNot calculated when
Revenue growth(Revenue t − Revenue t−1) ÷ Revenue t−1Prior period missing or zero
EBITDAPBT + Interest + Depreciation & amortisationAny input missing
EBITDA marginEBITDA ÷ RevenueRevenue missing or zero
Operating marginOperating profit (EBIT) ÷ RevenueAny input missing
Net profit marginProfit after tax ÷ RevenueRevenue missing or zero
Current ratioCurrent assets ÷ Current liabilitiesCurrent liabilities missing or zero
Debt-to-equityTotal debt ÷ Net worthNet worth zero or negative (shown as an indicator instead)
Interest coverageOperating profit ÷ Interest expenseNo interest expense reported
Debt-service coverage (DSCR)(PAT + D&A + Interest) ÷ (Interest + Principal due)Debt schedule not provided
Bank-credit coverageBank credits ÷ RevenueFlagged as partial when statement months are missing

API concepts

Draft

A REST API is planned for a later phase. These conventions are a draft and will change. No endpoint below is live, and no host name has been assigned.

  • Resources: cases, documents, fields, financials, ratios, analysis runs, observations, reviews, reports.
  • JSON bodies; timestamps in UTC; financial values as decimal strings with explicit unit and currency.
  • Cursor-based pagination with a maximum page size; stable sort order.
  • An idempotency key on create requests so retries do not duplicate work.
  • Errors as problem details with a correlation id, and no tenant data in messages.
  • Rate limits per key and per organisation, with a retry-after hint.
// DRAFT example only. Not a live endpoint.
GET /v1/cases/{caseId}/ratios/current_ratio?period=FY2024-25

{
  "ratio": "current_ratio",
  "formula_version": "1",
  "period": "FY2024-25",
  "value": "1.2533",
  "status": "computed",
  "flags": [],
  "inputs": [
    { "key": "current_assets",      "value": "1905.0", "unit": "INR_LAKH",
      "provenance": "source", "source": { "document": "FS-FY25", "page": 3, "line": "L14" } },
    { "key": "current_liabilities", "value": "1520.0", "unit": "INR_LAKH",
      "provenance": "source", "source": { "document": "FS-FY25", "page": 3, "line": "L31" } }
  ]
}

Authentication concepts

Draft
  • People sign in through a managed identity service with multi-factor authentication, required for reviewers, administrators and compliance users.
  • Sensitive actions (recording a decision, changing retention, exporting audit records) require recent re-authentication.
  • Machine access will use scoped, expiring credentials issued to an organisation. Scopes never include recording a credit decision.
  • Single sign-on is planned, first with OIDC and later SAML with user provisioning.

Sign-in is not available today. The sign-in page is a placeholder.

Integration guidance

Draft
  • Webhooks are planned for case status changes, completed processing, completed analysis, generated reports and recorded decisions.
  • Deliveries will be signed, retried with backoff and protected against replay; receivers should verify the signature and treat events idempotently.
  • Lending-system integrations are expected to push the report and decision reference back into the system of record, rather than replace it.
  • Bureau and account-aggregator data are not in scope; any future use would go through the lender’s own access and legal review.

Security principles

Design intent
  • P1Design intent

    Controlled access

    Role-based permissions checked on the server for every request, with separation of duties: whoever prepares a case cannot record its decision.

  • P2Design intent

    Evidence traceability

    Every value carries its source, page and review state. Every ratio records its formula version and inputs.

  • P3Design intent

    Data protection

    Encryption in transit and at rest, tenant isolation in the application and the database, and documents reachable only through short-lived signed links.

  • P4Design intent

    Auditability

    An append-only history of material actions, with report snapshots that can be compared version to version.

  • P5Design intent

    Human oversight

    AI drafts are unreviewed until a person acts on them. Credit decisions are recorded only by authorised reviewers.

  • P6Design intent

    Transparent limitations

    Uncertainty, missing evidence and unsupported documents are shown in the interface, not hidden behind a confident answer.

Have a question the docs do not answer?

Ask the team about the design, the formulas or the proposed API.