module Europe::Vat

Defined in:

europe/vat/format.cr
europe/vat/rates.cr
europe/vat/vat.cr

Constant Summary

HEADERS = HTTP::Headers {"Content-Type" => "text/xml;charset=UTF-8", "SOAPAction" => ""}
URL = "https://ec.europa.eu/taxation_customs/vies/services/checkVatService"

Class Method Summary

Class Method Detail

def self.charge_vat?(origin_country : String, number : String) #

[View source]
def self.send_request(country_code : String, number : String) #

[View source]
def self.validate(number : String) #

[View source]