## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> | | VIES_EU_VAT_NAME[VIES_EU_VAT_NAME]:::quoted
VIES_EU_VAT_NAME --> End((END))
```
## Purpose
The `VIES_EU_VAT_NAME` SQL function evaluates to text of the name linked to the EU VAT account provided (when the EU VAT account is valid and active). Each validation takes approximately 250 ms and uses the VIES service offered by the European Union.
See also [[IS_VIES_EU_VAT]], [[VIES_EU_VAT_ADDRESS]] and [[VIES_EU_VAT_COUNTRY]].
Parameters:
- Value (`varchar2`): value to test.
Returns: name associated with the EU VAT account. `null` when not a valid/active EU VAT account.
## Examples
The following example retrieves the name linked to the EU VAT account `NL812602377B01`:
```sql
select vies_eu_vat_name('NL812602377B01')
-------------------
INVANTIVE B.V.
```
The following example retrieves the name linked to the Belgian EU VAT account `BE0879230071`:
```sql
select vies_eu_vat_name('BE0879230071')
-------------------
BV ACRITAS
```