KYCCentral.HMRCVat (KYC Central v0.9.0)

Copy Markdown View Source

HMRC VAT registration lookups.

Summary

Functions

Check a UK VAT registration number, with or without the GB prefix.

Whether HMRC VAT lookups are configured.

Types

result()

@type result() :: {:ok, map()} | {:error, KYCCentral.Error.t()}

Functions

check(client, vat_number)

@spec check(KYCCentral.t(), String.t()) :: result()

Check a UK VAT registration number, with or without the GB prefix.

status(client)

@spec status(KYCCentral.t()) :: result()

Whether HMRC VAT lookups are configured.