
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Valdit.Api.Client.VatValidation
Advanced tools
A client library for the Valdit VAT Number Validation API. The Valdit VAT Number Validation API offers real-time validation of European VAT-numbers, using the VAT-VIES service as source. Typical use cases for the Valdit VAT Number Validation API are: - One-time or repetitive validation of large amounts of EU VAT numbers - Business Validation during registration on B2B E-Commerce platforms (e.g. web shops) - Repeated use of VAT Number Validation records in different phases of the ‘Customer Journey’ (offer, purchase, billing etc.) and by different Line of Business systems (e.g. E-commerce, CRM, Order2Cash, Accounting) When using the API to validate one single or a series of VAT numbers, you will benefit from Valdit's records management features that simplify meeting the compliancy requirements of national Tax Services. Please note that usage of the Valdit VAT Number Validation API requires a subscription. Please contact us on valdit@valdit.com for more information.
Thanks for installing the Valdit VAT Number Validation API Client!
Adding Validation of an European VAT-number requires only a few lines of code. In C#:
// Create a VatValidation API Client var client = new VatValidationClient();
// Setup the Vat Validation API Client with Client Credentials, point it to the API Production Endpoint client.Init("[insert_client_id]", "[insert_client_secret]", EndpointType.Production);
// Check a VAT-number var result = client.Create(VatCountryCode.NL, "806570994B01");
// The result will contain all info you need on the VAT-number, for example to access the address info use: Debug.WriteLine(result.ValditBusinessEntity.BusinessAddress.Street);
Or, in Visual Basic:
' Create a VatValidation API Client Dim client As New Valdit.Api.Client.VatValidation.VatValidationClient
' Setup the Vat Validation API Client with Client Credentials, point it to the API Sandbox Endpoint client.Init("[insert_client_id]", "[insert_client_secret]", Valdit.Api.Client.Common.EndPoints.EndpointType.SandBox)
' Check a VAT-number Dim result As Valdit.Api.Client.VatValidation.BusinessEntityInfo result = client.Create(Valdit.Api.Client.VatValidation.VatCountryCode.NL, "806570994B01")
' The result will contain all info you need on the VAT-number, for example to access the address info use Debug.WriteLine(result.ValditBusinessEntity.BusinessAddress.Street)
Optional usage of a Proxy: If you need to use a Proxy to access the Internet, you can add an additional parameter to the Init call:
// Setup a standard .Net WebProxy (1.2.3.4 just being an example IP address!!) var proxy = new WebProxy("http://1.2.3.4:8080");
// Create a VatValidation API Client var client = new VatValidationClient();
// Setup the Vat Validation API Client with Client Credentials, point it to the API Production Endpoint client.Init("[insert_client_id]", "[insert_client_secret]", EndpointType.Production, proxy);
Two separate publicly available environments are available for the Valdit VAT Number Validation API:
You will need a set of "client credentials", in the form of a client identifier and a client secret, to work with the API Client. If you don’t have client credentials yet, you can request them by sending an email to support@valdit.com using ‘Request for Sandbox Client Credentials’ as subject. Make sure you include your own VAT Number. We will send you a reply within two business hours.
The latest technical documentation can be obtained here: https://www.valdit.com/developers/api-documentation
Do you have a technical question on using the library? Suggestions for improving this Technical Documentation? Contact our DevOps Team at devops@valdit.com. We value your input!
FAQs
A client library for the Valdit VAT Number Validation API. The Valdit VAT Number Validation API offers real-time validation of European VAT-numbers, using the VAT-VIES service as source. Typical use cases for the Valdit VAT Number Validation API are: - One-time or repetitive validation of large amounts of EU VAT numbers - Business Validation during registration on B2B E-Commerce platforms (e.g. web shops) - Repeated use of VAT Number Validation records in different phases of the ‘Customer Journey’ (offer, purchase, billing etc.) and by different Line of Business systems (e.g. E-commerce, CRM, Order2Cash, Accounting) When using the API to validate one single or a series of VAT numbers, you will benefit from Valdit's records management features that simplify meeting the compliancy requirements of national Tax Services. Please note that usage of the Valdit VAT Number Validation API requires a subscription. Please contact us on valdit@valdit.com for more information.
We found that valdit.api.client.vatvalidation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.