How anjith1/msme-gst-agent works
FinSight combines receipt and financial-document analysis with a GST invoice portal. The main workflow is upload → extraction/analysis → transaction review and dashboard insights, with recurring-payment reminders as a related branch; GST has its own upload, invoice storage, summaries, and export flow. The excerpts establish client-side calls and GST backend orchestration, but the README is empty and several modules were not sampled, so uncertain frontend-to-backend links are marked unverified or omitted.
Main entry points: Dashboard.tsx Finance dashboard · gst_routes.py GST API routes · App.tsx App router · UploadZone.tsx Document upload
Components 21
Finance workspace
- App router
src/App.tsx - Document upload
src/components/UploadZone.tsx - Finance dashboard
src/pages/Dashboard.tsx - Transaction review
src/components/TransactionsTable.tsx - Spending insights
src/components/SpendingChart.tsx - Finance chat
src/components/ChatInterface.tsx - Reminder management
src/pages/Reminders.tsx
Client state
- Transaction state
src/lib/analyze-store.ts - Reminder state
src/lib/reminder-store.ts - GST client state
src/lib/gst-store.ts
GST processing
- GST dashboard
src/components/GSTDashboard.tsx - GST invoice upload
src/components/GSTUpload.tsx - Finance API
backend/main.py - GST API routes
backend/gst_routes.py - Invoice extraction
backend/gst_engine.py - Monthly GST summary
backend/gst_summary.py - GSTR-1 export
backend/gstr1_export.py
Persistence
- Database access
backend/database.py - MongoDB
Other components
- Finance user
- Gemini API
Connections 24
- Finance user → App router: opens workspace
src/App.tsx - App router → Document upload: routes to
src/App.tsx - App router → Finance dashboard: routes to
src/App.tsx - App router → GST dashboard: routes to
src/App.tsx - Document upload → Transaction state: updates and fetches
src/components/UploadZone.tsx - Document upload → Reminder state: detects recurring
src/components/UploadZone.tsx - Finance dashboard → Transaction state: loads transactions
src/pages/Dashboard.tsx - Finance dashboard → Reminder state: detects recurring
src/pages/Dashboard.tsx - Finance dashboard → Transaction review: renders
src/pages/Dashboard.tsx - Finance dashboard → Spending insights: renders
src/pages/Dashboard.tsx - Finance dashboard → Finance chat: renders
src/pages/Dashboard.tsx - Reminder management → Reminder state: manages
src/pages/Reminders.tsx - GST dashboard → GST invoice upload: renders
src/components/GSTDashboard.tsx - GST dashboard → GST client state: uses
src/components/GSTDashboard.tsx - GST invoice upload → GST client state: updates
src/components/GSTUpload.tsx - Finance API → GST API routes: registers routes
backend/main.py - GST API routes → Invoice extraction: extracts invoices
backend/gst_routes.py - GST API routes → Database access: reads and writes
backend/gst_routes.py - GST API routes → Monthly GST summary: requests summary
backend/gst_routes.py - GST API routes → GSTR-1 export: requests export
backend/gst_routes.py - Invoice extraction → Gemini API: extracts with
- Database access → MongoDB: connects to
backend/database.py - Transaction state → Finance API: requests transaction data
- GST client state → Finance API: requests GST data