Field help (SFIVATRUL) 

This field is used to specify the tax calculation rule to apply to the invoicing element.
SEEWARNING The tax rate is generally determined by crossing the tax rule associated with a customer (which can be modified on document entry) and the tax level associated with a product (specified on the document line).
SEEREFERTTO See the documentation on the Tax rates for further information.

Five rules are available for calculation of taxes on invoicing elements:

It is also possible to specify whether an invoicing element must be integrated into the calculation basis of the additional or special taxes.

The CTLTAX - Control of tax codes parameter (VEN chapter, VAT group) allows you to check that the tax codes are correctly determined on the sales documents lines and invoicing elements.

Invoicing elements having a 'Product', 'Maximum rate' or 'Minimum rate' tax rule are subject to the various line taxes: if a tax code is inconsistent on document lines, it will be on invoicing elements.