Update a tax rate
Updates an existing tax rate.
Returns
The updated tax rate.
Parameters
active(boolean, optional) Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.country(string, optional) Two-letter country code (ISO 3166-1 alpha-2).description(string, optional) An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.display_name(string, optional) The display name of the tax rate, which will be shown to users.The maximum length is 50 characters.
jurisdiction(string, optional) The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.The maximum length is 50 characters.
metadata(object, optional) Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata.state(string, optional) ISO 3166-2 subdivision code, without country prefix. For example, “NY” for New York, United States.tax_type(enum, optional) The high-level tax type, such asvatorsales_tax. Possible enum values:admissions_taxAdmissions Taxamusement_taxAmusement Taxattendance_taxAttendance Taxcommunications_taxCommunications Taxentertainment_taxEntertainment Taxgross_receipts_taxGross Receipts TaxgstGoods and Services Taxhospitality_taxHospitality TaxhstHarmonized Sales TaxigstIntegrated Goods and Services TaxjctJapanese Consumption Taxlease_taxChicago Lease Taxluxury_taxLuxury TaxpstProvincial Sales TaxqstQuebec Sales Taxresort_taxResort Taxretail_delivery_feeRetail Delivery FeerstRetail Sales Taxsales_taxSales Taxservice_taxService Taxtourism_taxTourism TaxvatValue-Added Tax
curl
curl https://api.stripe.com/v1/tax_rates/{{TAX_RATE_ID}} \
-u "<<YOUR_SECRET_KEY>>" \
-d active=falseResponse
json
{
"id": "txr_1MzS4RLkdIwHu7ixwvpZ9c2i",
"object": "tax_rate",
"active": false,
"country": null,
"created": 1682114687,
"description": "VAT Germany",
"display_name": "VAT",
"effective_percentage": 16,
"inclusive": false,
"jurisdiction": "DE",
"livemode": false,
"metadata": {},
"percentage": 16,
"state": null,
"tax_type": null
}