1 Commits

Author SHA1 Message Date
fegger 17e0496d2f Add OcrResponse schema and tighten invoice validation
- Adds OcrResponse Pydantic schema for OCR branch JSON output.

- Validates invoice_date and due_date as strict ISO 8601 calendar dates.

- Adds field descriptions to InvoiceLineItem for clearer VLM prompts.

- Expands schema tests for dates, decimal coercion, negatives, and line_items_sum().
2026-08-21 16:44:09 +02:00