Skip to content
UsecaseBoard
← All use cases
dev.toMoney-Bills

File text receipts with a local model and a review queue

At a glance

Receipt Sloth uses local Gemma to sort receipt text into dated folders and produce a spending summary. This workflow is listed under Money-Bills, Receipts, Document Filing.

SourceBuilding a tool for these workflows? See weekly rates.

What they did

1) On a computer with Python 3.9 or newer, clone `https://github.com/RostyslavDzhohola/receipt-sloth.git` and change into the `receipt-sloth` directory. Prepare a folder of text, Markdown or exported `.eml` receipts; extract text from photos or PDFs first. 2) Preview with `python3 -m receipt_sloth samples/ --engine rules --dry-run`, substituting your folder for `samples/` when ready. Inspect the proposed destinations before writing files. 3) With Ollama installed and running, download the model using `ollama pull gemma4:e2b-it-qat`, then run `python3 -m receipt_sloth samples/ --engine gemma` against the chosen folder. 4) Review the dated copies, CSV, monthly summary and `needs-review/` items, checking extracted amounts and dates against the originals.

How it went

The author reports a fictional demo filed three unique receipts, skipped one duplicate and left one grocery list for review. This was not a claim of weeks of personal use.

Worth knowing

The model once invented a 30.33 EUR total for a 27.80 EUR receipt; validation rejected it, but a wrong number appearing elsewhere in the receipt can still pass. Originals are kept by default.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

No prompt excerpt was provided by the source.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →