https://github.com/skrusty/viesclient
A client wrapper for the SOAP interface to VIES the EU VAT Checker
https://github.com/skrusty/viesclient
Last synced: about 1 month ago
JSON representation
A client wrapper for the SOAP interface to VIES the EU VAT Checker
- Host: GitHub
- URL: https://github.com/skrusty/viesclient
- Owner: skrusty
- Created: 2016-02-08T19:17:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-08T19:20:57.000Z (over 10 years ago)
- Last Synced: 2025-11-19T04:19:14.150Z (8 months ago)
- Language: C#
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VIESClient
A client wrapper for the SOAP interface to VIES the EU VAT Checker located at
http://ec.europa.eu/taxation_customs/vies/
## Example Usage
```c#
var client = new Client();
Console.Write("Enter Country Code (e.g. GB): ");
var countryCode = Console.ReadLine();
Console.Write("Enter VAT Number: ");
var vatNumber = Console.ReadLine();
var result = client.CheckVATNumber(countryCode, vatNumber);
Console.WriteLine($"Check returned {result.IsValid}");
Console.WriteLine($"Company: {result.Name}");
Console.WriteLine($"Address: {result.Address}");
```