Full-Screen Text View

0 matches

ZATCA Base64 & TLV Decoder

๐Ÿ“ Text & Base64 Inspector

Paste a Base64-encoded ZATCA QR code payload to instantly unpack binary Tag-Length-Value (TLV) fields and verify invoice parameters.

ZATCA Payload Text

Decoded Invoice Fields

Awaiting Input
Paste a ZATCA Base64 payload string on the left.
TagField NameValue
1Seller's Name-
2VAT Registration #-
3Invoice Timestamp-
4Invoice Total (with VAT)-
5VAT Total-
6Invoice Hash (Phase 2)-
7ECDSA Signature (Phase 2)-

ZATCA TLV Technical Specifications

According to the Zakat, Tax and Customs Authority (ZATCA), e-invoice QR code strings must follow a strict binary TLV structure:

  • Tag 1: Seller's Name (UTF-8)
  • Tag 2: VAT Registration Number (15 digits)
  • Tag 3: Timestamp (ISO 8601 e.g. YYYY-MM-DDTHH:mm:ssZ)
  • Tag 4: Invoice Total with VAT
  • Tag 5: VAT Total
  • Tag 6 (Phase 2): SHA-256 Invoice Hash Digest
  • Tag 7 (Phase 2): ECDSA Cryptographic Digital Signature
๐Ÿ“ท Scan via Live Camera๐Ÿ“„ Upload PDF or Image File