Beta API Versions
API versions labelled as Beta are not subject to our standard versioning policy. As such, they may undergo small breaking changes until they are transitioned to the stable version. We encourage you to exercise caution when using Beta API versions and take the necessary steps to ensure a smooth integration into your applications
Accounting service providers are usually pre-configured with a set of tax rates available in the business' country of operations. A business can modify those tax rates accordingly as well. This makes it easier to apply rates without having to remember them.
Some tax rates are a result of multiple sub-taxes. Railz refers to those as components. For example, a Canadian business in British Colombia is charged a tax rate called "GST/PST tax (12%)" that has two components:
- A GST tax of 5%.
- A PST tax of 7%
|string||Identifier for the tax rate, unique for the business in the accounting service.|
|name||string||Name of the tax rate.|
|string||Reference code of the tax rate.|
|decimal||See Effective tax rates.|
|decimal||Total (not compounded) sum of the components of a tax rate.|
|components||array||An array of tax components.|
|Date the record was last changed in the accounting system.|
|string||The Id of the component.|
|boolean||Specifies whether the tax rate can be associated with purchases.|
|boolean||Specifies whether the tax rate can be associated with sales.|
|boolean||Specifies whether the tax rate is compound or not.|
See effective tax rates.
If a tax rate has multiple components, the total tax is calculated based on the sum-product of each rate and the original amount. Alternatively, one can calculate the tax based on the subtotal of the original amount plus another tax, also known as compounding. When compounding is used, the effective tax rate is the rate that, if applied to the original amount, would result in the total amount of the tax with compounding.
Compounded Tax Rate Example
A sales tax has two components that have a rate of 5% and 7%, and one component is a compound. Assuming an invoice with a total amount of $100, the effective rate can be calculated as follows:
- GST (5%) = $5
- Subtotal with GST = $105
- PST (7%) = $7.35
- Total = 112.35
In this case, there is a total tax rate of 12% but an effective tax rate of 12.35%.
For QuickBooks Online, the effective and total rates are the same because the total tax rate is a sum of the component rates.
Data types that reference a tax rate, for example, invoice and bills, use a taxRateRef that includes the
name of the linked tax rate.
Using Tax Rate Reference in Push
For convenience, when pushing data
taxeRefcan be used alone with the
idas a value instead of nesting it within.
When pushing to Xero, use
codeas a value.