1
0
Fork 0
mirror of https://github.com/coko7/expense-report.git synced 2026-07-20 12:44:57 +00:00
🧾 Generate Excel reports from PDF invoices
  • Shell 85.8%
  • Python 14.2%
Find a file
Coko e6f6565ad3 feat(scripts): add PDF summary and invoice import utilities
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
2026-06-27 10:38:13 +02:00
templates feat: add inv2data yml templates 2025-12-14 14:17:06 +01:00
.env feat: add all scripts 2025-12-14 14:11:42 +01:00
.gitignore feat: add all scripts 2025-12-14 14:11:42 +01:00
create-pdf-summary.sh feat(scripts): add PDF summary and invoice import utilities 2026-06-27 10:38:13 +02:00
create_xlsx.py chore: fix setup.sh + incorrect comments in python script 2025-12-14 14:26:45 +01:00
generate-report.sh fix: exit generate-report when jq fails 2026-01-31 13:52:42 +01:00
hook-xp-files.sh feat(scripts): add PDF summary and invoice import utilities 2026-06-27 10:38:13 +02:00
invoice2json.sh fix: add python venv source in generate-report.sh 2026-01-30 19:05:31 +01:00
LICENSE Initial commit 2025-12-14 13:05:14 +00:00
README.md docs: update README 2026-01-31 14:05:38 +01:00
setup.sh fix: enforce python version to 3.11.8 in setup.sh 2026-03-02 16:39:52 +01:00

🧾 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