Zero-Cost, 100% Private: Building a Local Invoice & Receipt Sorter with Open-Source AI
Description and use
A local Python script that processes invoices and receipts offline, categorizes vendors, and outputs structured JSON, eliminating SaaS costs and ensuring data privacy.
Problem
Freelancers and side hustles need to automate expense tracking without exposing sensitive financial data to cloud services or incurring recurring costs.
Outcome
The script successfully parses invoices locally, outputs structured JSON, and eliminates the need for cloud APIs or subscription fees.
Workflow
- 1. Place invoice or receipt files (PDF, PNG, JPG) in the ./unprocessed_invoices folder.
- 2. Run the Python script.
- 3. The script traverses the folder, processes each file locally using open‑weight vision/text models, and prints a JSON object containing vendor_name, date, total_amount, and category.
Evidence
An offline, zero-cost Python invoice and receipt sorter designed to automate expense tracking for freelancers and side hustles.
It processes financial documents locally, categorizes vendors, and outputs structured JSON without sending any data to cloud-based APIs or third-party servers.
The pipeline is built using a lightweight Python script leveraging open-source libraries and local file system traversal:
My First User Early Validation: Tested with a freelance design client processing monthly software subscriptions and equipment receipts entirely offline.
- Record date: 2026-10-13T20:41:36.626Z