Previously, the VAT line on a sales invoice was deleted when using action Correct invoice. This has now been fixed.