Indian QR codes

As of 2020-03-23 it is mandatory for all businesses that earn over INR 500 crores in a year to include a QR code on every B2C e-invoice under GST along with B2B invoices.

The Invoice Registration Portal (IRP) generates a QR code that contains the unique Invoice Reference Number (IRN) along with some important parameters for invoices and digital signatures so they can be verified offline.

Tungsten AP Agility uses the information from the QR code to improve extraction. The information contained in the QR code is directly assigned to the corresponding fields, overriding any results from recognition-based extraction.

To make use of this feature, enable QR code recognition.

Some QR code information is mapped to the following AP Agility fields.

Field

QR Code Source

VendorVATRegNo

GSTIN of the supplier.

BillToVATRegNo

GSTIN of the recipient.

InvoiceNumber

Invoice number as given by the supplier.

InvoiceDate

Date of invoice generation.

Total

Invoice total, including taxable value and gross tax.

DocumentType

Document type code.

In addition to the above fields, some information is extracted from the QR codes, but is not mapped to any fields in AP Agility. Instead, this information is saved to the XDoc only. You can use the following information to access these extracted fields via script.

XDoc Value

QR Code Source

IRN

Unique Invoice Reference Number (hash) for date of IRN generation.

HSNForMainItem

The HSN code for the line item with the highest taxable value.

ItemCnt

Number of line items.