TaxRate
A tax rate of the account, set on a product as taxRateId. A price of the product then charges
this tax. percentage and taxType never change: to change a rate, create a new one and set it on
the product. A rate is archived with active: false; tax rates are never deleted.
type TaxRate {
id: ID!
displayName: String!
percentage: Float!
taxType: String!
active: Boolean!
createdAt: AWSTimestamp!
updatedAt: AWSTimestamp
}
Fields
TaxRate.id ● ID! non-null scalar
Tax rate ID.
TaxRate.displayName ● String! non-null scalar
Name of the tax shown to the buyer (for example IVA), up to 50 characters.
TaxRate.percentage ● Float! non-null scalar
Rate in percent, from 0 to 100, with up to 4 decimals (for example 21).
TaxRate.taxType ● String! non-null scalar
Kind of tax: VAT, IGIC (Canary Islands) or IPSI (Ceuta and Melilla). More values may be added.
TaxRate.active ● Boolean! non-null scalar
Whether the tax rate is active. An archived rate cannot be set on a product. While a product still has it, the product cannot get new prices and its prices cannot start or switch a subscription.
TaxRate.createdAt ● AWSTimestamp! non-null scalar
Creation time. Measured in seconds since the Unix epoch.
TaxRate.updatedAt ● AWSTimestamp scalar
Last update time. Measured in seconds since the Unix epoch.
Returned By
createTaxRate mutation ● taxRate query ● updateTaxRate mutation
Member Of
TaxRatesConnection object