Skip to main content

taxRate

Requires an authenticated session.

Returns one tax rate. Fails if it does not exist.

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 TaxRate($id: ID!) {
taxRate(id: $id) {
id
code
postalCode
name
groupName
type
}
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"taxRate": {
"id": "id",
"code": "string",
"postalCode": "string",
"name": "string",
"groupName": "string",
"type": "string"
}
}
}
taxRate(
id: ID!
): TaxRate!

Arguments​

taxRate.id ● ID! non-null scalar​

The ID of the tax rate.

Type​

TaxRate object​

A tax rate.