Skip to main content

taxCreate

Create a new tax configuration in the system.

Establishes a new tax rule with rates, zones, and shop associations. The combination of shopId, tax code, and zone must be unique to prevent conflicts in tax calculations.

Possible errors:

  • TAX_CREATE_ERROR: Failed to create the tax configuration
  • TAX_ALREADY_EXISTS_ERROR: Tax configuration with the same shopId, code, and zone already exists

AUTH: Role=[pricing.OWNER]

taxCreate(
input: TaxCreateInput!
): Tax!

Arguments

taxCreate.input ● TaxCreateInput! non-null input

Tax configuration data including rates, zones, and shop associations.

The combination of shopId, tax code, and zone must be unique across the system to ensure proper tax calculation.

Type

Tax object