Tolerance structure

The Tolerance structure holds a series of limits the system uses when performing mathematical validations on the amounts read from the invoice.

The tolerance limits are set by the tolerance group assigned to the invoice currency. The tolerance structure is used in the interface for the SetTolerance user exit.

The elements that are part of this structure are as follows.

Structure Element

Type

Description

HEADERTOLERANCE

Double

The maximum amount by which the document header amounts, such as total = tax + freight + sum of line items/Net Amount 1 are allowed to deviate from one another before the system marks them as being invalid.

TABLEROWTOLERANCE

Double

The maximum amount by which the line item level calculation, such as quantity * unit price = total is allowed to deviate before the system marks a line item as being invalid.

TAXTOLERANCE

Double

If automatic tax determination is activated, then this is the maximum amount by which a system calculated tax amount or tax rate is allowed to deviate from a tax amount read from the invoice, or a tax rate contained within the tax table.

NODECIMALPLACES

Boolean

This value is set to TRUE if the invoice currency does not have a subunit, such as pennies, cents. Common world currencies that do not have subunits are the Hungarian Forint and the Japanese Yen.