ZATCA Phase 2 QR & TLV Checker

Inspect 9-Tag Base64 TLV receipts, verify 32-byte SHA-256 digests, and test PIH chaining directly in your browser.

Inspect ZATCA 9-Tag Base64 TLV QR

Runs 100% locally in your browser using pure SHA-256 & binary TLV parsing.

Seller Name (Tag 1)

شركة دوجيذر للحلول الرقمية

Valid UTF-8 seller trade name.

VAT Registration Number (Tag 2)

310123456700003

Valid 15-digit Saudi VAT ID (starts and ends with 3).

Invoice Timestamp (Tag 3)

2026-11-10T12:00:00Z

Valid ISO 8601 timestamp.

Invoice Total incl. VAT (Tag 4)

1725.00

Parsed decimal amount: 1725.00 SAR

VAT Total Amount (Tag 5)

225.00

Parsed decimal amount: 225.00 SAR

SHA-256 Invoice Digest (Tag 6)

0x5a5a5a5a5a5a...5a5a5a5a5a5a

32-byte raw binary SHA-256 digest present.

ECDSA Signature (Tag 7)

ASN.1 DER (71 bytes)

ASN.1 DER secp256k1 signature structure valid.

EGS Public Key SPKI (Tag 8)

SPKI DER (88 bytes)

Valid SPKI secp256k1 public key envelope.

Cryptographic CSID Stamp (Tag 9)

Stamp (23 bytes)

Phase 2 simplified invoice stamp buffer present.

Need custom ERP, POS, or middleware engineering for ZATCA Phase 2 (Clearance & Reporting APIs) or Egypt ETA e-Receipts?

ZATCA Phase 2 B2C 9-Tag TLV Reference

Structure encoded in Base64 QR payloads for simplified tax invoices under Saudi ZATCA Phase 2 Integration requirements:

ZATCA Phase 2 9-Tag TLV specification reference
Tag IDField NameEncoding / Cryptographic FormatPhase
Tag 1Seller NameUTF-8 stringPhase 1 & 2
Tag 2VAT Registration Number15-digit ASCII tax identifierPhase 1 & 2
Tag 3Invoice TimestampISO 8601 UTC / local offsetPhase 1 & 2
Tag 4–5Invoice Total & VAT TotalDecimal SAR amount strings (15% VAT)Phase 1 & 2
Tag 6XML Invoice HashBase64(SHA-256) of canonical UBL 2.1 XMLPhase 2
Tag 7ECDSA SignatureDER signature over Tag 6 invoice digestPhase 2
Tag 8–9EGS Public Key & CSID StampSPKI public key & ZATCA CA signature (Taxpayer Tax ID)Phase 2

Frequently Asked Questions

What are the 9 TLV tags required in ZATCA Phase 2 B2C simplified QR codes?+
Tags 1-5 hold Seller Name, 15-digit VAT ID, ISO Timestamp, Invoice Total, and VAT Total. Phase 2 adds Tag 6 (SHA-256 Canonical XML hash), Tag 7 (ECDSA DER signature), Tag 8 (EGS SPKI public key), and Tag 9 (CSID cryptographic stamp).
Is my invoice payload uploaded to an external server during inspection?+
No. Decoding, SHA-256 hashing, and QR matrix rendering execute inside your browser memory without uploading sensitive VAT or customer payloads.
Does DoGether build custom POS and ERP middleware for ZATCA Phase 2 & Egypt ETA?+
Yes. We engineer Offline-First POS systems and custom ERP connectors supporting Clearance/Reporting APIs for Saudi ZATCA Phase 2 and Egyptian Tax Authority (ETA) e-Receipts.
Home