[QRStandards]
The following settings are used in the [QRStandards] section of eiglobal.ini.
This section specifies the list of specific QR standards that Kofax ReadSoft Invoices can use to extract data from QR codes (2D barcodes).
Example:
[QRStandards]
;Standard1=FieldSection
Standard1=SPC10
Standard2=SPC20
Each entry (for example, Standard1=SPC10) represents a specific version of a QR standard used to extract data from QR codes. Each listing for a standard consists of the order in the list, such as Standard1, and the FieldSection Kofax ReadSoft Invoices should use to extract the data.
Line separators and Pair separators are allowed in Indian (NIC) and OTHER QR codes.
Example:
[QRStandards]
; Standard1 = FieldSection
Standard1 = NIC00
Standard2 = NIC01
Standard3 = OTHER
For standard Indian QR code NIC00, the field section is mentioned as follows:
[NIC00]
Name = NIC
Version =
PairSeparator-Separator used to separate field name and field value
LineSeparator-Separator used to separate two field value pairs
Field1 = QRInvoiceNumber, DocNo
Field2 = QRInvoiceDate, DocDt
Field3 = QRAmount, TotInvVal
Field4 = QRReference, Irn
For standard OTHER QR code, the field section is mentioned as follows:
[OTHER]
Name = OTHER
Version = empty (Not applicable in this release)
PairSeparator-Separator used to separate field name and field value
LineSeparator- Separator used to separate two field value pairs
Field1 = QRInvoiceNumber, FieldName in qrcode
Field2 = QRInvoiceDate, FieldName in qrcode
Field3 = QRAmount, FieldName in qrcode
Field4 = QRReference, FieldName in qrcode
Limitations
- The version number is not provided for Indian (NIC) and OTHER QR codes, and the field is left empty. For example,
Version=
-
Line separators and pair separators are not allowed in Swiss (SPC) QR code.
-
Though two QR codes can have the same name, two QR codes with the same name 'OTHER' are not allowed.
FieldSection settings
The following settings need to be specified for each standard listed in the [QRStandards] list to tell Kofax ReadSoft Invoices which standard to use and from which fields to extract the data for the corresponding standard. In addition to the name and version of the intended QR standard, which are mandatory, it provides the order in which respective fields are to be extracted including the name of the field type to be extracted and the line number in the standard where it is found.
[<FieldSection>]
Name=<name of standard>
Version=<version of the standard>
;Field1=CustomFieldTypeName1, Linenumber1
;Field2=CustomFieldTypeName2, Linenumber2
For example, for Swiss QR code standard SPC10, the filed section is mentioned as follows:
[SPC10]
Name=SPC
Version=0200
Field1=QRCurrency, 20
Field2=QRAmount, 19
Field3=QRCreditorName, 6
Field4=QRIBAN, 4
Additional fields can be added to extract data for a version of a standard by including the mapping information in the corresponding section. If an entry for a desired specific field value is not listed in the section, the field value is not extracted from the QR code. However, you can change the default mapping information as needed.
For field type mapping information, see the documentation for the QR standard you want to use.