Demo Mode — curated FINDIT2 test samples
Hidden by default · activate with Shift+D or?demo=1
VAT discrepancy detected
The VAT QR contradicts the printed receipt or violates ZATCA Phase-1 spec — review the QR check below.
Saudi VAT QR check ✗ failed
Phase-1
QR
123- VAT number format — VAT# '123' violates ZATCA format (must be 15 digits, first and last digit '3').
- VAT ≤ total — VAT 123.65 exceeds total 61.83 — impossible.
- VAT rate ≈ 15% — Implied rate 0.00% deviates 15.0pp from 15%. Could be mixed-rate / exempt items — review the line items.
- seller name on receipt — 'Al-Othaim Markets' not found in OCR'd receipt text (token overlap 0%). OCR may have missed the header.
- VAT amount matches receipt — QR VAT 123.65 SAR not directly found in OCR — receipts often round or summarise VAT differently. Manual review suggested.
Show all 10 checks
- payload decodes — Base64 + TLV well-formed; 5 tag(s) found.
- all mandatory tags present — Tags 1 (seller), 2 (VAT#), 3 (timestamp), 4 (total), 5 (VAT) all present.
- VAT number format — VAT# '123' violates ZATCA format (must be 15 digits, first and last digit '3').
- timestamp valid — 2024-08-15T14:32:00Z (parses as ISO 8601).
- amounts numeric — Total 61.83 SAR · VAT 123.65 SAR.
- VAT ≤ total — VAT 123.65 exceeds total 61.83 — impossible.
- VAT rate ≈ 15% — Implied rate 0.00% deviates 15.0pp from 15%. Could be mixed-rate / exempt items — review the line items.
- seller name on receipt — 'Al-Othaim Markets' not found in OCR'd receipt text (token overlap 0%). OCR may have missed the header.
- invoice total matches receipt — QR total 61.83 SAR appears in the receipt (closest OCR value 61.83).
- VAT amount matches receipt — QR VAT 123.65 SAR not directly found in OCR — receipts often round or summarise VAT differently. Manual review suggested.
Key findings
- No regions exceeded the model's forgery threshold.
- Showing the top 3 highest-confidence regions (highest score 69%). 3 of 81 text-bearing regions exceeded the model's threshold overall.
- Edit type predicted across the top 3 regions: 3 × deletions / erasures.
- Targeted fields: 2 × Company / header info and 1 × Product lines.
- This file is an exact duplicate of one already analysed in this session.
- VAT QR check: VAT number format — VAT# '123' violates ZATCA format (must be 15 digits, first and last digit '3').
🔍 Click to zoom
🔍 Click to zoom
Suspicious regions
The top 3 highest-confidence regions out of all 3 that exceeded the model's threshold. Hover or click any thumbnail to highlight that 128 × 128 region on the document on the left.
Region breakdown table (3 rows)
| # | Coords | Score | Edit type | Field affected |
|---|---|---|---|---|
| 1 | (311, 64) |
69% | CUT 91% | Company 33% (low conf) |
| 2 | (311, 128) |
59% | CUT 90% | Product 39% (low conf) |
| 3 | (311, 0) |
46% | CUT 93% | Company 56% |
Methodology, audit metadata & technical details
X00016469619_zatca_bad.png
SHA-256: cbab68c3d0b5…
Size: 439 × 1004 px
Analysed: 2026-05-11 23:29:14
Model: FraudX v2-multi · ResNet-18 · ep13 · thr=0.08
Approach. ResNet-18 patch classifier (128×128, stride 64) trained on FINDIT2 (Tornes et al., ICDAR 2023). Two auxiliary heads classify the modification technique and the document field; the binary backbone is frozen so the headline patch precision (92.25%) is preserved bit-for-bit while adding explainability. Image-level fraud score is the top-k mean of patch probabilities over text-bearing regions only (edge density ≥ 0.02) — keeps blank regions from poisoning the score.
Class accuracies on the FINDIT2 test set.
- Edit type: CPI 73% · CUT 100% · IMI 38% · PIX 55% · Other 14%
- Field: Total/payment 67% · Metadata 47% · Product 27% · Company 24%
Original technical findings (raw).
- Patch CNN flagged 3 of 81 text-rich patches (top score 0.69).
- Top 3 suspicious regions clustered around image coordinates (311,64), (311,128), (311,0).
- Predicted modification mix across top regions: 3× CUT.
- Predicted entity types: 2× Company, 1× Product.
- Document is an EXACT duplicate of a file already analysed in this session (resubmission).