Signed QR Code In E-Invoicing System

Prakash Matre
Prakash Matre at March 17, 2023

QR Code in GST Invoice

The GST council has notified that every taxpayer with an aggregate turnover above INR 500 crores in any financial year from 2017-18, will have to implement E-Invoicing. Under this, the taxpayers have to generate invoices on their internal systems (ERP/accounting/billing software) and then report it online to the ‘Invoice Registration Portal (IRP). The IRP will validate the information provided in the invoices and return the digitally signed e-Invoices with a unique ‘Invoice Reference Number (IRN Number)’ along with a QR Code in JSON format to the taxpayer. The signed QR Code to image generated by IRP has to be printed on the invoice copy shared with the buyer. In this article, we will help you understand e invoice qr code generator, how to generate e invoice qr code and followings.

What Is QR Code?

The term "QR code" stands for quick response code. It is a two-dimensional barcode that is printed on merchandise to provide data in a machine-readable format.

 QR Code In E-Invoicing

A quick Response (QR) code is a matrix barcode (or two-dimensional barcode) which is an optical label readable by machines thru IRN scanner, e way bill scanner. It contains information about the item to which it is attributed like a sample e invoice with QR Code. Under e-Invoicing, the QR code is digitally signed and sent along with the e-Invoice by the Invoice Registration Portal (IRP) to help users verify the details in the invoice thru the IRN code scanner. The E invoice QR code scanner or E way bill QR code scanner online code is in Base64 form and can be used by the taxpayer to print the QR code on the invoice copy. Sample QR code when printed:
E-Invoicing Sample QR Code
Image Source: https://einvoice1-trial.nic.in/Documents/Qrcode_procedure.pdf Output when the above-seen QR code is scanned:


QR Code  
Sample QR code (encoded):
Sample QR Code

Image Source: https://einvoice1-trial.nic.in/Documents/Qrcode_procedure.pdf Signed QR code is in the form of JWT and has 3 parts:

  1. Signature parameters
  2. Data
  3. Signature

Sample QR code (decoded):
Sample QR Code Sample QR Code

Image Source: https://einvoice1-trial.nic.in/Documents/Qrcode_procedure.pdf This signed QR code can be verified using this public key:
Signed QR Code

Image Source: https://einvoice1-trial.nic.in/Documents/Qrcode_procedure.pdf

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

When Would The Signed QR Code Be Available?

When a taxpayer reports an invoice to the IRP, the IRP system will provide a ‘Signed QR Code’ as part of the response along with the IRN. If the content of the QR code tampers, the e-Invoice will become invalid, and the signature verification will fail under e way bill barcode scanner and IRN QR code scanner.

How Is The QR Code useful?

The QR code will provide information about the details present in the invoice the IRN number scanner is attached. With this, taxpayers/tax officers can:

  • Verify and validate the invoice from anywhere at any time, offline, through a mobile app.
  • Capture and record data using machines.
  • Improve accuracy of data input.

How To Verify The QR Code?

Taxpayers/suppliers/buyers can verify the QR code, if they are unable to verify qr code as digital signature is invalid . Also, the tax officers can validate the details in the invoice through this code and be sure that the invoice is correctly reported to the IRP and is accepted by it. The QR code can be verified using the offline app provided on the IRP.

Download the app here.

Important Pointers

  • The size of the signed QR code, when printed, can be 2 X 2 inches. However, the measure will also depend on the space available in the invoice. The e-Invoicing guidelines require the QR code to be sized in such a way that it can be readable by QR code scanners.
  • Generally, the QR Code must be placed on the top right corner of the invoice when printed/shared.
  • Printing of QR code on a separate paper is not allowed.
  • As mentioned above, the QR code is in JWT form. However, the signed QR code need not be decoded before printing. If it is decoded, the signature of the IRP attached will be lost, thereby making it unverifiable.
  • Taxpayers have to issue invoices under the e-invoicing system for B2B supplies. The documents that should be submitted to the IRP for IRN are:
    • GST invoices
    • Credit notes
    • Debit notes
    • Reverse charge invoices
    • Any other documents as notified by the Government.


Clarification - QR Code On B2C Invoices

Though B2C invoices are not under the purview of e-Invoicing, GST registered taxpayers with an annual aggregate turnover of more than INR 500 crores in any financial year from 2017-18, have to generate dynamic QR codes for B2C invoices too, from 1 December 2020. It has also been clarified that, if a Dynamic Quick Response (QR) code is made available to the recipient/buyer through a digital display with payment cross-reference, such B2C invoices shall be considered to be having a Quick Response (QR) code. The provisions applicable to B2C and B2B invoices are different. For B2C invoices:

  • The taxpayers issuing such invoices, have to self-generate QR codes through QR code generating machines & algorithms and not through the IRP. It can be generated on the Point of Sale (PoS) machine too.
  • This QR code should contain a payment reference link.
  • On scanning the QR code, the recipient/buyer will be redirected to a payment page where he/she can make the payment.
  • The generated QR code has to be included in the printed B2C invoice.

The motive behind the inclusion of QR codes in B2C invoices is to promote digital payments on a large scale.

How useful was this post?
Click on a star to rate it!
Average rating 4.50 / 5. Vote count: 144

Search Your interest

Invoice OCR Software

Use AI & ML powered OCR software or APIs to extract data from Invoices.

You can also get latest updates on Whatsapp!

Browse other topics

E-Invoicing API
Use GST E-Invoice APIs to build your own E-Invoicing application.
Check out other Similar Posts
No Data found
No articles found