GET taxclasses

Returns a list of available Tax Classes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns a list of available Tax Classes

Collection of 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": 4,
    "TaxClassGuid": "2abb1a48-d9a9-430a-bf49-c4d7234ade76",
    "CreatedOn": "2017-04-19T00:00:00",
    "IsGlobal": false,
    "TaxRateCountries": [],
    "Name": "Tax Class 2",
    "TaxRate": 10.0
  },
  {
    "TaxClassID": 3,
    "TaxClassGuid": "513d162b-78e3-4047-a7d0-0ad5dbca8d89",
    "CreatedOn": "2017-04-20T00:00:00",
    "IsGlobal": true,
    "TaxRateCountries": [
      {
        "TaxRateCountryID": 2,
        "CountryName": "MAURITIUS",
        "ISOCountryCodeTwoLetter": "MU",
        "TaxRate": 10.0
      }
    ],
    "Name": "Global Tax",
    "TaxRate": 15.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfTaxClassModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TaxClassModel>
    <TaxClassID>4</TaxClassID>
    <Name>Tax Class 2</Name>
    <TaxRate>10</TaxRate>
    <TaxClassGuid>2abb1a48-d9a9-430a-bf49-c4d7234ade76</TaxClassGuid>
    <CreatedOn>2017-04-19T00:00:00</CreatedOn>
    <IsGlobal>false</IsGlobal>
    <TaxRateCountries />
  </TaxClassModel>
  <TaxClassModel>
    <TaxClassID>3</TaxClassID>
    <Name>Global Tax</Name>
    <TaxRate>15</TaxRate>
    <TaxClassGuid>513d162b-78e3-4047-a7d0-0ad5dbca8d89</TaxClassGuid>
    <CreatedOn>2017-04-20T00:00:00</CreatedOn>
    <IsGlobal>true</IsGlobal>
    <TaxRateCountries>
      <TaxRateCountryModel>
        <TaxRateCountryID>2</TaxRateCountryID>
        <CountryName>MAURITIUS</CountryName>
        <ISOCountryCodeTwoLetter>MU</ISOCountryCodeTwoLetter>
        <TaxRate>10</TaxRate>
      </TaxRateCountryModel>
    </TaxRateCountries>
  </TaxClassModel>
</ArrayOfTaxClassModel>