Invoice Parser
Technical prototypeThe problem
Suppliers send invoices as PDFs and someone retypes them into the accounts system - slow, dull, and error-prone.
What the system does
Upload a PDF invoice, get structured JSON back: vendor name, address, line items, subtotal, tax, and total. Uses rule-based extraction first, falls back to an LLM for unstructured layouts. Every field validated against a strict output schema.
Human review point
Extractions below 80% confidence queue for a person to approve; nothing uncertain is auto-accepted.
Processing stages
- PDF Upload
- Text Extract
- Layout Analysis
- Regex Patterns
- LLM Fallback
- Pydantic Validation
- JSON Output