/projects

Invoice parsing (PDF2json)

Extracts key fields from PDF invoices (invoice_number, bill_to, total_cost, item_description) and returns a structured JSON object. Includes a Jupyter notebook, Flask API, static frontend, and optional SQLite persistence.

Invoice parsing (PDF2json)

Highlights

  • Jupyter notebook (data from pdf.ipynb) using pdfplumber and regex to extract invoice_number, bill_to, total_cost, item_description
  • Flask API (app.py) exposing /extract and receipts management endpoints; optional SQLite receipts.db persistence
  • Static frontend under static/ for uploading PDFs, viewing extracted JSON and managing receipts

Technologies

PythonpdfplumberFlaskSQLiteHTMLCSSJavaScript