How deepaksurisetti/invoiq works
InvoiQ is a frontend-only invoice, quote, and estimate editor. Users select document type and simple or detailed mode, enter parties, currency, line items and optional charges, review a live preview, then export PDF or CSV. App owns the in-memory document state and dispatches rendering and exports; calculations and currency utilities support those views and exports. The README confirms client-side operation without storage. Evidence is limited to the supplied excerpts and README, so the graph omits unshown interactions rather than inferring them.
Main entry points: App.jsx Application state · currencies.js Currency catalog · pdfExport.js PDF export · csvExport.js CSV export
Components 12
Application workflow
- Application state
src/App.jsx - Document controls
src/components/Header.jsx
Document editing
- Invoice form
src/components/FormPanel.jsx - Line items
src/components/ItemsTable.jsx - Currency selector
src/components/CurrencySelect.jsx
Preview and calculations
- Currency catalog
src/data/currencies.js - Live preview
src/components/PreviewPanel.jsx - Totals and amounts
src/utils/calculations.js
Document exports
- PDF export
src/utils/pdfExport.js - CSV export
src/utils/csvExport.js
Other components
- User
- Browser download
Connections 20
- User → Application state: edits document
README.md - Application state → Document controls: renders controls
src/App.jsx - Application state → Invoice form: renders form
src/App.jsx - Application state → Live preview: renders preview
src/App.jsx - Document controls → Application state: changes state
src/App.jsx - Invoice form → Currency selector: renders selector
src/components/FormPanel.jsx - Invoice form → Line items: renders table
src/components/FormPanel.jsx - Currency selector → Currency catalog: filters catalog
src/components/CurrencySelect.jsx - Line items → Totals and amounts: calculates amounts
src/components/ItemsTable.jsx - Line items → Currency catalog: formats amounts
src/components/ItemsTable.jsx - Live preview → Totals and amounts: calculates totals
src/components/PreviewPanel.jsx - Live preview → Currency catalog: formats amounts
src/components/PreviewPanel.jsx - Application state → PDF export: dispatches export
src/App.jsx - Application state → CSV export: dispatches export
src/App.jsx - PDF export → Totals and amounts: calculates totals
src/utils/pdfExport.js - PDF export → Currency catalog: looks up currency
src/utils/pdfExport.js - PDF export → Browser download: saves PDF
src/utils/pdfExport.js - CSV export → Totals and amounts: calculates totals
src/utils/csvExport.js - CSV export → Currency catalog: looks up currency
src/utils/csvExport.js - CSV export → Browser download: downloads CSV
src/utils/csvExport.js