DEV Community

Cover image for InvoicePilot AI: Local-First Invoice Extraction with Open-Weight AI
Pyla Neeraja
Pyla Neeraja

Posted on AI-assisted

InvoicePilot AI: Local-First Invoice Extraction with Open-Weight AI

Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle Submission ๐Ÿ’ธ

๐Ÿงพ InvoicePilot AI โ€” Local-First Invoice Extraction with Open-Weight AI

What I Built

I built InvoicePilot AI, a local-first AI invoice extraction MVP designed to help freelancers and small businesses extract structured information from invoices.

Users can upload text-based PDF or TXT invoices, extract important fields using a locally running AI model, review and edit the results, and export the data as JSON or CSV.

โœจ Features

  • Extract vendor name, invoice number, dates, currency, subtotal, tax, and total.
  • Process invoices using a locally running Ollama model.
  • Support text-based PDF and TXT files.
  • Review and edit extracted information.
  • Export results to JSON and CSV.
  • No hosted AI API is required for inference.

๐Ÿ› ๏ธ How I Built It

  • Python โ€” application logic
  • Streamlit โ€” user interface
  • Ollama โ€” local model runtime
  • Qwen 2.5 3B โ€” invoice extraction
  • PyMuPDF โ€” PDF text extraction

๐ŸŽฅ Demo

I recorded a short screen demonstration showing invoice upload, AI extraction, field editing, and data export.

๐Ÿ’ป Source Code

GitHub repository: https://github.com/Neeraja-Pyla/InvoicePilotAI

๐ŸŒฑ Why Does Open Innovation Matter?

Open-weight AI models make it easier for developers to experiment, learn, and build useful applications without depending on paid hosted AI APIs. Running inference locally can also give users greater control over their invoice data.

This project helped me explore practical AI integration and build a working application with tools I can run on my own computer.

๐Ÿ” Current Limitations

  • Scanned PDF OCR is not implemented.
  • Extracted information must be verified by the user.
  • Invoice history is not saved between sessions.

๐Ÿš€ What's Next?

I would like to explore OCR for scanned invoices, duplicate invoice detection, and batch processing.

devchallenge #hf26challenge

Top comments (0)