GET taxclasses/{taxclassid}/taxratecountries
Returns a list of all available all Country specific tax rates for a Tax Class
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
taxclassid | The ID of the Tax Class | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Returns a list of all available all Country specific tax rates for a Tax Class
Collection of TaxRateCountryModelName | Description | Type | Additional information |
---|---|---|---|
TaxRateCountryID | The ID of the country specific tax rate | integer | None. |
CountryName | The name of the country that the tax rate applies to | string | None. |
ISOCountryCodeTwoLetter | The two letter ISO code | string | None. |
TaxRate | The tax rate | decimal number | None. |
Response Formats
application/json, text/json
Sample:
[ { "TaxRateCountryID": 1, "CountryName": "BARBADOS", "ISOCountryCodeTwoLetter": "BB", "TaxRate": 21.0 }, { "TaxRateCountryID": 2, "CountryName": "MAURITIUS", "ISOCountryCodeTwoLetter": "MU", "TaxRate": 10.0 } ]
application/xml, text/xml
Sample:
<ArrayOfTaxRateCountryModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TaxRateCountryModel> <TaxRateCountryID>1</TaxRateCountryID> <CountryName>BARBADOS</CountryName> <ISOCountryCodeTwoLetter>BB</ISOCountryCodeTwoLetter> <TaxRate>21</TaxRate> </TaxRateCountryModel> <TaxRateCountryModel> <TaxRateCountryID>2</TaxRateCountryID> <CountryName>MAURITIUS</CountryName> <ISOCountryCodeTwoLetter>MU</ISOCountryCodeTwoLetter> <TaxRate>10</TaxRate> </TaxRateCountryModel> </ArrayOfTaxRateCountryModel>