When prebooking has been voided - System offers possibility to re-open the document moving status from voided to balanced by modifying the invoicelines of the voided document. When a new line was inserted instead of updating existing line, the system incorrectly recalculated the VAT for the original line.
This has now been fixed. Re-opening of the voiding can be actioned from UI line modifications or from API using PUT calls with either operation insert or update.