DEV Community

Cover image for EU VAT Number Validator: A Simple PHP Tool for EU Businesses
Angelos Chouvardas
Angelos Chouvardas

Posted on

EU VAT Number Validator: A Simple PHP Tool for EU Businesses

Need to verify EU VAT numbers quickly?

This lightweight PHP script checks any VAT number against the official VIES database and for Greek companies pulls extra details from the GEMI (General Commercial Registry).

Perfect for e-commerce checkouts, invoicing tools, or client onboarding forms.


Features

  • Validates all EU VAT numbers via official VIES SOAP API
  • Shows company name & address
  • For Greek (EL) VATs:
    • Fetches GEMI registration number
    • Displays company type
    • Links directly to the official business portal record
  • Clean, responsive UI with Tailwind CSS
  • Single file, no dependencies

Whether you're building a shop, managing invoices, or just curious about a business, this tool gives you instant, reliable EU VAT validation with a Greek twist. Drop it into any project, no setup needed.

Get the code and start validating today!

Top comments (0)