Skip to main content

AppCreateTaxRateInput

A tax rate an app creates. The rate is a percentage as a decimal string. ARC decides where and when it applies.

input AppCreateTaxRateInput {
calculationMethod: TaxCalculationMethod!
city: String
code: String!
country: String!
description: String
isActive: Boolean
jurisdiction: TaxJurisdiction!
name: String!
postalCode: String
rate: String!
state: String
type: TaxType!
}

Fields​

AppCreateTaxRateInput.calculationMethod ● TaxCalculationMethod! non-null enum​

How the tax is worked out against the price.

AppCreateTaxRateInput.city ● String scalar​

The city the tax applies in. Empty applies in every city.

AppCreateTaxRateInput.code ● String! non-null scalar​

The code. No other tax rate in the organization may use it.

AppCreateTaxRateInput.country ● String! non-null scalar​

The country the tax applies in.

AppCreateTaxRateInput.description ● String scalar​

What the tax rate is for.

AppCreateTaxRateInput.isActive ● Boolean scalar​

False creates the rate switched off. Defaults to true.

AppCreateTaxRateInput.jurisdiction ● TaxJurisdiction! non-null enum​

The level the tax applies at.

AppCreateTaxRateInput.name ● String! non-null scalar​

The name staff see in the console.

AppCreateTaxRateInput.postalCode ● String scalar​

The postal code the tax applies in. Empty applies in every postal code.

AppCreateTaxRateInput.rate ● String! non-null scalar​

The rate in percent, as a decimal string from 0 to 100 with at most 4 decimals, for example "6.25".

AppCreateTaxRateInput.state ● String scalar​

The state or region the tax applies in. Empty applies in the whole country.

AppCreateTaxRateInput.type ● TaxType! non-null enum​

The kind of tax.

Member Of​

appCreateTaxRate mutation