Generate a Saudi e-invoicing QR code using the required ZATCA Tag-Length-Value (TLV) and Base64 format. Enter your seller details, VAT registration number, invoice date and time, invoice total and VAT amount to create a scannable QR code for a Phase 1-style simplified tax invoice.
ZATCA specifies five core QR fields: seller name, seller VAT registration number, invoice timestamp, invoice total including VAT and VAT total. The TLV values use UTF-8 byte lengths and are Base64 encoded.
Create a Base64 TLV QR payload using the five core fields required for Phase 1 simplified e-invoice QR codes.
Your generated invoice QR code will appear here.
Tag 1 = Seller's registered name.
Tag 2 = Seller's 15-digit VAT registration number.
Tag 3 = Invoice date and time.
Tag 4 = Invoice total including VAT.
Tag 5 = Total VAT amount.
Each field is converted into UTF-8 bytes.
TLV structure = Tag + Byte Length + Value.
All five TLV fields are combined in the required order.
The resulting byte sequence is encoded into Base64.
The Base64 payload is converted into a QR graphic.
ZATCA's technical guide specifies the TLV structure and UTF-8 byte-length method.
It is a QR code containing essential electronic invoice information encoded using TLV and Base64. It helps customers and authorities read key invoice details by scanning the code.
The five core fields are seller name, VAT registration number, invoice date and time, total including VAT, and VAT amount.
A QR code is mandatory on simplified tax invoices under Phase 1 requirements. ZATCA's preparation guidance identifies it as a required element for simplified invoices.
No. Phase 2 requires additional cryptographic information generated through the properly configured e-invoicing solution. This tool only creates the five-field payload.
TLV stands for Tag, Length and Value. Each field is assigned a tag, followed by its UTF-8 byte length and its actual value.
No. Generating a QR code does not mean an invoice has been cleared, reported or approved by ZATCA. Use your compliant e-invoicing solution for actual invoice issuance.