How do we validate VAT numbers for EU customers?

You can decide whether or not to use VIES for VAT validation (warning: turning off this feature means you may accept potentially invalid VAT numbers), and set requirements for validation evidence.

You can toggle this setting in your Tax Settings under Configuration > Taxes, and then clicking "Tax Settings" at the top of the page.