Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Confirmation of foreign VAT identification numbers

Build Status GitHub PHP from Travis config codecov

API Documentation

https://evatr.bff-online.de/eVatR/xmlrpc/

API opening hours :D

German:

Über diese Schnittstelle können Sie sich täglich, in der Zeit zwischen 05:00 Uhr und 23:00 Uhr,
die Gültigkeit einer ausländischen Umsatzsteuer-Identifikationsnummer (USt-IdNr.) bestätigen lassen.

English:

Via this interface you can check the validity of a VAT identification numbers daily,
between 05:00 and 23:00 hours.

Expenses of using an API

German:

Die Nutzung der Schnittstelle ist durch keine Registrierung reglementiert, die Nutzung ist kostenfrei.

English:

The use of the interface is not regulated by any registration, the use is free of charge.

Use

$client = new Client();
$response = $client->verify(new Params([
    'UstId_1' => 'DE12345678',
    'UstId_2' => 'AT98765432',
]));
echo $response->isValid() ? 'succeed' : 'failed';

// $message = $response->getMessage();
// $details = $response->getDetails();

Tests

$ ./vendor/bin/codecept run

Static analyzer

$ ./vendor/bin/phpstan analyse src --level max

Useful links

About

Confirmation of foreign VAT identification numbers in EU

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages