The name appears on your customer’s invoice. Use a short label for the kind of tax, such as Sales Tax, VAT, or GST.
The code is your unique identifier for the rate. You pass this code, not the ID, whenever you link the rate to a customer or subscription.
The percentage_value is the percentage to collect, between 0 and 100. Pass it as a string, for example "8.25" for 8.25%.
The tax_rate_type is always percentage.
Optional properties:
The description stores notes for your own reference. Your customers do not see it.
The metadata object stores your own key-value pairs on the rate.
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.
A rate on its own collects nothing. It starts applying once you associate it with a customer or subscription, which is also where you decide whether it is inclusive or exclusive.
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.