Book a Free Demo
I have read and accepted the T&C

How to Generate QR Code Invoice in Saudi Arabia: Step-by-Step

Avatar photo

Priyanka Babu

March 4, 2026

30 second summary | To generate a ZATCA-compliant QR code invoice in Saudi Arabia, businesses must use authorised e-invoicing software that automatically creates a Base64-encoded QR code containing five mandatory fields: Seller Name, VAT Registration Number, Timestamp, Invoice Total, and VAT Total. The process involves enabling e-invoicing in the system, entering the invoice details, and allowing the software to generate the QR code and cryptographic stamp automatically. For Phase 2 compliance, the system must also integrate with the ZATCA Fatoora platform for real-time validation. The final invoice should be issued in XML or PDF/A-3 format, with the QR code displayed on B2C invoices and shared with customers accordingly.

You can create a ZATCA-compliant QR code invoice for your customers in Saudi Arabia with the help of authorised e-invoicing software. The QR code must encompass five different fields, namely, VAT number, Seller Name, Time Stamp, Invoice Total, as well as VAT total. This QR code must be rendered in the form of a scannable Base64 encoded QR code on all B2C invoices. 

Steps-by-step method to generate QR code invoice (Saudi Arabia)

  • Select compliant software: Use ZATCA-approved e-invoicing software such as TallyPrime, which automatically generates the Base-64 encoded QR code and adds it to the invoice.
  • Activate e-invoicing: Ensure that the e-invoicing setting is activated within your software settings.
  • Enter your invoice details: Input the invoice data for the five mandatory fields of the QR code: Seller Name, VAT registration number, Time Stamp (invoice date/time), Invoice Total and VAT total.
  • Generate and Validate: The e-invoicing system generates the QR code and the cryptographic stamp automatically. For Phase 2, this involves direct integration of the system with the ZATCA portal.
  • Print/Share: Export the invoice in PDF/A-3 format in order to ensure that the QR code is added to the invoice for the customer.

Points to consider:

  • Invoices need to be in XML or PDF/A-3 format.
  • Invoices may be bilingual, i.e., in Arabic and English
  • Phase 1 vs Phase 2: Phase 1 invoices require QR codes on all B2C invoices. Phase 2 invoices mandatorily need to be integrated with the ZATCA portal and incorporate ZATCA QR code requirements for real-time clearance.

Generating a ZATCA-compliant QR code invoice is an essential requirement for businesses operating in Saudi Arabia. By using authorised e-invoicing software, entering the required invoice details, and ensuring proper integration with the ZATCA system, businesses can automatically generate compliant QR codes for their invoices. Following these requirements not only helps businesses meet regulatory standards but also ensures transparency, accurate reporting, and smooth digital tax compliance under Saudi Arabia’s e-invoicing framework.

left-icon
1

of

4
right-icon