For a new invoice you enter the VAT code. This default value is taken from the customer register, but can be temporarily modified for a particular invoice. The VAT codes must be updated in the VAT Codes procedure in the Global Settings module.