Receipt Sorter: a freelancer's tax-season tool that never leaves the laptop
说明与用途
Receipt Sorter 自动将电子收据和发票本地整理成 CSV 和按类别的文件夹,所有数据保持离线。
问题
Freelancers and small studios spend hours sorting receipts and invoices each tax season, often handling sensitive client documents that should not be uploaded to cloud services.
结果
The tool reduces manual receipt sorting to a single offline script run, producing a clean CSV and organized folder structure while keeping all data on the local machine.
工作流
- Scan or copy receipts into a source folder
- Run the Receipt Sorter script locally (no internet required)
- The script reads PDFs with pypdf and sends text to the Qwen2.5 3B model via Ollama
- Model returns structured JSON; Pydantic validates it
- If validation succeeds, file is copied to category folder with renamed filename and metadata added to CSV
- If validation fails twice, file name is added to needs_review.txt
- Script outputs summary of sorted files and review list
证据
Receipt Sorter turns a messy folder of receipts and invoices into a clean CSV and a tidy, renamed folder structure.
For each document it extracts the vendor, date, total, currency and a category (software, travel, meals, office, equipment, utilities, other).
Anything it can't read confidently goes into a needs_review.txt list instead of being silently guessed.
The demo runs with Wi‑Fi turned off.
Model: Qwen2.5 3B, an open-weight model, running locally through Ollama.
- 记录日期: 2026-10-18T12:41:34.231Z