A simple, modern web application for generating professional invoices as PDF files. Built with Python, Flask, and ReportLab, this project allows users to input client and item details, apply tax and discounts, and download a ready-to-send invoice PDF.
- User-friendly web interface (responsive, built with Tailwind CSS)
- Add multiple items with quantity and price
- Input client details (name, email, address, phone)
- Apply tax rate and discount (flat or percentage)
- Generate and download PDF invoices instantly
- All invoice data processed locally (no external storage)
Add a screenshot of your app here for better presentation.
- Clone the repository:
git clone https://github.com/yourusername/Project-Invoice-Generator.git cd Project-Invoice-Generator - Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install Flask reportlab
- Start the Flask app:
python app.py
- Open your browser and go to: http://127.0.0.1:5000/
- Fill in the client and item details, set tax/discount, and click 'Generate Invoice'.
- The PDF invoice will be generated and downloaded automatically.
Project-Invoice-Generator/
├── app.py # Flask web server
├── main.py # Invoice logic and PDF generation
├── templates/
│ └── index.html # Web UI (Tailwind CSS)
└── README.md # Project documentation
Install all dependencies with:
pip install Flask reportlabPull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
MIT (add a LICENSE file if you want to specify a license)
For questions or suggestions, open an issue or contact the maintainer.