# Receipt OCR

> Receipt OCR (v0.4.0, Oct 2026, ~750 stars) is a developer tool, not a phone app. Its receipt-ocr command, Python library and FastAPI web service send a receipt image to an LLM and return structured JSON (merchant, date, total, line items). It needs an API key: the docs cover OpenAI, Google Gemini and Groq through an OpenAI-compatible setting; local models are not documented. A separate Tesseract module extracts raw text on your own machine with no key. MIT licence; install with pip or run in Docker. No receipt storage or expense tracking app is included.

- Repository: https://github.com/bhimrazy/receipt-ocr
- Official docs: https://github.com/bhimrazy/receipt-ocr#readme
- Checked: 2026-11-10

## What it replaces
Nothing people pay for: a free tool, listed because people search for it.

## Facts, with sources

| Question | Status | Answer | Source | Checked |
|---|---|---|---|---|
| Runs on my machine? | Partial | The CLI and web API run on your computer or server, but structured extraction sends images to a hosted LLM API; only the Tesseract raw-text module is fully local | https://github.com/bhimrazy/receipt-ocr#readme | 2026-11-10 |
| Code licence | Confirmed | MIT | https://github.com/bhimrazy/receipt-ocr/blob/main/LICENSE | 2026-11-10 |
| Model weights licence | Confirmed | No model weights; it calls the hosted model you choose (OpenAI, Gemini or Groq examples) under that provider's terms, and Tesseract is installed separately | https://github.com/bhimrazy/receipt-ocr#readme | 2026-11-10 |
| Commercial use | Confirmed | Yes; the MIT licence allows commercial use. Your LLM provider's own terms also apply | https://github.com/bhimrazy/receipt-ocr/blob/main/LICENSE | 2026-11-10 |
| Paid services needed? | Partial | Structured extraction needs an LLM API key (OpenAI, Google Gemini or Groq are documented); the Tesseract raw-text module needs none | https://github.com/bhimrazy/receipt-ocr#troubleshooting | 2026-11-10 |
| Hardware | Partial | No minimum figures stated; the AI work happens at the API provider, and Tesseract runs on an ordinary CPU | https://github.com/bhimrazy/receipt-ocr#prerequisites | 2026-11-10 |
| Operating systems | Confirmed | Any system with Python 3.10 or newer; the package is marked OS independent and its tests run on Linux, Windows and macOS. Docker images for servers | https://github.com/bhimrazy/receipt-ocr/blob/main/pyproject.toml | 2026-11-10 |
| Setup effort | Confirmed | Medium; pip install, set an API key, then run the command on an image. It is a command-line and API tool with no graphical app | https://github.com/bhimrazy/receipt-ocr#quick-start | 2026-11-10 |

GitHub: 764 stars, 92 forks, last push 2026-11-29, archived: no.

## Alternatives to Receipt OCR
- [Odoo Community](https://repoquarry.dev/projects/odoo-community.md): LGPL business suite; the Community edition's Invoicing app sends invoices and takes portal payments, with Expenses and Timesheets apps.
- [Invoice Ninja](https://repoquarry.dev/projects/invoice-ninja.md): Invoicing app with quotes, recurring invoices, payment gateways, expenses, task timers and a client portal; self-host or use the hosted SaaS.
- [Akaunting](https://repoquarry.dev/projects/akaunting.md): Laravel accounting app for small businesses with invoices, bills and an app store; free production use is capped at 2 users, 1 company, 1,000 invoices.
- [Dolibarr](https://repoquarry.dev/projects/dolibarr.md): Modular PHP ERP and CRM with proposals, invoices, online payments, bank accounts, accounting, expense reports and timesheets; GPL-3.0+.
- [GnuCash](https://repoquarry.dev/projects/gnucash.md): Desktop double-entry accounting for personal and small-business books, with customer invoices, bills, reconciliation, OFX/QIF import and reports.
- [Bigcapital](https://repoquarry.dev/projects/bigcapital.md): Double-entry accounting and inventory app with invoices, estimates, Stripe payment links, expenses, Plaid bank sync and financial reports.
---
Source: RepoQuarry (https://repoquarry.dev/projects/receipt-ocr). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
