2 min read

How to configure GST in Magento 2?

GST(Goods and Service Tax) is the standard tax on products in India. It is categorised in 4 tax rates, 5%, 12%, 18% and 28%. There are also different tax rules for interstate and intrastate trade.

We’ll be configuring our Magento 2 store with GST tax rates based on our origin state. Origin state has a very important role here. If the customer is placing an order from the same state then the tax rules will be CGST and SGST but if the customer is placing an order from any other state then IGST will be charged.

Prerequisites: Latest version of Magento 2 where you get Indian states list at the time of checkout, if your Magento version is not having state’s list then you’ll require to have this module installed.

After installing this module you’ll be able to get state’s list after selecting India in the country list.

If you are having a state list visible then you’re ready to setup GST tax rates.

Now based on your origin state, you’ll require to set up the tax rates, I have already created the CSV files with all tax rates for each state.

You can get the CSV file from here


After downloading your respective CSV file, if you are from MP then you will use taxrates-MP.csv file.

Now we’ll create Tax Classes, Tax Rules, and Tax Rates.

Tax Classes:

To create tax class, you need to open tax rules link and select “Add New”.

In the Additional Settings tab, you’ll get the list of Tax Classes, here you create GST 5, GST 12, GST 18 and GST 28.

Tax Rates:

You’ll also get the import tax rates option in Add New Tax Rule window.

Upload the CSV file from above link and your tax rates are configured.

Tax Rules:

Now comes the tricky part, here we’ll create CGST, SGST and IGST tax rules for all tax slabs. CGST-5, SGST-5, IGST-5, CSGT-12 … IGST-28.

Select the respective tax rates in tax rules and then you are ready to assign your tax classes in products.

You can also configure the visibility of taxes in catalog price, cart and order from System Configuration.