feat: add iOS support and harden receipt scanning
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user