An open API service indexing awesome lists of open source software.

https://github.com/matej-ch/eu-vat-checker

EU vat id checker
https://github.com/matej-ch/eu-vat-checker

eu-vat-validator soap vat-number vat-validation vies vies-soap-service

Last synced: 3 months ago
JSON representation

EU vat id checker

Awesome Lists containing this project

README

        

![latest_tag](https://badgen.net/github/tag/Matej-ch/eu-vat-checker)
![test](https://github.com/Matej-ch/eu-vat-checker/actions/workflows/php.yml/badge.svg)

This package uses service https://ec.europa.eu/taxation_customs/vies/

### Install package

```
composer require matejch/vat-id-checker "1.0.0"
```

---

### Usage

```PHP
/** EU VAT checker */
$service = new \matejch\VatIdChecker\Vies();
$result = $service->validateVat('XX1234567890'); //object with data or false

$service->getMessage(); // response message
```

### Remove package

```
composer remove matejch/vat-id-checker
```