ARIA (Autonomous Reconciliation Intelligence Agent) is an AI-first reconciliation platform: external SME systems push transactions continuously through an authenticated API; a deterministic five-agent pipeline reconciles them autonomously; results stream back in real time via SSE and webhooks. Two ARIA-owned web apps provide platform admin and tenant configuration; NovaPay (frontend-novapay) simulates an external integrator consuming the same API.
Core value proposition
ARIA converts a 2–4 hour manual reconciliation cycle into a sub-60-second autonomous workflow, with full auditability and human escalation for edge cases.
End-to-end workflow
flowchart LR
U[Upload proofs + bank stmt] --> E[Extract]
E --> N[Normalise FX]
N --> M[Match + score]
M --> R[Report + Excel]
R --> T{Uncertain items?}
T -->|Yes| Q[AWAITING_REVIEW]
T -->|No| D[COMPLETED]
Q --> H[Human review]
H --> D
Upload
Finance teams submit payment proofs (images, PDFs, Excel) plus bank data in one job.
NovaPay:/upload — drag proofs; attach a statement file or select a registered bank account (all pending ledger entries included).
API:POST /api/v1/jobs — multipart upload with payment_proofs[], optional bank_statement or bank_account_id.
Continuous ingest: external systems push proofs via POST /api/v1/ingest/transactions; statements land on bank accounts separately.
Extract
Specialist agents turn unstructured documents into typed PaymentRecord and BankEntry rows.
Payment proofs: vision-first for images; structured parsers for PDF/Excel/CSV with LLM fallback.
Bank statements: LLM-first PDF extraction; pdfplumber fallback; XLSX/CSV via column-aware parsers.
Records with extraction confidence < 0.5 route to human review; field-level flags below 0.7 surface in the UI.
Normalise
Every payment proof is converted to the job base currency (default MYR) with an FX-aware tolerance window.
Live and historical FX rates at invoice date and settlement date.
Estimated SWIFT charges deducted per corridor.
1.5% variance buffer (FX_VARIANCE_BUFFER_PCT) defines tolerance_low / tolerance_high for matching.
Match
Three-stage matching combines deterministic filters with LLM reasoning and a composite confidence score.
Filter: date window ±5 days, amount within tolerance band.
Score: amount 40%, date 20%, reference 30%, payer name 10%.
ARIA synthesises a reconciliation narrative and exports an audit-ready Excel workbook.
Summary cards: matched, uncertain, unmatched counts and total value in base currency.
Variance explanations in plain language for every line item.
Excel export: Summary, Matched, Exceptions, and Audit Log sheets.
Review
Uncertain matches (confidence 0.50–0.74) are flagged during matching but the report stage always runs first. Jobs finish as AWAITING_REVIEW when human decisions are needed.
NovaPay:/jobs/{id}/review — side-by-side proof vs candidate bank lines.
Actions: confirm, reject, or manual match with bank entry picker.
Every decision is logged with reasoning chain, confidence, and optional reviewer note.
Web applications
App
Port
Audience
Login
NovaPay (frontend-novapay)
5173
External SME system (reference client)
Demo credentials (local only); API calls use X-API-Key via VITE_API_KEY
Admin (frontend-admin)
5174
Platform operators
Admin JWT (seeded via DEFAULT_ADMIN_PASSWORD)
Tenant mgmt (frontend-tenant-mgmt)
5175
Tenant administrators
Tenant user JWT
NovaPay is not ARIA. It lives in this repository as a reference integration — a demo finance portal that calls the same REST endpoints a real ERP, treasury tool, or payment ops system would use. NovaPay authenticates to the API with X-API-Key only (not JWT). Admin and Tenant mgmt use JWT Bearer tokens.
NovaPay — reference external client (:5173)
NovaPay simulates an SME finance team’s reconciliation workspace powered by ARIA behind the scenes. All data flows through the platform API (/api/v1/jobs, /api/v1/ingest/transactions, SSE streams, etc.) — the UI is a stand-in for any external system.
Route
Screen
Purpose
/login
Sign in
Hardcoded demo credentials (finance@novapay.demo / novapay2026); no backend call — all API requests use X-API-Key from VITE_API_KEY env var
/dashboard
Pipeline dashboard
Job throughput, match-rate summary, recent jobs
/jobs
Job monitor
Paginated, filterable job list
/jobs/{id}
Job progress
Four-stage stepper driven by SSE (polling fallback)
/jobs/{id}/results
Results
Summary cards, reconciliation grid, export
/jobs/{id}/review
Review queue
Confirm / reject uncertain items
/upload
Upload
Manual file submission (same as POST /api/v1/jobs)
/ingest
Simulate ingest
Bank statement (upload file or select account ledger) + push proofs via ingest API
/queue
Transaction queue
Buffer status by corridor, manual flush → jobs
/bank-accounts
Bank accounts
Register accounts, upload statements, ledger view
/bank-accounts/{id}
Account detail
Statements and uncleared entries for one account
/vendor-rules
AI feedback
Vendor rules learned from human review (applied on future ingestion)
Admin app — platform (:5174)
Route
Screen
Purpose
/login
Sign in
Platform admin credentials
/tenants
Tenants
Create and list tenants
/tenants/{id}
Tenant detail
Tenant overview, API keys (admin path)
/users
Users
Create platform and tenant users
/analytics
Analytics
Cross-tenant reconciliation statistics
Tenant mgmt app — configuration (:5175)
Route
Screen
Purpose
/login
Sign in
Tenant user credentials
/dashboard
Overview
Tenant summary and quick links
/keys
API keys
Generate and revoke tenant API keys
/webhooks
Webhooks
Register endpoints, test delivery, delivery history
/bank-accounts
Bank accounts
Register accounts, upload statements, ledger view
/bank-accounts/{id}
Account detail
Statements and uncleared entries for one account
/analytics
Analytics
Tenant-scoped match rate and corridor breakdown
/queue
Transaction queue
Buffer status by corridor, manual flush
/users
Users
Invite tenant users (tenant-scoped)
/vendor-rules
AI feedback
Vendor rules learned from human review
What the finance officer does (manual upload flow — NovaPay demo)
Demo this flow in NovaPay to show how an external system would drive reconciliation through the API:
Step
Screen
Action
1
/upload
Drag multiple payment proofs and bank statements (upload files or select bank account — all pending ledger entries are included automatically); select base currency (MYR)
2
/jobs/{id}
Watch four-stage stepper (five agents; bank statement runs inside Ingestion); SSE delivers live progress
What an external SME system does (API integration flow)
Demo this flow from NovaPay (:5173) — the reference client simulates an external ERP pushing data into ARIA:
Authenticate — configure VITE_API_KEY (create key in Tenant mgmt → /keys); sign in to NovaPay with demo UI credentials (local gate only)
Ingest — NovaPay → Simulate ingest (/ingest) calls POST /api/v1/ingest/transactions with base64-encoded proofs and corridor metadata; or call the API directly with the key
Batch — buffered items auto-batch via Celery Beat, or flush manually from NovaPay → Queue (/queue)
Receive — register a webhook in Tenant mgmt (POST /api/v1/webhooks); receive HMAC-signed payloads for job.created, job.stage_completed (with stage field), job.completed, job.review_required, or job.failed
Retrieve — monitor jobs in NovaPay (/jobs), call GET /api/v1/jobs/{id}/results, or follow the SSE stream
Key differentiators
AI-first engine
The LLM reasoning chain is the reconciliation engine — rules are safety nets only.
Platform, not a tool
Multi-tenant API with key auth, continuous ingestion, webhooks, and SSE. Any SME system can integrate without the reference UI.
Vision-first ingestion
Multimodal extraction for images (PNG/JPG). PDF payment proofs and bank statements use structured parsers with LLM fallback.
FX-aware matching
Per-transaction tolerance windows using invoice and settlement rates plus SWIFT estimates.
Audit-ready output
Every decision includes variance explanation and full reasoning chain in the audit log.
Real-time visibility
SSE stream delivers pipeline progress per agent boundary. Webhooks push terminal events to external systems with HMAC-signed payloads.
Confidence routing
Confidence
Status
Action
≥ 0.75
Matched
Auto-match allowed
0.50 – 0.74
Uncertain
Human review queue; never auto-confirmed
< 0.50
Unmatched
Exception report
Extraction < 0.50 (batch avg)
Escalated
Skip normalisation/matching; report still runs
ARIA matched because the settlement amount falls within the FX tolerance window for USD/MYR on the value date — not because amounts were identical. See Architecture for tolerance calculation.