Viex v0.1.0 Viex

Look up and validate European VAT numbers.

Summary

Functions

Look up a European VAT number. Accepts a binary, returns a Viex.Response struct

Check the validity of a European VAT number. Accepts a binary, returns a boolean

Functions

lookup(vat_number)
lookup(String.t) :: map | {:error, String.t}

Look up a European VAT number. Accepts a binary, returns a Viex.Response struct.

valid?(vat_number)
valid?(String.t) :: boolean

Check the validity of a European VAT number. Accepts a binary, returns a boolean.