Field settings, Validation, Netamount0 – Kofax Transformation Modules Invoice Pack 1.0 User Manual

Page 14: Locators

Advertising
background image

Contents

14

Kofax Transformation Modules Invoice Pack - Configuration Guide

ƒ

SE_SubTotal – This is a standard evaluator which returns the best of the
following locator sub-fields: KBa.SubTotal,
SL_ResolvedAmounts.NetAmount, IHL.Netto1.

ƒ

SE_Net0 – This is a standard evaluator which returns the best of the following
locator sub-fields: KBa.NetAmount0, IHL.Netto0.

ƒ

SL_FinalAmounts – This is a script locator which performs some additional
logic before the amounts are returned. For the SubTotal field, this either
returns the contents of the SE_Subtotal alternatives collection, or the SE_Net0
standard evaluator alternatives collection. Only one of these locators will
contain a results at any one time.

Field Settings

The SubTotal field takes its result from the SubTotal subfield of the
SL_FinalAmounts locator mentioned above. It is formatted using the
DefaultAmountFormatter, which does basic amount formatting. The field is set, by
default, to require a high confidence to be valid, and its default setting is 80%. The
“min. confidence to set reread result” is set dynamically based on field OCR
Confidence settings taken from the config.xml file.

Validation

The SubTotal field is part of a group validation which includes SubTotal, TotalTax
and Total. In order to pass validation, the SubTotal field must contain a value which
can correctly be formatted as an amount, and it must also contain an amount which
is equal to the Total minus the TotalTax field.

NetAmount0

The NetAmount0 field is used to store the amount on the invoice when it has been
detected as a 0% tax invoice.

Locators

The NetAmount0 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.

Advertising