Validate EU VAT ID

KB Tags associated with this article:
Use all tags
KB Tags
Body

Description

Validates the EU VAT ID.

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/billing/validate-vat-id.json?auth-userid=0&api-key=key&vat-id=0&country=GB

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
vat-id String Required The VAT ID that needs to be validated
country String Required Country Code as per ISO 3166-1 alpha-2

Response

Returns true (String) if the VAT ID is valid. Returns false otherwise.