vies-dotnet-api 2.3.2

dotnet add package vies-dotnet-api --version 2.3.2                
NuGet\Install-Package vies-dotnet-api -Version 2.3.2                
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.2" />                
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.2                
#r "nuget: vies-dotnet-api, 2.3.2"                
#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.2

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

vies-dotnet-api

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.

Installing

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

.NET CLI:

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

Package Reference

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

Usage

Checking a VAT number using the vies-dotnet-api

Checking if a EU VAT number is valid

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

or

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

Checking if a EU VAT number is active

var viesManager = new ViesManager();

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

or

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

Clarification

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="https://www.buymeacoffee.com/vXCNnz9" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/lato-yellow.png" alt="Buy Me A Coffee" height="37" ></a>

License

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.

Thanks

  • 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.2 232 12/16/2024
2.3.1 30,638 3/31/2024
2.3.0 9,345 1/25/2024
2.2.1 1,013 12/23/2023
2.2.0 2,678 12/18/2023
2.1.0 129 12/18/2023
2.0.0 56,761 9/10/2022
2.0.0-beta-0068 142 9/11/2022
2.0.0-beta-0067 138 9/10/2022
2.0.0-beta-0066 141 9/10/2022
2.0.0-beta-0065 135 9/10/2022
2.0.0-beta-0064 137 9/10/2022
2.0.0-beta-0063 136 9/10/2022
2.0.0-beta-0061 136 9/10/2022
2.0.0-beta-0060 134 9/10/2022
1.1.0 6,030 9/2/2022
1.1.0-beta-0053 154 9/2/2022
1.0.2 58,434 3/1/2022
1.0.2-beta-0051 169 9/2/2022
1.0.2-beta-0050 182 3/2/2022
1.0.2-beta-0048 176 3/1/2022
1.0.2-beta-0029 3,703 11/5/2021
1.0.1 27,252 6/22/2021
1.0.1-beta-0028 239 11/5/2021
1.0.1-beta-0026 214 11/5/2021
1.0.1-beta-0025 207 11/5/2021
1.0.1-beta-0023 267 6/22/2021
1.0.0 1,832 12/5/2020
1.0.0-beta-0021 276 6/22/2021
1.0.0-beta-0014 331 12/5/2020
1.0.0-beta-0013 329 12/5/2020
1.0.0-beta-0011 449 8/12/2020
1.0.0-beta-0010 451 5/26/2020
1.0.0-beta-0009 412 3/20/2020
1.0.0-beta-0008 452 10/23/2019
1.0.0-beta-0007 389 10/17/2019
1.0.0-beta-0006 414 10/8/2019