I just pulled a bunch of tax rates and noticed CA_GST_PST_BC_5 seems to be wrong. It displays as "GST & PST 25.00%", but its percentage is 26.
Reason being, contrary to the 4 other GST_PST_BC tax rates, its GST component tax rate is "CA_GST_1", which is a hidden tax rate displayed as "GST 5.00%" but its percentage is 6. This makes CA_GST_PST_BC_5 have a percentage of 26 instead of 25. After checking, this is a tax for vapour products, which is 20% PST and 5% GST, so it definitely seems off.
Here's the JSON from the /tax_rates API:
{
"id": "CA_GST_PST_BC_5",
"displayed_as": "GST & PST 25.00%",
"$path": "/tax_rates/CA_GST_PST_BC_5",
"percentage": "26.0",
"is_combined_rate": true,
"component_tax_rates": [
{
"id": "CA_GST_1",
"displayed_as": "GST 5.00%",
"$path": "/tax_rates/CA_GST_1",
"created_at": "2020-01-15T09:18:51Z",
"updated_at": "2020-01-15T09:18:51Z",
"name": "GST_1",
"agency": null,
"percentage": "6.0",
"percentages": [
{
"percentage": "6.0",
"from_date": "2020-01-01",
"to_date": null
}
],
"is_visible": false,
"retailer": false,
"editable": false,
"deletable": false,
"is_combined_rate": false
},
{
"id": "CA_PST_BC_5",
"displayed_as": "PST 20.00%",
"$path": "/tax_rates/CA_PST_BC_5",
"created_at": "2020-01-15T09:18:51Z",
"updated_at": "2020-01-15T09:18:51Z",
"name": "PST_BC_5",
"agency": null,
"percentage": "20.0",
"percentages": [
{
"percentage": "20.0",
"from_date": "2020-01-01",
"to_date": null
}
],
"is_visible": true,
"retailer": false,
"editable": false,
"deletable": false,
"is_combined_rate": false
}
]
}