Skip to main content

tax

Retrieve tax information by various identifiers.

Returns tax configuration including rates, zones, and shop-specific settings. Can be queried by ID, tax code, zone, or shop identifier to find the appropriate tax rules.

Possible errors:

  • TAX_NOT_FOUND_ERROR: No tax configuration found for the specified criteria
  • TAX_GET_ERROR: Failed to retrieve tax information

AUTH: Role=[pricing.OWNER,pricing.EDITOR,pricing.VIEWER]

tax(
id: String
code: Taxcode
zone: String
shopId: Int
): Tax!

Arguments

tax.id ● String scalar

Unique identifier of the tax record.

UUID format representing a specific tax configuration.

tax.code ● Taxcode enum

Tax code classification.

Standard tax code used to categorize products for tax calculation purposes.

tax.zone ● String scalar

Geographic zone identifier.

Specific region or jurisdiction where the tax rules apply.

tax.shopId ● Int scalar

Shop identifier for shop-specific tax rules.

When specified, returns tax configuration specific to the shop's location and settings.

Type

Tax object