You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Invoice Generator with Tkinter and DocxTemplate
A simple Python application for generating invoices using Tkinter for the GUI and DocxTemplate for creating Word documents.
## Features
- User-friendly GUI for entering customer information and invoice items
- Automatic calculation of subtotals, taxes, and totals
- Generates professional-looking invoices in Word format
- Saves invoices with timestamps
## Requirements
- Python 3.x
- tkinter (usually included with Python)
- docxtpl
- docx (python-docx)
## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/invoice-generator-tkinter-and-doxtpl.git
cd invoice-generator-tkinter-and-doxtpl
```
2. Install dependencies:
```bash
pip install docxtpl python-docx
```
## Usage
1. Ensure `invoice_template.docx` is in the same directory
2. Run the application:
```bash
python main.py
```
3. Fill in customer details and add items
4. Click "Generate Invoice" to create the Word document
## Files
- `main.py`: Main application with Tkinter GUI
- `doc_gen.py`: Simple script for testing invoice generation
- `invoice_template.docx`: Word template for invoices
- `README.md`: This file
## Tutorial
Based on the tutorial: https://youtu.be/mJc5gAnnlVQ
# Invoice-Generator