feat: add iOS support and harden receipt scanning

This commit is contained in:
Timo
2026-08-20 23:48:26 +02:00
parent f5e06c32b0
commit cf1b799e1b
107 changed files with 11755 additions and 122 deletions

View File

@@ -810,6 +810,7 @@ describe("Tier 1: Feature 12 — Math Determinism Engine (Netto + MwSt 7%/19% =
netAmount: 37.82,
taxBreakdown: [{ ratePercent: 19, taxAmount: 7.18, netAmount: 37.82 }],
date: { isoDate: "2026-08-15", time: null, confidence: 0.65 },
lineItems: [{ description: "Book", quantity: 1, price: 45.0, taxRate: 19 }],
};
const res = validateReceiptMath(receipt);
@@ -824,6 +825,7 @@ describe("Tier 1: Feature 12 — Math Determinism Engine (Netto + MwSt 7%/19% =
netAmount: 37.82,
taxBreakdown: [{ ratePercent: 19, taxAmount: 7.18, netAmount: 37.82 }],
merchant: { name: "Blurry Merchant", address: null, taxId: null, confidence: 0.6 },
lineItems: [{ description: "Book", quantity: 1, price: 45.0, taxRate: 19 }],
};
const res = validateReceiptMath(receipt);