Local Receipts: a receipt organizer for freelancers, powered by local Gemma 3
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle What I Built Local Receipts is a receipt organizer for Brazilian freelancers and MEIs (micro-entrepreneurs). You give it the text or a photo of a receipt or invoice, and it returns the vendor, tax ID (CNPJ), date, total and expense category. At the end of the month you get a summary by category and a CSV that…
Local Receipts is an application designed for Brazilian freelancers and micro-entrepreneurs to organize their receipts, without sending any information to the cloud. Users can input the text or a photo of a receipt or invoice, and the application returns detailed information such as vendor, tax ID (CNPJ), date, total, and expense category. At the end of the month, users receive a summary by category and a CSV file that can be opened directly in Brazilian Excel.
The application's core is powered by Gemma 3 4B, an open-weight model running locally on a user's machine via Ollama. The model reads both text and images, handling both pasted text and photos of receipts. The application's code validates the CNPJ using the check digits and flags any invalid or missing information. Amounts are stored as integer cents, and the same document is never processed twice, ensuring accuracy. The application also extracts the currency, preventing any silent errors that could cost real money.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.