Tax rates
The tax_rate object
A tax rate is a percentage tax, such as VAT, that you apply to invoices, quotes, subscriptions and Checkout Sessions. It is either added on top of prices or already included in them.
Attributes
idstringRequiredUnique identifier for the object.
objectstringRequiredString naming the object's type.
livemodebooleanRequiredtruewhen the object exists in live mode,falsein test mode.createdtimestampRequiredTime the object was created, in Unix seconds.
updatedtimestampRequiredTime the object last changed, in Unix seconds.
activebooleanRequiredWhether the rate can be applied. An inactive rate is refused on new invoices.
descriptionstringRequiredDescription of the rate. Empty when none was given.
display_namestringRequiredName of the tax as shown on documents, for example
VAT.inclusivebooleanRequiredtruewhen the tax is already included in the prices it applies to,falsewhen it is added on top.percentagenumberRequiredTax rate in percent, for example
7for 7%.metadataobjectRequiredKey-value pairs for your own use, set when the rate is created. An update merges the
metadatait sends: each key is set, and a key sent as an empty string or null is removed.regionobjectRequiredNullableWhere the tax applies: country, state, jurisdiction and kind of tax. Null when none of them is set.
Show child attributes
region.countrystringRequiredTwo-letter ISO 3166-1 country code, for example
TH. Empty when not set.region.statestringRequiredState, province or region within the country. Empty when not set.
region.jurisdictionstringRequiredName of the tax jurisdiction, for rates that come from a provider account. Empty otherwise.
region.jurisdiction_levelstringRequiredLevel of the tax jurisdiction, for example
state, for rates that come from a provider account. Empty otherwise.region.tax_typestringRequiredKind of tax, for example
vat. Empty when not set.Show 13 possible values
amusement_taxAmusement tax.
communications_taxCommunications tax.
gstGoods and services tax.
hstHarmonized sales tax.
igstIntegrated goods and services tax.
jctJapanese consumption tax.
lease_taxLease tax.
pstProvincial sales tax.
qstQuebec sales tax.
rstRetail sales tax.
sales_taxSales tax.
service_taxService tax.
vatValue-added tax.
effective_percentagenumberRequiredNullablePercentage the payment provider actually applies, for rates that come from a provider account. Null for rates created through the API.
rate_typestringRequiredHow the provider charges the rate, for example
percentageorflat_amount, for rates that come from a provider account. Empty for rates created through the API.flat_amountintegerRequiredNullableFixed tax amount in the smallest unit of
flat_amount_currency, for flat-amount rates that come from a provider account. Null otherwise.flat_amount_currencystringRequiredCurrency of
flat_amount, in lowercase. Empty whenflat_amountis null.