VatIdCheckTrait
VAT id verification bridge call ({@see \App\UI\Api\System\Presenters\Traits\Actions\VatIdCheckVerifyTrait}).
Absolute endpoint — the trait is not tied to the endpoint of the repository that uses it.
Table of Contents
Methods
- fetchVatIdVerification() : array<string, mixed>
Methods
fetchVatIdVerification()
public
fetchVatIdVerification(string $vatId, bool $forceOnline, string|null $countryCode[, bool $automatic = false ]) : array<string, mixed>
Parameters
- $vatId : string
- $forceOnline : bool
- $countryCode : string|null
- $automatic : bool = false
Return values
array<string, mixed> —empty on a bridge failure (RBAC deny, invalid input)