How aathisankar7/invoicegen works
This is an interactive terminal GST invoice generator. A user enters a customer and ordered line items; the CLI looks up product tax metadata, computes invoice totals, prints a summary, and fills a PDF form for output. The runtime is concentrated in main.py, so several distinct workflow stages share that path. The README documents the catalog and PDF capabilities; relationships shown here are supported by the main.py excerpt or README.
Main entry points: main.py Interactive CLI · products.json Product catalog · template.pdf AcroForm template
Components 10
Invoice workflow
- Interactive CLI
main.py - Customer and items
main.py - Tax calculations
main.py - Terminal summary
main.py
Product catalog
- Catalog lookup
main.py - Product catalog
products.json
PDF output
- PDF form filling
main.py - AcroForm template
template.pdf - Invoice PDF
Other components
- Invoice user
Connections 9
- Invoice user → Interactive CLI: starts
README.md - Interactive CLI → Customer and items: prompts for
main.py - Interactive CLI → Catalog lookup: loads catalog
main.py - Catalog lookup → Product catalog: reads
main.py - Interactive CLI → Tax calculations: computes totals
main.py - Interactive CLI → Terminal summary: prints
main.py - Interactive CLI → PDF form filling: fills form
main.py - PDF form filling → AcroForm template: reads template
main.py - PDF form filling → Invoice PDF: writes
main.py