---
title: "Update a tax rate"
method: POST
path: "/v1/tax_rates/{tax_rate}"
---

# Update a tax rate

`POST /v1/tax_rates/{tax_rate}`

## Request

- Base URL: `https://api.stripe.com`
- URL: `https://api.stripe.com/v1/tax_rates/{tax_rate}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

Updates an existing tax rate.

## Path parameters

- `tax_rate` string, required

## Request body `application/x-www-form-urlencoded`

- object
  - `active` boolean: 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: Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
  - `description` string: An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
  - `display_name` string: The display name of the tax rate, which will be shown to users.
  - `expand` string[]: Specifies which fields in the response should be expanded.
  - `jurisdiction` string: The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
  - `metadata` union: Set of [key-value pairs](https://docs.stripe.com/api/metadata) 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 to `metadata`.
    - object
    - ''
  - `state` string: [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States.
  - `tax_type` 'amusement_tax' | 'communications_tax' | 'digital_excise_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'utility_users_tax' | 'vat': The high-level tax type, such as `vat` or `sales_tax`.

## Response `200`

Successful response.

- TaxRate: Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax. Related guide: [Tax rates](/billing/taxes/tax-rates)
  - `active` boolean, required: Defaults to `true`. When set to `false`, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.
  - `country` string, nullable: Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
  - `created` integer, required: Time at which the object was created. Measured in seconds since the Unix epoch.
  - `description` string, nullable: An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.
  - `display_name` string, required: The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page.
  - `effective_percentage` number, nullable: Actual/effective tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage reflects the rate actually used to calculate tax based on the product's taxability and whether the user is registered to collect taxes in the corresponding jurisdiction.
  - `flat_amount` TaxRateFlatAmount: The amount of the tax rate when the `rate_type`` is `flat_amount`. Tax rates with `rate_type` `percentage` can vary based on the transaction, resulting in this field being `null`. This field exposes the amount and currency of the flat tax rate.
    - `amount` integer, required: Amount of the tax when the `rate_type` is `flat_amount`. This positive integer represents how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
    - `currency` string, required: Three-letter ISO currency code, in lowercase.
  - `id` string, required: Unique identifier for the object.
  - `inclusive` boolean, required: This specifies if the tax rate is inclusive or exclusive.
  - `jurisdiction` string, nullable: The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer’s invoice.
  - `jurisdiction_level` 'city' | 'country' | 'county' | 'district' | 'multiple' | 'state', nullable: The level of the jurisdiction that imposes this tax rate. Will be `null` for manually defined tax rates.
  - `livemode` boolean, required: If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
  - `metadata` object, nullable: Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
  - `object` 'tax_rate', required: String representing the object's type. Objects of the same type share the same value.
  - `percentage` number, required: Tax rate percentage out of 100. For tax calculations with automatic_tax[enabled]=true, this percentage includes the statutory tax rate of non-taxable jurisdictions.
  - `rate_type` 'flat_amount' | 'percentage', nullable: Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.
  - `state` string, nullable: [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, "NY" for New York, United States.
  - `tax_type` 'amusement_tax' | 'communications_tax' | 'digital_excise_tax' | 'gst' | 'hst' | 'igst' | 'jct' | 'lease_tax' | 'mass_transit_parking_tax' | 'parking_tax' | 'pst' | 'qst' | 'retail_delivery_fee' | 'rst' | 'sales_tax' | 'service_tax' | 'utility_users_tax' | 'vat', nullable: The high-level tax type, such as `vat` or `sales_tax`.

## Other responses

- `default`: Error response.

## Changes

> 56 revisions in range; 10 not diffed, 14 could not be searched.

- **2025-11-05** `c113b1939b8f`: 1 info
  - added the optional property `error/payment_intent/payment_method_options/anyOf[subschema #1: PaymentIntentPaymentMethodOptions]/card_present/anyOf[subschema #1: payment_method_options_card_present]/capture_method` to the response with the `default` status
- **2025-10-22** `7b8f614372ca`: 1 info
  - added the optional property `error/payment_intent/amount_details/anyOf[subschema #1: PaymentFlowsAmountDetails]/line_items/data/items/payment_method_options/anyOf[subschema #1: PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItemResourcePaymentMethodOptions]/klarna/subscription_reference` to the response with the `default` status
- **2025-08-19** `cd1ebd88f70f`: 2 info
  - added the optional property `error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/paynow/location` to the response with the `default` status
  - added the optional property `error/payment_intent/latest_charge/anyOf[subschema #2: Charge]/payment_method_details/anyOf[subschema #1: payment_method_details]/paynow/reader` to the response with the `default` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/stripe/apis/spec3/changes/v1/tax_rates/:tax_rate/post.md)

---

[API](https://skmtc.dev/stripe/apis/spec3.md) - [All operations](https://skmtc.dev/stripe/apis/spec3/llms.txt) - [OpenAPI document](https://skmtc.dev/stripe/apis/spec3/revisions/585b581504ae?raw)
