ClearLedger AI

Production-Grade Spend Operations Stack

Claims intake, policy enforcement, approvals, audit events, operational analytics, and payout-readiness workflows in one system.

Intake + Extraction

  • Receipt OCR text ingestion endpoint
  • Email/chat/upload source tracking
  • Structured claim drafts and auto-categorization

Policy + Risk

  • Configurable policy thresholds per org
  • Blocked-merchant and allowed-category controls
  • Risk scoring with reason traces

Workflow + Audit

  • Stage transitions (approve/reject/reopen/pay)
  • Approvals, comments, and immutable event timeline
  • Analytics surface for SLA and spend visibility

API Surface

The backend now exposes production-oriented claims, policy, workflow, and analytics endpoints.

MethodPathDescription
GET/api/healthRuntime and DB readiness
GET/api/claimsFiltered claim listing with pagination
POST/api/claimsCreate and policy-score a claim
GET/api/claims/:idClaim details with approvals/comments/events
POST/api/claims/:id/actionsAdvance/reject/reopen workflows
POST/api/claims/:id/commentsAttach internal audit comments
GET/api/insightsOperational metrics and activity feed
GET/PATCH/api/policyRead/update organization policy thresholds
POST/api/ingestParse receipt text and optionally create claims