vies-dotnet-api 2.3.1

dotnet add package vies-dotnet-api --version 2.3.1                
NuGet\Install-Package vies-dotnet-api -Version 2.3.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="vies-dotnet-api" Version="2.3.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add vies-dotnet-api --version 2.3.1                
#r "nuget: vies-dotnet-api, 2.3.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install vies-dotnet-api as a Cake Addin
#addin nuget:?package=vies-dotnet-api&version=2.3.1

// Install vies-dotnet-api as a Cake Tool
#tool nuget:?package=vies-dotnet-api&version=2.3.1                


Build & Test NuGet package Nuget

European(EU) VIES API VAT validation for dotnet based on the most current information from the official source

The objective of this API is to allow persons involved in the intra-Community supply of goods or of services to obtain confirmation of the validity of the VAT identification number of any specified person.


The fastest way of getting started using Vies api is to install the NuGet package.

Package Manager:

Install-Package vies-dotnet-api -Version 2.3.1


dotnet add package vies-dotnet-api --version 2.3.1

Package Reference

<PackageReference Include="vies-dotnet-api" Version="2.3.1" />


Checking a VAT number using the vies-dotnet-api

Checking if a EU VAT number is valid

 var result = ViesManager.IsValid("RO123456789");


 var result = ViesManager.IsValid("RO","123456789");

Checking if a EU VAT number is active

var viesManager = new ViesManager();

var result = await viesManager.IsActiveAsync("RO123456789");


var result = await viesManager.IsActiveAsync("RO","123456789");


Since January 1, 2021 the UK is no longer a member of the European Union and as a result, the VIES service provided by the European Commission no longer validates VAT ID's for the UK.

Checking GB VAT number

var validationResult = await viesManager.IsActiveAsync("GB434031494");

will return the following message:

Great Britain(GB) is no longer supported by VIES services provided by EC since 2021-01-01 because of Brexit.

<a href="" target="_blank"><img src="" alt="Buy Me A Coffee" height="37" ></a>


GitHub license

The API is released under Apache 2 open-source license. You can use it for both personal and commercial purposes, build upon it and modify it.


  • JetBrains for my Open Source Resharper licence

  • AppVeyor for allowing free build CI services for Open Source projects

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.3.1 6,498 3/31/2024
2.3.0 6,595 1/25/2024
2.2.1 954 12/23/2023
2.2.0 2,198 12/18/2023
2.1.0 105 12/18/2023
2.0.0 50,254 9/10/2022
2.0.0-beta-0068 119 9/11/2022
2.0.0-beta-0067 116 9/10/2022
2.0.0-beta-0066 117 9/10/2022
2.0.0-beta-0065 112 9/10/2022
2.0.0-beta-0064 113 9/10/2022
2.0.0-beta-0063 114 9/10/2022
2.0.0-beta-0061 114 9/10/2022
2.0.0-beta-0060 115 9/10/2022
1.1.0 5,240 9/2/2022
1.1.0-beta-0053 132 9/2/2022
1.0.2 49,090 3/1/2022
1.0.2-beta-0051 145 9/2/2022
1.0.2-beta-0050 160 3/2/2022
1.0.2-beta-0048 153 3/1/2022
1.0.2-beta-0029 3,684 11/5/2021
1.0.1 24,356 6/22/2021
1.0.1-beta-0028 227 11/5/2021
1.0.1-beta-0026 195 11/5/2021
1.0.1-beta-0025 197 11/5/2021
1.0.1-beta-0023 248 6/22/2021
1.0.0 1,786 12/5/2020
1.0.0-beta-0021 258 6/22/2021
1.0.0-beta-0014 312 12/5/2020
1.0.0-beta-0013 308 12/5/2020
1.0.0-beta-0011 431 8/12/2020
1.0.0-beta-0010 431 5/26/2020
1.0.0-beta-0009 389 3/20/2020
1.0.0-beta-0008 432 10/23/2019
1.0.0-beta-0007 367 10/17/2019
1.0.0-beta-0006 392 10/8/2019