> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/taxes/llms.txt)
> Source: https://docs.saleor.io/api-reference/taxes/queries/tax-classes

# taxClasses Query

List of tax classes.

Requires one of the following permissions: AUTHENTICATED\_STAFF\_USER AUTHENTICATED\_APP

```graphql
taxClasses(
  sortBy: TaxClassSortingInput
  filter: TaxClassFilterInput
  before: String
  after: String
  first: Int
  last: Int
): TaxClassCountableConnection
```

Details

```graphql
type TaxClassCountableConnection {
  pageInfo: PageInfo!
  edges: [TaxClassCountableEdge!]!
  totalCount: Int
}
```

<a id="arguments"></a>

### Arguments

<a id="sort-by"></a>

#### [`sortBy`](#sort-by) ● [`TaxClassSortingInput`](/api-reference/taxes/inputs/tax-class-sorting-input.md)

Sort tax classes.

<a id="filter"></a>

#### [`filter`](#filter) ● [`TaxClassFilterInput`](/api-reference/taxes/inputs/tax-class-filter-input.md)

Filtering options for tax classes.

<a id="before"></a>

#### [`before`](#before) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Return the elements in the list that come before the specified cursor.

<a id="after"></a>

#### [`after`](#after) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Return the elements in the list that come after the specified cursor.

<a id="first"></a>

#### [`first`](#first) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

<a id="last"></a>

#### [`last`](#last) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

<a id="type"></a>

### Type

<a id="taxclasscountableconnection"></a>

#### [`TaxClassCountableConnection`](/api-reference/taxes/objects/tax-class-countable-connection.md)
