ZATCA Base64 & TLV Decoder
๐ Text & Base64 InspectorPaste 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
| Tag | Field Name | Value |
|---|---|---|
| 1 | Seller's Name | - |
| 2 | VAT Registration # | - |
| 3 | Invoice Timestamp | - |
| 4 | Invoice Total (with VAT) | - |
| 5 | VAT Total | - |
| 6 | Invoice Hash (Phase 2) | - |
| 7 | ECDSA 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