ExVatcheck (ExVatcheck v0.3.1) View Source

ExVatcheck is a library for validating VAT identification numbers using the VIES service. Because the VIES service is not always reliable, and is frequently unavailable, ExVatcheck falls back to Regex in the case when the service can't be reached.

Link to this section Summary

Functions

Validates a given VAT identification number using the VIES service.

Link to this section Functions

Specs

check(binary()) :: ExVatcheck.VAT.t()

Validates a given VAT identification number using the VIES service.

Returns an ExVatcheck.VAT.t() struct.