To change the VATCODE on a customer invoice, the invoice must be in status 1.
In the context menu, there is an option to 'Open Sales invoice'. 
This will change the status from 4 back to status 1 and one can edit the VatCode.