Skip to main content

CreateTaxRateInput

A new tax rate.

input CreateTaxRateInput {
applicableProductCategories: [String!]
calculationMethod: TaxCalculationMethod!
city: String
code: String!
country: String!
description: String
exemptProductCategories: [String!]
isActive: Boolean!
isDefault: Boolean!
jurisdiction: TaxJurisdiction!
maximumAmount: Float
minimumAmount: Float
name: String!
postalCode: String
rate: Float!
state: String
type: TaxType!
validFrom: DateTime
validTo: DateTime
}

Fields​

CreateTaxRateInput.applicableProductCategories ● [String!] list scalar​

The product categories the tax applies to.

CreateTaxRateInput.calculationMethod ● TaxCalculationMethod! non-null enum​

How the tax is worked out against the price.

CreateTaxRateInput.city ● String scalar​

The city the tax applies in.

CreateTaxRateInput.code ● String! non-null scalar​

The code of the tax rate.

CreateTaxRateInput.country ● String! non-null scalar​

The country the tax applies in.

CreateTaxRateInput.description ● String scalar​

What the tax rate is for.

CreateTaxRateInput.exemptProductCategories ● [String!] list scalar​

The product categories the tax does not apply to.

CreateTaxRateInput.isActive ● Boolean! non-null scalar​

Whether the record is active.

CreateTaxRateInput.isDefault ● Boolean! non-null scalar​

Whether this is the default.

CreateTaxRateInput.jurisdiction ● TaxJurisdiction! non-null enum​

The level the tax applies at: federal, state, county, city or custom.

CreateTaxRateInput.maximumAmount ● Float scalar​

The largest amount the tax applies to.

CreateTaxRateInput.minimumAmount ● Float scalar​

The smallest amount the tax applies to.

CreateTaxRateInput.name ● String! non-null scalar​

The name of the tax rate.

CreateTaxRateInput.postalCode ● String scalar​

The postal code the tax applies in.

CreateTaxRateInput.rate ● Float! non-null scalar​

The rate, in percent.

CreateTaxRateInput.state ● String scalar​

The state or region the tax applies in.

CreateTaxRateInput.type ● TaxType! non-null enum​

The kind of tax.

CreateTaxRateInput.validFrom ● DateTime scalar​

When the tax starts to apply.

CreateTaxRateInput.validTo ● DateTime scalar​

When the tax stops applying.

Member Of​

createTaxRate mutation