Get 100% ZATCA Phase II compliant with ClearTax
Seamless integration with any ERP/POS
E-invoice generation in a fraction of a second
PDF/A3 E-invoices with XML embedded

How to Validate ZATCA e-Invoice Using QR Code?

Updated on: Apr 5th, 2023


6 min read

social iconssocial iconssocial iconssocial icons

Zakat, Tax and Customs Authority (ZATCA) (earlier known as GAZT), has implemented Phase I of e-invoicing in the Kingdom of Saudi Arabia (KSA) from 4th December 2021. The timeline for Phase II is set from 1st January 2023. As per e-invoicing resolution, all the e-invoicing applicable taxpayers must generate Quick Response (QR) codes on invoices to make them valid.

Also, ZATCA released a mobile application (app) to verify the authenticity of the e-invoices generated by sellers. This article explains how to download and use the VAT app for verifying the e-invoices by scanning the QR code printed on the e-invoice.

What is a QR code?

A QR code is a matrix barcode with a black and white squares pattern containing basic invoice data and is included in the printed and electronic invoices. You can scan the QR code on the e-invoice using the VAT app developed by ZATCA or a third-party QR scan app.

The QR code must be present in the human-readable format to validate the printed invoice.

How to download the VAT app for validating an invoice?

ZATCA developed the VAT app and made it publicly available. You can download the VAT app from Play Store or iOS App Store.

Play Store:

iOS App Store:الضريبة-المضافة/id1328845826

If you are unable to download the VAT app by clicking on the above links, please copy-paste the link into your browser.

How to validate the ZATCA e-invoice using a QR code?

Please follow the below steps after downloading the VAT app on your device:

Step 1: Open the VAT app and click on the ‘Scan QR Code’ icon, which is available on the home screen like below:

Open the VAT app and click on the ‘Scan QR Code’

If you want to switch the languages, please follow the below path:

Step a: Click on three lines available on the right side bottom corner of the app as shown below.

switch the languages in VAT app

Step b: Scroll down and click on the last option in the menu, as shown below.

switch the languages in VAT app

Step C: Click on ‘yes’ to change the language, as shown below.

change the language in VAT app

Step 2: The ‘Validate VAT Registration or E-invoices’ will be shown, and the ‘Scan QR’ option will be selected by default.

‘Validate VAT Registration or E-invoices’

Step 3: Scroll down a little bit and then click on the ‘Scan QR’ button as shown below.

‘Scan QR’ button

Step 4: Now, point your camera to the QR code printed on the invoice and scan it.

QR code printed on the invoice

Step 5: After a successful scan, the screen will display the below details:

  • Seller’s name
  • VAT registration status
  • VAT number
  • Invoice date
  • Invoice amount
  • VAT amount

results after scanning qr code on invoice

What shall be the contents of a QR code?

ZATCA notified the contents of a QR code in ‘Electronic Invoice Resolution’. The table below lists the particulars to be included in B2C and B2B invoices (along with the applicable phase).

Particulars To be included in the B2C invoice from To be included in the B2B invoice from 
Seller’s namePhase IPhase II
VAT registration number of the sellerPhase IPhase II
Timestamp of the electronic invoice or Credit or Debit Note (CDN) (date and time)Phase IPhase II
Electronic invoice or CDN total (with VAT)Phase IPhase II
VAT totalPhase IPhase II
Hash of XML electronic invoice or CDNPhase IIPhase II
Cryptographic stamp generated by the taxpayer’s e-invoice generating solutionPhase IINA
Cryptographic stamps generated by ZATCA’s platform for integrated tax invoices and related CDNsNAPhase II
The public key of the e-invoice generating solution which is used to generate the cryptographic stampPhase IINA
The public key of the ZATCA platform, which is used to generate the cryptographic stampNAPhase II
ZATCA portal cryptographic stamp of the public key of the e-invoice solutionPhase IINA

Please note that the ‘Generation Phase’ is referred to as ‘Phase I’ and ‘Integration Phase’ as ‘Phase II’ in the above table.