VatSearchVIES Constructor

Creates a new instance of the VatSearchVIES class.
Public Sub New( _ 
ByVal Country As String, _ 
ByVal VATNumber As String, _ 
ByVal ArbitransUser As String, _ 
ByVal ArbitransKey As String
)
This language is not supported or no code example is available.
public VatSearchVIES( 
string Country
string VATNumber
string ArbitransUser
string ArbitransKey 
)
This language is not supported or no code example is available.

Parameters

Country
string

The Country Code (2 digits)

VATNumber
string

The VAT Number WITHOUT the Country Code. The VAT Number must have Latin characters only without spaces and/or symbols.

ArbitransUser
string

User Name provided by Arbitrans

ArbitransKey
string

Key provided by Arbitrans

Example
 
 Vat_SearchVIES afm = new Vat_SearchVIES("NL", "123456789B01");
 bool valid = checkVAT_Format();
 arraylist result = searchVIES(); //Sometimes the VAT NUMBER is valid, but VIES does not have any details. However, you'll check if the VAT Number is registered in the VIES system.
 					
This language is not supported or no code example is available.
 Dim afm as Vat_SearchVIES = new Vat_SearchVIES("NL", "123456789B01")
 Dim valid as Boolean = checkVAT_Format()
 Dim result as ArrayList = searchVIES() 'Sometimes the VAT NUMBER is valid, but VIES does not have any details. However, you'll check if the VAT Number is registered in the VIES system.
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition