A tax rate is a reusable definition. You create it once with a unique code, then reference that code whenever you link it to a customer, subscription, or tenant.
Create a tax rate
Response
Request fields
The code field is immutable. Choose it carefully since it is the key used in
all association requests. To rename a code, create a new tax rate and migrate
your associations to it.
Create a fixed-amount tax rate
Use tax_rate_type: fixed when you need to add a flat fee to every invoice regardless of the subtotal, such as a regulatory levy.
List tax rates
Get a tax rate
Update a tax rate
You can update name, description, and metadata. The code and tax_rate_type fields are immutable.
Delete a tax rate
A tax rate can only be deleted if it has no active associations and no applied records on existing invoices. To stop applying a tax without losing audit history, delete the association instead of the rate.
Error: rate has active associations
Next step
Once you have a tax rate, apply it to a customer or subscription.