LocalLedger AI is a privacy-first, zero-cloud invoice and receipt organizer built specifically for freelancers, independent contractors, and solo founders.
Independent operators handle dozens of sensitive invoices, client billing statements, and expense receipts every month. Current options force an unacceptable trade-off:
DEMO_GUIDE.md`` vendor, invoice_number, invoice_date, subtotal, tax, total, currency, category) locally. null / empty rather than being fabricated.subtotal + tax != total).(vendor, invoice_number) or (vendor, date, total) to prevent duplicate accounting entries.=, @, +, -).
The complete source code, automated test suite, and architectural documentation are publicly available on GitHub:
LocalLedger AI is a privacy-first, on-device invoice and receipt organizer designed for freelancers, independent contractors, and small business owners. It extracts structured financial records from unstructured invoice text and text-based PDFs using an open-weight language model running locally on your computer.
All document parsing, AI inference, and SQLite storage occur entirely on localhost. No financial documents or client details are sent to third-party cloud APIs.
Freelancers and micro-business operators face significant friction managing business expenses:
Objective: Deliver a zero-cloud, reliable…
pypdf.
LocalLedger AI was engineered around open-weight models and a strictly local runtime architecture:
ai_service.py`` http://127.0.0.1:11434 with qwen2.5:3b, 4-bit quantized Q4_K_M). format: "json", temperature: 0.0) to guarantee deterministic structured responses matching a strict 8-field canonical schema.invoice_parser.py`` database.py``sqlite3 (data/ledger.db) with parameterized SQL queries. app.py``compare_models.py
Open innovation and open-weight models made LocalLedger AI possible in ways proprietary closed APIs fundamentally cannot:
The entire project—from environment inspection and schema validation to SQLite persistence, Streamlit UI, duplicate prevention, and automated testing—was developed with an agentic pair programmer.
You can view the full architecture, test documentation, and development milestones directly in the repository:
To ground the side hustle hypothesis in authentic feedback rather than assumptions, I prepared a comprehensive customer pilot kit:
CUSTOMER_PILOT.md`` PILOT_RESULTS_TEMPLATE.md
Built with ❤️ for freelancers who value their privacy and their time.