GET taxclasses/{taxClassId}

Returns a specific Tax Class

Request Information

URI Parameters

NameDescriptionTypeAdditional information
taxClassId The Id of the Tax Class integer Required

Body Parameters

None.

Response Information

Resource Description

Returns a specific Tax Class

TaxClassModel
NameDescriptionTypeAdditional information
TaxClassID The ID for the tax class. integer None.
TaxClassGuid The GUID for the tax class globally unique identifier None.
CreatedOn Utc Date of Creation date None.
IsGlobal This field determines whether the tax class is a custom tax class created on the account. boolean None.
TaxRateCountries List of all Country modifiers to that Tax Rate Collection of TaxRateCountryModel None.
Name The name given to tax class. string None.
TaxRate The tax rate for instance 17.5 decimal number None.

Response Formats

application/json, text/json

Sample:
{
  "TaxClassID": 5,
  "TaxClassGuid": "00000000-0000-0000-0000-000000000000",
  "CreatedOn": "2024-11-21T00:00:00+00:00",
  "IsGlobal": false,
  "TaxRateCountries": [
    {
      "TaxRateCountryID": 2,
      "CountryName": "MAURITIUS",
      "ISOCountryCodeTwoLetter": "MU",
      "TaxRate": 10.0
    }
  ],
  "Name": "Standard VAT",
  "TaxRate": 17.5
}

application/xml, text/xml

Sample:
<TaxClassModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TaxClassID>5</TaxClassID>
  <Name>Standard VAT</Name>
  <TaxRate>17.5</TaxRate>
  <TaxClassGuid>00000000-0000-0000-0000-000000000000</TaxClassGuid>
  <CreatedOn>2024-11-21T00:00:00+00:00</CreatedOn>
  <IsGlobal>false</IsGlobal>
  <TaxRateCountries>
    <TaxRateCountryModel>
      <TaxRateCountryID>2</TaxRateCountryID>
      <CountryName>MAURITIUS</CountryName>
      <ISOCountryCodeTwoLetter>MU</ISOCountryCodeTwoLetter>
      <TaxRate>10</TaxRate>
    </TaxRateCountryModel>
  </TaxRateCountries>
</TaxClassModel>