How sriram36/wirematch works
WireMatch is a tenant-scoped bank-reconciliation application for capital calls. A general partner selects an organization, imports a bank CSV, reviews suggested matches and transaction status, and approves, rejects, or ignores payments; approval updates funded amounts. The graph follows the shown frontend-to-service and service-to-model calls. The API-to-view and model-to-database links are documented or architecturally indicated, but their concrete runtime wiring is not shown in the excerpts, so those links are dashed.
Main entry points: App.jsx Dashboard state · views.py REST endpoints · importer.py Statement importer · models.py Reconciliation records
Components 19
Review dashboard
- Dashboard state
frontend/src/App.jsx - Organization switcher
frontend/src/components/OrgSwitcher.jsx - CSV upload panel
frontend/src/components/ImportPanel.jsx - Transaction review
frontend/src/components/TransactionTable.jsx - Capital call panel
frontend/src/components/LineItemPanel.jsx - Status badge
frontend/src/components/StatusBadge.jsx - Display formatting
frontend/src/format.js
API boundary
- HTTP API client
frontend/src/api.js - REST endpoints
backend/recon/views.py - Response serializers
backend/recon/serializers.py
Import and reconciliation
- CSV validation
backend/recon/csv_parsing.py - Statement importer
backend/recon/importer.py - Payment matching
backend/recon/matching.py - Reference normalization
backend/recon/normalization.py - Match decisions
backend/recon/reconciliation.py - Tenant queries
backend/recon/selectors.py
Tenant data
- Reconciliation records
backend/recon/models.py - PostgreSQL
Other components
- General partner
Connections 24
- General partner → Dashboard state: uses
README.md - Dashboard state → HTTP API client: requests data
frontend/src/App.jsx - Dashboard state → Organization switcher: renders
frontend/src/App.jsx - Dashboard state → CSV upload panel: renders
frontend/src/App.jsx - Dashboard state → Transaction review: renders
frontend/src/App.jsx - Dashboard state → Capital call panel: renders
frontend/src/App.jsx - Transaction review → Status badge: renders
frontend/src/components/TransactionTable.jsx - Transaction review → Display formatting: formats values
frontend/src/components/TransactionTable.jsx - Capital call panel → Status badge: renders
frontend/src/components/LineItemPanel.jsx - Status badge → Display formatting: formats status
frontend/src/components/StatusBadge.jsx - CSV upload panel → HTTP API client: uploads CSV
frontend/src/components/ImportPanel.jsx - HTTP API client → REST endpoints: calls API
- REST endpoints → Statement importer: imports statement
backend/recon/views.py - REST endpoints → Match decisions: handles decisions
backend/recon/views.py - REST endpoints → Tenant queries: queries tenant data
backend/recon/views.py - REST endpoints → Response serializers: serializes responses
backend/recon/views.py - Statement importer → CSV validation: parses statement
backend/recon/importer.py - Statement importer → Payment matching: matches credits
backend/recon/importer.py - Statement importer → Tenant queries: loads open items
backend/recon/importer.py - Statement importer → Reconciliation records: saves transactions
backend/recon/importer.py - Payment matching → Reference normalization: normalizes references
backend/recon/matching.py - Match decisions → Reconciliation records: updates funding
backend/recon/reconciliation.py - Tenant queries → Reconciliation records: reads records
backend/recon/selectors.py - Reconciliation records → PostgreSQL: persists records
README.md