This project is an Invoice Generator that creates an invoice with an EPC payment QR code using the segno
Python library. The invoice is generated as a PDF using LaTeX.
- Generate professional invoices in PDF format
- Include EPC payment QR codes for easy payments
- Customizable invoice details via
invoice_details.md
- Two versions available: English (
invoice_generator_EN.py
) and German (invoice_generator_DE.py
)
- Python 3.6 or higher
- LaTeX distribution (e.g., TeX Live, MiKTeX)
-
Clone the repository:
git clone https://github.com/yourusername/invoice-generator.git cd invoice-generator
-
Create a conda environment from the environment YAML file:
conda env create -f environment.yml
-
Activate the conda environment:
conda activate invoice-generator
-
Ensure LaTeX is installed on your system. For TeX Live:
sudo apt-get install texlive-full # On Debian/Ubuntu
-
Fill in your payment information and invoice text in the
invoice_details.md
file.
-
Ensure your conda environment is activated:
conda activate invoice-generator
-
Run the English version of the invoice generator:
python invoice_generator_EN.py
-
Or, run the German version of the invoice generator:
python invoice_generator_DE.py
-
The generated invoice will be saved as
invoice.pdf
in the current directory.
- invoice_details.md: This file should be filled with the necessary details for your invoice. The details should include payment information, such as the recipient's bank details, amount, and other relevant text.
Contributions are welcome! Please fork this repository and submit pull requests with your improvements.
This project is licensed under the MIT License. See the LICENSE
file for details.