Skip to main content

taxCreate

Create a new tax configuration in the system.

Establishes a new tax rule with rates and zones. The combination of 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 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 and zones.

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

Type

Tax object