PHPackages                             someson/tin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. someson/tin

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

someson/tin
===========

TIN (Taxpayer Identification Number) online check handler

41PHP

Since Sep 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/someson/tin)[ Packagist](https://packagist.org/packages/someson/tin)[ RSS](/packages/someson-tin/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Confirmation of foreign VAT identification numbers
==================================================

[](#confirmation-of-foreign-vat-identification-numbers)

[![Build Status](https://camo.githubusercontent.com/2f11163921990c8a79a7a3f986cda3b1faa06d9f06e0b23148689fb9881f12be/68747470733a2f2f7472617669732d63692e6f72672f736f6d65736f6e2f74696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/someson/tin) [![GitHub](https://camo.githubusercontent.com/04e23b9b04e8fb813291dcbb5b4bf0201ea708e8dfc89a3af53f93f60b405e58/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736f6d65736f6e2f74696e)](https://camo.githubusercontent.com/04e23b9b04e8fb813291dcbb5b4bf0201ea708e8dfc89a3af53f93f60b405e58/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736f6d65736f6e2f74696e) [![PHP from Travis config](https://camo.githubusercontent.com/0428bebeb59be32b8e1ee2a6cabaf0249c3416680f53c3b52e3e1567e6d781de/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f736f6d65736f6e2f74696e2f6d6173746572)](https://camo.githubusercontent.com/0428bebeb59be32b8e1ee2a6cabaf0249c3416680f53c3b52e3e1567e6d781de/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d762f736f6d65736f6e2f74696e2f6d6173746572) [![codecov](https://camo.githubusercontent.com/470ff8f49b57cf040bd57ca2b2704a633538ef4ff7d601d2153eefe9cf336849/68747470733a2f2f636f6465636f762e696f2f67682f736f6d65736f6e2f74696e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/someson/tin)

API Documentation
-----------------

[](#api-documentation)

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

```

### API opening hours :D

[](#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

[](#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

[](#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

[](#tests)

`$ ./vendor/bin/codecept run`

### Static analyzer

[](#static-analyzer)

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

Useful links
------------

[](#useful-links)

- [TINs\*\* nach Ländern](https://ec.europa.eu/taxation_customs/tin/tinByCountry.html?locale=de)
- [Online-Prüfmodul für TINs](https://ec.europa.eu/taxation_customs/tin/tinRequest.html?locale=de)
- [Für Anfragen über die offene Schnittstelle und Sammelanfragen (WSDL-Datei)](https://ec.europa.eu/taxation_customs/tin/checkTinService.wsdl)
- [Rechtlicher Hinweis](https://ec.europa.eu/taxation_customs/tin/legalNotice.html)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f2edc4ac8947df09b32cfca2b888ce6f641456c48cb99ec1a9461cdf196ff9c?d=identicon)[someson](/maintainers/someson)

---

Top Contributors

[![someson](https://avatars.githubusercontent.com/u/3097223?v=4)](https://github.com/someson "someson (11 commits)")

### Embed Badge

![Health badge](/badges/someson-tin/health.svg)

```
[![Health](https://phpackages.com/badges/someson-tin/health.svg)](https://phpackages.com/packages/someson-tin)
```

###  Alternatives

[spatie/statamic-health

Check the health of your Statamic app

115.3k](/packages/spatie-statamic-health)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
