A tax rate is a percentage you add to invoices and subscriptions. You choose the rates and where they apply. What a rate charges and where can't change once it's created: create a new one and archive the old. Its name, type and description can be changed.
Attributes
| Name | Type | Description |
|---|---|---|
id | string | Unique identifier, starting txr_. |
object | string | Always tax_rate. |
livemode | boolean | true in live mode. |
display_name | string | Shown on receipts and invoices beside the tax. |
description | string or null | For your team. Customers never see it. |
percentage_ppm | integer | The rate in millionths: 88750 is 8.875%. Up to 4 decimals of a percent. |
inclusive | boolean | Whether your prices already include it. |
country | string or null | Where it applies; null for anywhere. |
state | string or null | A state or region code. |
jurisdiction | string or null | A name for the region on invoices, such as New York City. |
tax_type | enum | sales_tax, vat or gst. |
applies_to_shipping | boolean | Also charged on shipping. |
status | enum | active or archived. |
created | timestamp | When it was created. |
Example
Endpoints
| Endpoint | What it does |
|---|---|
POST /v1/tax_rates | Add a tax rate. |
GET /v1/tax_rates/{id} | Get a tax rate by its ID. |
POST /v1/tax_rates/{id} | Change a tax rate's name, type or description. |
POST /v1/tax_rates/{id}/archive | Stop a rate being added to anything new. |
GET /v1/tax_rates | List your tax rates, newest first. |