How nayana-m12/reconcilr works
Reconcilr is an accounts-payable reconciliation product: users import or extract financial records, match invoices against purchase orders and payments, review exceptions and AI suggestions, and investigate or resolve cases. The graph includes the frontend entry point, backend routing, domain processing, and persistence/audit layers. Some frontend-to-backend wiring and unsampled API behavior are shown only as unverified; edges otherwise reflect cited imports, calls, or documented routing.
Main entry points: App.tsx Reconciliation UI · main.py API application · investigate.py Case investigation · auth.py Login routes
Components 22
User interface
- Reconciliation UI
frontend/src/App.tsx - API client
frontend/src/api.ts
API and identity
- API application
backend/app/main.py - Login routes
backend/app/api/auth.py - Authentication
backend/app/auth.py
Record processing
- Document intake
backend/app/api/documents.py - Document extraction
backend/app/services/extractor.py - Record import
backend/app/services/importer.py - Invoice matching
backend/app/services/matching/engine.py - Match strategies
backend/app/services/matching/common.py
Review and resolution
- Exception detection
backend/app/services/exceptions/engine.py - Exception detectors
backend/app/services/exceptions/detectors.py - AI suggestions
backend/app/ai/suggestions.py - Case investigation
backend/app/agent/investigate.py - Resolution planning
backend/app/agent/solutions.py - Action verification
backend/app/agent/verifier.py - Adjustments and approvals
backend/app/services/adjustments.py
Persistence and audit
- Database session
backend/app/database.py - Finance records
backend/app/models/entities.py - Audit logging
backend/app/services/audit.py - Audit redaction
backend/app/services/privacy.py
Other components
- Finance user
Connections 19
- Finance user → Reconciliation UI: uses
frontend/src/App.tsx - Reconciliation UI → API client: requests
frontend/src/App.tsx - API client → API application: calls API
- API application → Login routes: registers
backend/app/main.py - API application → Document intake: registers
backend/app/main.py - API application → Authentication: checks tokens
backend/app/main.py - Login routes → Authentication: creates tokens
backend/app/api/auth.py - Document intake → Document extraction: extracts files
backend/app/api/documents.py - Document intake → Record import: imports records
backend/app/api/documents.py - Invoice matching → Match strategies: uses strategies
backend/app/services/matching/engine.py - Exception detection → Exception detectors: gets findings
backend/app/services/exceptions/engine.py - Case investigation → Resolution planning: requests plan
backend/app/agent/investigate.py - Case investigation → Action verification: verifies actions
backend/app/agent/investigate.py - Case investigation → Audit logging: records activity
backend/app/agent/investigate.py - Audit logging → Audit redaction: redacts data
backend/app/services/audit.py - Login routes → Audit logging: records activity
backend/app/api/auth.py - Database session → Finance records: maps records
backend/app/models/entities.py - Reconciliation UI → AI suggestions: reviews suggestions
- Reconciliation UI → Adjustments and approvals: reviews adjustments