Skip to content

API reference / Quittio \ Core \ Validation \ Plausibility

VatIdVerifier

interface in quittio/core

Quittio\Core\Validation\Plausibility\VatIdVerifier · Source

Online check of VAT identifiers (e.g. EU VIES). Implementations must never throw because a service is unavailable; they return a result with $valid = null instead.

Methods#

MethodDescription
->verify()

verify()#

public function verify(string $vatId): VatIdVerification
ParameterTypeDescription
$vatIdstring
Returns
VatIdVerification

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.