Herzlich willkommen

How to show the VAT number in transactional emails?

You can use the direct call to print the VAT number in any place you want within the transactional email:
{{var order.getShippingAddress().getVatId()}}