Total, Locators – Kofax Transformation Modules Invoice Pack 1.0 User Manual
Page 12
Contents
12
Kofax Transformation Modules Invoice Pack - Configuration Guide
All format locators used by the project have dynamic keywords. This means that the
keywords visible in the locators are not necessarily those used when the
configuration is being run in a live system. The locator keywords are populated from
a “LanguageDict.xml” file which can be found in the configuration directory under
the installation path in “Project\Knowledgebases\Config\”.
Total
The Total field is used to store the total amount shown on the invoice. This includes
the subtotal and tax amount fields.
Locators
The Total field uses the following locators:
KBa – Standard amount group locator, which uses knowledge bases (generic
and specific) to attempt to find the required information.
FL_Amounts – This is a standard format locator which finds all possible
amounts on the document. These results are then fed into the Invoice Header
Locator.
FL_Discount – This is another standard format locator that looks for amounts
which have the text “discount” nearby. Results from this locator are used by
the SL_ResolvedAmounts script locator. This locator is only used by the en-
GB Invoice Pack.
IHL – Invoice Header Locator overridden at the locale level to include specific
keywords and tax rates. This attempts to find all amounts and other header
information (such as invoice number, invoice date).
SL_ResolvedAmounts – This locator is only used by the en-GB class. It
provides additional logic via a script to check for discounts. If a set of
amounts are found that could be a possible subtotal/tax amount/total group,
these values are returned as a sign of a discount being present on the
document.
SE_Total – This is a standard evaluator which returns the best result of the
following locator sub-fields: KBa.Total, SL_ResolvedAmounts.TotalAmounts
and IHL.Brutto.
SL_FinalAmounts – This is a script locator that allows additional amounts
logic to be performed before values are returned. In the case of the Total field,
this simply returns the results found by the SE_Total standard evaluator.