Skip to main content

TaxCalculationInput

An amount to work tax out on.

input TaxCalculationInput {
baseAmount: Float!
city: String
country: String
currency: String
postalCode: String
productCategories: [String!]
state: String
taxGroupId: String
taxRateIds: [String!]
}

Fields​

TaxCalculationInput.baseAmount ● Float! non-null scalar​

The amount before tax.

TaxCalculationInput.city ● String scalar​

The city of the sale.

TaxCalculationInput.country ● String scalar​

The country of the sale.

TaxCalculationInput.currency ● String scalar​

ISO 4217 currency code.

TaxCalculationInput.postalCode ● String scalar​

The postal code of the sale.

TaxCalculationInput.productCategories ● [String!] list scalar​

The product categories of the sale.

TaxCalculationInput.state ● String scalar​

The state or region of the sale.

TaxCalculationInput.taxGroupId ● String scalar​

The ID of the tax group.

TaxCalculationInput.taxRateIds ● [String!] list scalar​

The IDs of the tax rates to apply.

Member Of​

calculateTax mutation