> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ListTaxClassesWithTaxRates

> Returns a list of all tax classes and their calculated tax rates for the given parameters.



**query** `ListTaxClassesWithTaxRates(companyId: ID!, departureCountryIso: String!, taxReference: TaxDomainTaxReference, shipmentAddressVatId: String, shipmentAddressCountryIso: String, shipmentAddressState: String, billingAddressVatId: String, billingAddressCountryIso: String, billingAddressState: String, specialTaxTreatment: TaxDomainSpecialTaxTreatment, taxClasses: [ID]): [TaxClassWithTaxRate!]!`

## Arguments

**`companyId`**: `ID!` (required)

---

**`departureCountryIso`**: `String!` (required)

---

**`taxReference`**: `TaxDomainTaxReference`

---

**`shipmentAddressVatId`**: `String`

---

**`shipmentAddressCountryIso`**: `String`

---

**`shipmentAddressState`**: `String`

---

**`billingAddressVatId`**: `String`

---

**`billingAddressCountryIso`**: `String`

---

**`billingAddressState`**: `String`

---

**`specialTaxTreatment`**: `TaxDomainSpecialTaxTreatment`

---

**`taxClasses`**: `[ID]`

## Returns

`[TaxClassWithTaxRate!]!`

**`id`**: `ID!`

The unique identifier of the tax class.

---

**`name`**: `String!`

The name of the tax class

---

**`isStandard`**: `Boolean!`

Indicates if this tax class is the standard tax class

---

**`rate`**: `Decimal`

The tax rate in percent calculated for this tax class with the given parameters.

## Examples

```graphql Query
query ListTaxClassesWithTaxRates($companyId: ID!, $departureCountryIso: String!) {
  ListTaxClassesWithTaxRates(companyId: $companyId, departureCountryIso: $departureCountryIso) {
    id
    name
    isStandard
    rate
  }
}
```

```json Variables
{
  "companyId": "id",
  "departureCountryIso": "string"
}
```

```json Response
{
  "data": {
    "ListTaxClassesWithTaxRates": [
      {
        "id": "id",
        "name": "string",
        "isStandard": true,
        "rate": "value"
      }
    ]
  }
}
```
