On exiting the line grid, all the totals are carried out as well as any calculations of the tax calculation bases.
In the lower section of the tab, the Ex-tax and Tax incl. totals are displayed (they cannot be modified) as well as the total margin for the invoice.