InvoicePilot: a private AI invoice sorter for freelancers that runs offline with Gemma 4
说明与用途
InvoicePilot 让自由职业者离线处理发票,保护隐私并消除订阅费用,提供验证和人工批准。
问题
Freelancers must manually sift through emails, downloads, and photos of receipts to extract data into spreadsheets, while existing AI scanners risk violating NDAs and incur subscriptions.
结果
InvoicePilot enables freelancers to process invoices offline, preserving privacy, eliminating subscription costs, and providing a validated, human‑approved CSV export.
工作流
- Drop PDF/PNG/JPG into the interface
- OCR or PDF text layer extracts raw text
- Local Gemma 4 E2B model parses vendor, dates, line items, tax, total
- Schema validation (Zod) checks output format
- Bounded repair attempts correct validation errors
- Deterministic math check verifies subtotal+tax-discount=total
- Human review approves or rejects record
- Approved records exported to CSV and visualized
证据
Every freelancer I know has the same quarterly ritual: dig through email attachments, download folders and photos of paper receipts, then retype everything into a spreadsheet.
Everything runs on localhost. No document text, price or client name leaves the machine.
Small on-device models can invent a zero tax line when a tax breakdown exists, confuse MM/DD with DD/MM dates, or return totals that don’t add up.
A deterministic math check: the backend verifies subtotal + tax - discount = total itself, in integer minor units, and warns on any mismatch
- 记录日期: 2026-10-18T20:56:09.651Z