Recently we developed three magento website for Canadian customers. During these magento development One of the challenge was to configure sales tax in magento specific to Canada. Tax system of magento is flexible enough where you can configure tax for Canada or any other country.
Some basics of Canadian Tax System
Before we go in details of setting up tax for Canada in magento, we should understand some basics of Canadian tax system. Below table shows how tax is structured in Canada.
|Canada’s Province||Provincial rate (HST, PST, QST)||GST||Total|
|British Columbia (BC)||7% PST||5%||12%|
|Newfoundland and Labrador||8% HST||5%||13%|
|Nova Scotia||10% HST||5%||15%|
|Prince Edward Island (PEI)||9% HST||5%||14%|
Four types of sales taxes exist in Canada. On top of all in Canadian GST that applies throughout the country and is taxed at 5%. Other than that Provincial Sales Taxes (PST) are collected in selected provinces as per the table above. Another tax is Harmonized Sales Tax collected by New-Brunswick, Newfoundland and Labrador, Nova Scotia, Ontario, Prince Edward Island Province at a varying rates as shown in above table. Quebec collect another tax named Quebec Sals Tax at a rate of 9.975%. Please note, these rates are like this at the time of writing this article. Actual rates should always be double checked with the relevant authorities.
Going into the actual tax configuration for Canada in Magento
As we got a fair understanding of the tax system, its time to start doing actual configuration. First of all we will create tax rates applied in various province of the country. Go to Sales > Tax > Manage Tax Zones and Rates. Click on Add New Tax Rate.
First of all we will add standard Canadian GST that applies to all Sales. Enter name of tax rate in the Tax Identifier field. This will appear on the customer invoice. Select Canada from country and * from states as this applies to all states. enter 5% in the Tax Rate field.
Repeat the same process for other tax rates but you need to select respective province because all other tax rates are province specific. Once you are done, we should have our all tax rates looking something like this –
Setting up Tax Rules
Once we have our rates entered, we will create a combined tax rule for each tax category. We have four category of tax and we will create these one by one. Go to Sales > Tax > Manage Tax Rules from your magento admin click Add New Tax Rule. Lets start with Canadian GST.
Enter name of Rule, I used Canadian GST as a name of my tax rule. Select relevant customer, and product tax class. From the Tax Rate selection choose only Canadian GST for this rule and set 1 for priority. So it looks like below in my magento –
Further we will create rest three tax rules the same way. For Provincial Sales Tax and Harmonized Sales Tax we need to choose all province wise applicable tax rates. So once completed it should looks like below –
One thing to note about priority of tax here. Magento add tax rates at same priority and calculate tax rates on the sub total after that. Tax rates having different priority are compounded which means magento will first calculate tax on the lowest priority number (1) first and add this to sub total. Tax rule with further priority will be applied on new sub total and it will keep on until there are tax rates available for further calculation. If any of these tax is calculated using compound method, we can change the priority based on that.
Configuration is the most important part of magento commerce and having the right configuration as per your store requirement is equally important. Here we are going through some of the tax related configuration in magento –
Showing Complete Tax Summary – By default magento only show single line for all tax applied everywhere. We might need to show the complete tax summary to the customer so he/she can check the details of all tax applied. To enable this option go to System > Configuration and from there choose Tax under Sales menu from left hand side. Change display full tax summary to Yes under Shopping Cart Display Settings.
Other Tax Settings – You may also want to check and change other tax settings available in System > Configuration, Sales menu from Left and Tax.
Hope this will help someone else looking to Configuring tax for Canada in magento.