Receipts came back without a date on 46% of items in the last 30 days
(75% via WhatsApp), while supplier invoices lost it on 0.4% and the
purchaseTime on the very same receipts was filled almost every time.
The prompt described invoice.invoiceDate as a bare ISO date under the
invoice block, right beside a purchaseTime rule marked "receipts only",
and the model read the asymmetry as "invoice-only".
Describe the field as the invoice date or, on a receipt, the purchase
date printed on it, and add an explicit receipts rule. Pin both in the
extraction test. No schema or data-shape change; already-extracted
items are not touched.
Claude-Session: https://claude.ai/code/session_015bTBgZrofpGCgSUfAKN2H3
Co-authored-by: Jakob Wennberg <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>