Code Examples


PHP (cURL)

Validate VAT Number:

Find below a simple way of using PHP (cURL) for validating a EU VAT number:

JavaScript (jQuery.ajax)

Validate VAT Number:

Find below a simple way of using PHP (cURL) for validating a EU VAT number:

Please note: In this example, the use of JSONP is entirely optional.

Questions? Contact Sales .
Need help? Contact Support .
© 2025 APILayer. All rights reserved.