The VIES REST API, see https://viesapi.eu/test-vies-api/, allows for online validation of European VAT numbers
vat_resolve_vies(x)
a string with a properly formatted European VAT number
tibble with results (such as address, organization name etc)
if (FALSE) {
if(interactive()){
vat_resolve_vies("SE202100305401")
}
}