Field help (PIHVAT1) 

This field is used to enter a first tax code to apply to the invoiced product.
The tax codes (VAT, additional taxes, special taxes and/or provincial taxes) can be modified on the order line if the transaction authorizes it.
Only the tax codes in phase with the legislation and the group of the site company can be entered.
SEEREFERTTOThe general principles linked to the multi-legislation setup are detailed here.
They are normally initialized according to the tax determination rules that most often stem from crossing the supplier tax rule with the tax levels of the entered product.
If the return line has a document line as its origin, the tax codes will then be inherited from the document line.
If the invoice line has a sales invoice as its origin, the various tax codes will be revaluated according to the context and will be inherited from the original purchase document.
Upon transforming an invoice line into a credit memo line, the tax codes entered on the invoice line are transferred to this document. The right click is used to select a tax code for each tax level.