ToolArabiaFree Arabic Tools

Saudi ZATCA QR Code TLV Decoder & Verifier

Paste a scanned Saudi e-invoice QR Base64 TLV string to decode Seller Name, VAT TIN, timestamp, amounts, implied 15% VAT rate, and Phase 1 vs Phase 2 status.

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

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-8Parses Arabic/English UTF-8 tags 1 through 5
Tag 2 VAT TIN CheckConfirms exact 15 digits starting & ending with 3
Phase 1 vs Phase 2Detects cryptographic Phase 2 tags (6–9) if present

Example: Decoding a Standard ZATCA Base64 Payload

Pasting Base64 starting AQpUb29sQXJhYmlhAg8z... into the decoder.

Sample inputsPasting Base64 starting AQpUb29sQXJhYmlhAg8z... into the decoder.
Computed resultResult: 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.