Skip to main content

taxGroups

Requires an authenticated session.

Lists the organization's tax groups with their rates, optionally filtered and paged. Use taxGroupsCount for the total.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query TaxGroups {
taxGroups {
id
code
name
createdAt
calculationMethod
description
taxRates {
id
createdAt
taxGroupId
taxRateId
updatedAt
}
}
}

Response:

{
"data": {
"taxGroups": [
{
"id": "id",
"code": "string",
"name": "string",
"createdAt": "2025-01-15T00:00:00Z",
"calculationMethod": "string",
"description": "string",
"taxRates": [
{
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"taxGroupId": "string",
"taxRateId": "string",
"updatedAt": "2025-01-15T00:00:00Z"
}
]
}
]
}
}
taxGroups(
filters: TaxGroupFiltersInput
skip: Int
take: Int
): [TaxGroup!]!

Arguments​

taxGroups.filters ● TaxGroupFiltersInput input​

Optional filters: sort, search text and active status.

taxGroups.skip ● Int scalar​

How many tax groups to skip.

taxGroups.take ● Int scalar​

How many tax groups to return.

Type​

TaxGroup object​

A set of tax rates applied together.