You will need to make sure that the VAT details are entered in 'Settings | Business Settings | Company/Contact' - 'Registration Information '