See the Invoicing elements documentation for further information.
The footer values can be modified. The ex-tax and tax-incl. amounts of the document are directly impacted by these values.
Modification of an invoice by adding/deleting either a delivery, an order, or an order line: the amounts of the invoice elements are not recalculated by taking into account the added/deleted deliveries, orders, or order lines. The share of the invoicing elements relating to these lines or documents is not added/subtracted from the modified invoice.
The same principle applies to the modification of the credit memoes by addition/deletion of an invoice or invoice line.