Skip to content

A Python tool to create PDF invoices for freelancers & small businesses. Add clients, items, taxes, & discounts; export to JSON. Uses ReportLab for PDFs & dataclasses for data. Soon adding an auto email-sending bot to deliver invoices to clients' emails. Contributions welcome! Built with Python, ReportLab, JSON.

License

Notifications You must be signed in to change notification settings

Algos-bySchizo/PDF-Invoice-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invoice Generator

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.

Features

  • 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)

Demo

Invoice Generator Screenshot Add a screenshot of your app here for better presentation.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/Project-Invoice-Generator.git
    cd Project-Invoice-Generator
  2. Create a virtual environment (optional but recommended):
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:
    pip install Flask reportlab

Usage

  1. Start the Flask app:
    python app.py
  2. Open your browser and go to: http://127.0.0.1:5000/
  3. Fill in the client and item details, set tax/discount, and click 'Generate Invoice'.
  4. The PDF invoice will be generated and downloaded automatically.

Project Structure

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

Dependencies

Install all dependencies with:

pip install Flask reportlab

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

MIT (add a LICENSE file if you want to specify a license)

Contact

For questions or suggestions, open an issue or contact the maintainer.

About

A Python tool to create PDF invoices for freelancers & small businesses. Add clients, items, taxes, & discounts; export to JSON. Uses ReportLab for PDFs & dataclasses for data. Soon adding an auto email-sending bot to deliver invoices to clients' emails. Contributions welcome! Built with Python, ReportLab, JSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published