Skip to main content

TaxConfigurationPerCountryInput Input Type

No description

input TaxConfigurationPerCountryInput {
countryCode: CountryCode!
chargeTaxes: Boolean!
taxCalculationStrategy: TaxCalculationStrategy
displayGrossPrices: Boolean!
taxAppId: String
useWeightedTaxForShipping: Boolean
}

Fields

TaxConfigurationPerCountryInput.countryCode ● CountryCode! non-null enum miscellaneous

Country in which this configuration applies.

TaxConfigurationPerCountryInput.chargeTaxes ● Boolean! non-null scalar miscellaneous

Determines whether taxes are charged in this country.

TaxConfigurationPerCountryInput.taxCalculationStrategy ● TaxCalculationStrategy enum taxes

A country-specific strategy to use for tax calculation. Taxes can be calculated either using user-defined flat rates or with a tax app. If not provided, use the value from the channel's tax configuration.

TaxConfigurationPerCountryInput.displayGrossPrices ● Boolean! non-null scalar miscellaneous

Determines whether displayed prices should include taxes for this country.

TaxConfigurationPerCountryInput.taxAppId ● String scalar miscellaneous

The tax app App.identifier that will be used to calculate the taxes for the given channel and country. If not provided, use the value from the channel's tax configuration.

Added in Saleor 3.19

TaxConfigurationPerCountryInput.useWeightedTaxForShipping ● Boolean scalar miscellaneous

Determines whether to use weighted tax for shipping. When set to true, the tax rate for shipping will be calculated based on the weighted average of tax rates from the order or checkout lines. Default value is False.Can be used only with taxCalculationStrategy set to FLAT_RATES.

Added in Saleor 3.21

Member Of

TaxConfigurationUpdateInput input