Back to projects

Receipt recognition

Projectsince 2023

Receipts arrive by upload or through a watched folder. The app reads the text, suggests an account and lets you approve receipts in batches. The end result is the annual statement as PDF or Excel.

  • Self-hosted web app
  • Local OCR via Ollama
  • Annual accounts as PDF/Excel

What it does

  • OCR first runs locally with a vision model via Ollama, falling back to Taggun or AWS Textract.
  • Three-step account suggestion: fixed rules per vendor, a search for similar past receipts via embeddings in Qdrant, and only then a language model.

Technology

Angular with NgRx, Angular Material, PrimeNG and ag-Grid on the front end, NestJS with TypeORM and MySQL on the back end. Qdrant, n8n, pdfkit and exceljs are in there too. Tests use Jest and Cypress.

AI in the product

The language model only comes in when rules and similar receipts give no suggestion, and it only suggests. Nothing is posted until the user approves the suggestion.