How bashutosh017/gst-geno works
GST Geno is an offline-first Android GST invoicing app. Users maintain business, customer, and product records, prepare tax-calculated invoices, then review, issue, and export them as PDFs. Local SQLite provides persistent records; the README also documents UPI and QR payment information on invoices. The sampled files show key screen-to-service calls and database access, but several routes and modules were not inspected; those uncertain links are omitted rather than inferred.
Main entry points: InvoiceScreen.tsx Invoice creation · invoice.service.ts Invoice lifecycle · connection.ts SQLite database · BusinessProfileScreen.tsx Business profile
Components 15
App access
- App lock
src/components/AppLock.tsx
Business records
- Business profile
src/screens/BusinessProfileScreen.tsx - Business settings
src/services/business.service.ts - Customer records
src/screens/CustomerScreen.tsx - Customer records service
src/services/customer.service.ts - Product catalogue
src/screens/ProductScreen.tsx - Product service
src/services/product.service.ts
Invoice workflow
- Invoice creation
src/screens/InvoiceScreen.tsx - GST calculations
src/utils/gst.ts - Invoice lifecycle
src/services/invoice.service.ts - Invoice history
src/screens/InvoiceHistoryScreen.tsx - PDF and QR export
src/services/pdf.service.ts
Local data
- SQLite database
src/database/connection.ts - Database schema
src/database/schema.ts
Other components
- Mobile user
Connections 22
- Mobile user → App lock: opens app
- App lock → Business profile: unverified access
- Mobile user → Business profile: manage details
README.md - Business profile → Business settings: uses settings
src/screens/BusinessProfileScreen.tsx - Mobile user → Customer records: manage customers
README.md - Mobile user → Product catalogue: manage products
README.md - Product catalogue → Product service: uses catalogue
src/screens/ProductScreen.tsx - Invoice creation → Customer records service: loads customers
src/screens/InvoiceScreen.tsx - Invoice creation → Product service: loads products
src/screens/InvoiceScreen.tsx - Invoice creation → Business settings: loads settings
src/screens/InvoiceScreen.tsx - Invoice creation → GST calculations: calculates tax
src/screens/InvoiceScreen.tsx - Invoice creation → Invoice lifecycle: creates invoice
src/screens/InvoiceScreen.tsx - Invoice lifecycle → GST calculations: calculates tax
src/services/invoice.service.ts - Mobile user → Invoice creation: prepare invoice
README.md - Invoice history → Invoice lifecycle: loads and issues
src/screens/InvoiceHistoryScreen.tsx - Invoice history → PDF and QR export: exports PDF
src/screens/InvoiceHistoryScreen.tsx - PDF and QR export → Invoice lifecycle: loads invoice
src/services/pdf.service.ts - Business settings → SQLite database: reads and writes
src/services/business.service.ts - Customer records service → SQLite database: reads and writes
src/services/customer.service.ts - Product service → SQLite database: reads and writes
src/services/product.service.ts - Invoice lifecycle → SQLite database: reads and writes
src/services/invoice.service.ts - SQLite database → Database schema: initializes from
src/database/connection.ts