QR code generation in E-invoice

QR code generation in e-invoice

In this post, we’ll talk about QR code in an e-invoice, its purpose, applicability and verification. Where we will take a close look at each section in detail:

What is QR Code?

The term “QR code” stands for quick response code. It is possible to store and display data using Quick Response (QR) codes. A QR code has many benefits over a typical barcode, including the ability to be rapidly and readily scanned by many digital devices, including most Android and iOS smartphones and tablets.

Purpose of QR code

The e-invoicing system will use QR Codes to provide quick access to invoice information without relying on external sources. In this way, we would be able to fulfil the following needs:

  • By capturing invoice data by using machines, it would be possible to conduct commerce more efficiently by ensuring that invoice data is captured quickly and accurately.
  • By using handheld devices, indirect tax officers can determine if an invoice contains all relevant details and is valid. When they are on the field, this is extremely helpful.
  • Using the QR Code assigned by the Invoice Registration Portal (IRP), the supplier can generate a PDF of the signed e-invoice after receiving the e-invoice from the IRP.

QR Code In E-Invoicing

Quick Response (QR) codes are matrix barcodes, generally known as two-dimensional barcodes, that are optical labels that are readable by machines using IRN scanners. It contains information about the product to which it is related, just like a sample e-invoice with QR Code.

The Invoice Registration Portal (IRP) sends the QR code with the e-Invoice under e-Invoicing so that users can use the IRN code scanner to verify the data in the invoice. The taxpayer can print the QR code on the invoice copy by using the online E invoice QR code scanning code, which is in Base64 format.

How and where is the QR Code Generated?

A JSON file of the invoice is uploaded to the Invoice Registration Portal (IRP) to generate an Invoice Reference Number (IRN). However, after the generation of IRN, the IRP assigns a specific digital signature and QR Code to the JSON file.


  • Invoices have QR Codes printed in the top right corner.
  • You can not print the QR Code on separate paper.
  • QR Code is in JWT form. However, you can not decode the signed QR Code before printing. If it is decoded, the IRP signature will be lost, and it will be unverifiable.

Applicability of QR Code to B2C GST Invoice

From 2017-18, if a supplier’s aggregate turnover exceeds Rs.500 crore, they need to display a dynamic QR code on their B2C invoices.

The Supplier should make available the cross-reference of the payment made through a dynamic QR code displayed on a digital display.

How To Verify The QR Code?

Customers, vendors, and taxpayers can all scan the QR code. Additionally, by using this number, the tax officers can verify the invoice’s information and ensure that the IRP has received and approved the invoice in a proper manner. Using the offline app provided on the IRP, the QR code can be verified.

Which Details Are Available Within The QR Code?

The QR code consists of important invoice parameters like:

  • GSTIN of supplier
  • GSTIN of recipient/buyer
  • Invoice number as given by supplier in his/her internal system
  • Date of the generation of invoice
  • Invoice value (taxable value and gross tax)
  • Number of line items.
  • HSN Code of the main item (the line item having the highest taxable value)
  • Unique Invoice Reference Number (hash)
  • Digital signature of IRP

This post about QR codes in an e-invoice has come to a conclusion. Share your views and valuable opinions with us in the comment section below