mirror of
https://github.com/coko7/expense-report.git
synced 2026-07-20 12:44:57 +00:00
🧾 Generate Excel reports from PDF invoices
bash
csv
invoice
invoice-pdf
invoice2data
jq
json
openpyxl
pdftotext
python
templates
venv-python
workbook
xlsx
- Shell 85.8%
- Python 14.2%
New utility scripts to support the expense reporting workflow: - create-pdf-summary.sh extracts and merges the first page of all invoices - hook-xp-files.sh batch-imports expense files from ~/Downloads |
||
|---|---|---|
| templates | ||
| .env | ||
| .gitignore | ||
| create-pdf-summary.sh | ||
| create_xlsx.py | ||
| generate-report.sh | ||
| hook-xp-files.sh | ||
| invoice2json.sh | ||
| LICENSE | ||
| README.md | ||
| setup.sh | ||
🧾 expense-report
Generate Excel reports from PDF invoices.
Requirements
- python/pip
- fd, jq
- invoice2data
- gum
Usage
$ ./setup.sh # setup the python venv
$ ./invoice2json.sh # use invoice2data to extract data from PDFs
$ ./generate-report.sh # convert generated JSON into csv and insert it in the XLSX template