How konathamvenkat/invoicing-frontend works
MSS Invoice is an Angular invoicing application for managing customers, products, contracts, invoices, payments, company settings, and financial reports. Users enter through the app shell and authenticated routes; the invoice editor is a central workflow, using domain services to load related records and submit invoice actions to the API. Report capabilities include aging, VAT, customer statements, product revenue, contract expiry, and invoice registers. Edges are limited to relationships visible in excerpts, the source index, or routing configuration; some feature-to-service links are therefore not shown.
Main entry points: app.routes.ts Route dispatch · invoices Invoice workflows · dashboard.component.ts Dashboard · auth.service.ts Authentication
Components 22
App and access
- App shell
projects/mss-invoice/src/app/app.ts - Route dispatch
projects/mss-invoice/src/app/app.routes.ts - Authentication
projects/mss-invoice/src/app/core/services/auth.service.ts - Auth guard
projects/mss-invoice/src/app/core/guards/auth.guard.ts - Login
projects/mss-invoice/src/app/features/auth/login/login.component.ts
Business operations
- Dashboard
projects/mss-invoice/src/app/features/dashboard/dashboard.component.ts - Invoice workflows
projects/mss-invoice/src/app/features/invoices - Customer management
projects/mss-invoice/src/app/features/customers/customer-list.component.ts - Product management
projects/mss-invoice/src/app/features/products/product-list.component.ts - Contract management
projects/mss-invoice/src/app/features/contracts/contract-list.component.ts - Company settings
projects/mss-invoice/src/app/features/company/company-settings.component.ts
Reporting
- Reports
projects/mss-invoice/src/app/features/reports
Domain and API
- Invoice service
projects/mss-invoice/src/app/core/services/invoice.service.ts - Customer service
projects/mss-invoice/src/app/core/services/customer.service.ts - Product service
projects/mss-invoice/src/app/core/services/product.service.ts - Contract service
projects/mss-invoice/src/app/core/services/contract.service.ts - Payment service
projects/mss-invoice/src/app/core/services/payment.service.ts - Report service
projects/mss-invoice/src/app/core/services/report.service.ts - Company service
projects/mss-invoice/src/app/core/services/company.service.ts - API configuration
projects/mss-invoice/src/app/core/api-config.ts
Other components
- User
- Invoice API
Connections 37
- User → App shell: uses
- App shell → Authentication: logs out
projects/mss-invoice/src/app/app.ts - App shell → Route dispatch: hosts routes
- Route dispatch → Auth guard: guards routes
projects/mss-invoice/src/app/app.routes.ts - Auth guard → Authentication: checks session
projects/mss-invoice/src/app/core/guards/auth.guard.ts - Route dispatch → Login: routes to
projects/mss-invoice/src/app/app.routes.ts - Route dispatch → Dashboard: routes to
projects/mss-invoice/src/app/app.routes.ts - Route dispatch → Invoice workflows: routes to
projects/mss-invoice/src/app/app.routes.ts - Route dispatch → Customer management: routes to
projects/mss-invoice/src/app/app.routes.ts - Route dispatch → Product management: routes to
projects/mss-invoice/src/app/app.routes.ts - Route dispatch → Contract management: routes to
projects/mss-invoice/src/app/app.routes.ts - Route dispatch → Company settings: routes to
projects/mss-invoice/src/app/app.routes.ts - Route dispatch → Reports: routes to
projects/mss-invoice/src/app/app.routes.ts - Invoice workflows → Invoice service: uses
projects/mss-invoice/src/app/features/invoices/invoice-editor/invoice-editor.component.ts - Invoice workflows → Customer service: loads customers
projects/mss-invoice/src/app/features/invoices/invoice-editor/invoice-editor.component.ts - Invoice workflows → Product service: loads products
projects/mss-invoice/src/app/features/invoices/invoice-editor/invoice-editor.component.ts - Invoice workflows → Contract service: checks contracts
projects/mss-invoice/src/app/features/invoices/invoice-editor/invoice-editor.component.ts - Invoice workflows → Company service: loads company
projects/mss-invoice/src/app/features/invoices/invoice-editor/invoice-editor.component.ts - Invoice workflows → Payment service: uses
projects/mss-invoice/src/app/features/invoices/invoice-editor/invoice-editor.component.ts - Dashboard → Invoice service: loads invoices
projects/mss-invoice/src/app/features/dashboard/dashboard.component.ts - Dashboard → Customer service: loads customers
projects/mss-invoice/src/app/features/dashboard/dashboard.component.ts - Dashboard → Contract service: loads contracts
projects/mss-invoice/src/app/features/dashboard/dashboard.component.ts - Dashboard → Payment service: loads payments
projects/mss-invoice/src/app/features/dashboard/dashboard.component.ts - Customer management → Customer service: uses
projects/mss-invoice/src/app/features/customers/customer-list.component.ts - Product management → Product service: uses
projects/mss-invoice/src/app/features/products/product-list.component.ts - Contract management → Contract service: uses
projects/mss-invoice/src/app/features/contracts/contract-list.component.ts - Contract management → Customer service: loads customers
projects/mss-invoice/src/app/features/contracts/contract-list.component.ts - Contract management → Product service: loads products
projects/mss-invoice/src/app/features/contracts/contract-list.component.ts - Company settings → Company service: uses
projects/mss-invoice/src/app/features/company/company-settings.component.ts - Company settings → Authentication: checks identity
projects/mss-invoice/src/app/features/company/company-settings.component.ts - Invoice service → Invoice API: HTTP requests
projects/mss-invoice/src/app/core/services/invoice.service.ts - Report service → Invoice API: HTTP requests
projects/mss-invoice/src/app/core/services/report.service.ts - Authentication → Invoice API: login request
projects/mss-invoice/src/app/core/services/auth.service.ts - Invoice service → API configuration: uses base URL
projects/mss-invoice/src/app/core/services/invoice.service.ts - Report service → API configuration: uses base URL
projects/mss-invoice/src/app/core/services/report.service.ts - Authentication → API configuration: uses base URL
projects/mss-invoice/src/app/core/services/auth.service.ts - Reports → Report service: requests reports
projects/mss-invoice/src/app/features/reports/invoice-register/invoice-register-report.component.ts