This project generates PDF invoices for music students based on data from a spreadsheet.
batch_invoice_generator/ ├── data/ │ └── spreadsheet.xlsx ├── invoices/ ├── scripts/ │ └── invoice_generator.py ├── templates/ │ └── invoice_template.html ├── venv/ ├── README.md ├── requirements.txt └── .gitignore
- Clone the repository.
- Navigate to the project directory.
- Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate
- Install the required Python packages:
pip install -r requirements.txt
- Place your spreadsheet file (
spreadsheet.xlsx
) in thedata/
directory. - Run the invoice generator script:
python scripts/invoice_generator.py
- Generated invoices will be saved in the
invoices/
directory.
- pandas
- jinja2
- weasyprint
- reportlab
This project is licensed under the MIT License.