TaxData structure

The TaxData structure holds the tax amounts that are relevant for each tax code.

It is populated if automatic tax determination is activated and successful, all lines have been paired and tax is not required to be calculated by the downstream ERP system. It is used in the interfaces of the following user exits.

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

Structure Element

Type

Description

TaxCode

String

The ERP system tax code.

TaxAmount

Double

The tax amount.

TaxRate

Double

The tax rate as a percentage. For example, 20 signifies 20%.

TaxBase

Double

The invoice amount to which the tax applies.

ExtractLine

Integer

The original line number (1-based index) of the VATTable where the value is captured. This value is set only if the TaxData structure is populated based on the content of the VAT table.