From OCR Heuristics to Quality Gates: Testing Receipt Totals Before Release
OCR does not fail in one neat, predictable way. A receipt may contain a subtotal, a rounded cash amount, a payment amount, a zero-change line, an order balance, and a marketing or account-status total