Decode & Verify ZATCA QR Payload
Paste Base64 TLV string from any QR scanner app or load a sample.
Saudi Arabia — ZATCA TLV Decoder — Decodes UTF-8 Tags 1–5 and detects Phase 2 cryptographic Tags 6–9 locally
Calculators by country
What the ZATCA QR TLV Verifier Checks
Parses sequential [Tag][Length][Value] byte frames, verifies the 15-digit 3...3 TIN rule, and computes implied VAT rate.
| TLV Framing & UTF-8 | Parses Arabic/English UTF-8 tags 1 through 5 |
| Tag 2 VAT TIN Check | Confirms exact 15 digits starting & ending with 3 |
| Phase 1 vs Phase 2 | Detects cryptographic Phase 2 tags (6–9) if present |
Example: Decoding a Standard ZATCA Base64 Payload
Pasting Base64 starting AQpUb29sQXJhYmlhAg8z... into the decoder.
| Sample inputs | Pasting Base64 starting AQpUb29sQXJhYmlhAg8z... into the decoder. |
| Computed result | Result: Seller ToolArabia, TIN 310122392300003 ✓, Total 1150, VAT 150 (15.00%). |
Result: Seller ToolArabia, TIN 310122392300003 ✓, Total 1150, VAT 150 (15.00%).
Frequently asked questions
Why does the decoder report Phase 2 on some invoices?
Presence of Tags 6–9 (XML hash & ECDSA signature) indicates the invoice was cleared/reported via ZATCA Phase 2.