There isn’t currently an option to display the VAT field by role, because the customer may or may not be logged in when completing the purchase. It’s quite common, even for companies, to forget to log in (that’s why we developed a custom solution to automatically assign orders by email, without asking customers to log in every time).
The EU VAT Assistant does allow to show the VAT number only if a company name is entered. Such option is available out of the box, you just have to select it: https://prntscr.com/d4qcdj.
If you choose to use that option, we recommend to enable it only for EU addresses. This is because, if you make the VAT number required for any address, even outside the EU, the validation will fail for non-EU countries (extra-EU VAT numbers cannot be validated) and the checkout will be stopped unless you also enable the “Store invalid VAT numbers” option.
-
This reply was modified 8 years ago by Diego.