@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Taxrates.io API
@base https://api.taxrates.io/api
@auth ApiKey Authorization in header
@endpoints 3
@toc tax(3)

@endpoint GET /v3/tax/rates
@optional {domain: str, filter: str, cursor: str, Product_code: str}
@returns(500) {code: str, message: str, fields: str}

@endpoint GET /v1/tax/ip
@optional {domain: str, ip: str, filter: str, zip: str, product_code: str}

@endpoint GET /v1/tax/countrycode
@optional {domain: str, country_code: str, filter: str, zip: str, product_codes[]: str, province : str, date: str}
@returns(200) {country_name: str, taxes: [map]}

@end
