{"id":102,"date":"2018-05-21T09:38:59","date_gmt":"2018-05-21T09:38:59","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2018\/05\/21\/apply-indian-gst-in-magento\/"},"modified":"2025-07-24T16:05:38","modified_gmt":"2025-07-24T10:35:38","slug":"apply-indian-gst-in-magento","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/apply-indian-gst-in-magento\/","title":{"rendered":"How to Apply Indian GST in Magento"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.gst.gov.in\/\" target=\"_blank\" rel=\"noreferrer noopener\">Goods and Service T<\/a><a href=\"https:\/\/www.gst.gov.in\/\" target=\"_blank\" rel=\"noreferrer noopener\">ax<\/a>&nbsp;is the largest tax reform in India. Introduced on July 01, 2017, it is compulsory for every business to follow the GST rules and Magento is no exception. Magento dominates E-commerce, and with the advent of GST in India, Magento store owners are looking for the ways to configure it in their stores. If you own a Magento store and are yet fumbling for GST implementation, you are at the right place. Read the tutorial to learn how to&nbsp;<em><strong>apply Indian GST in Magento<\/strong><\/em>&nbsp;with tax rules.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, the store owners need to find the GST rates under which their products fall. Refer&nbsp;<a href=\"https:\/\/www.taxmann.com\/research\/gst\" target=\"_blank\" rel=\"noreferrer noopener\">GST Rate Finder<\/a>&nbsp;to decide the GST rates of your products. Once this task is done, proceed with the given method below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, in the blog, consider the GST rate as 12% and business origin as Gujarat state to better understand the steps. Business origin play vital role in calculating CGST-SGST,&nbsp;or IGST.&nbsp;&nbsp;If the selling is performed Intra-state i.e Gujarat to Gujarat, CGST (69%) and SGST (6%) will be applied and equally divided to make GST. However, if the selling is performed Inter-State i.e states other than Gujarat, IGST (12%) will be applied.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let\u2019s dig into the steps to apply GST in Magento.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to apply Indian GST in Magento<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. First of all, navigate to&nbsp;<strong>Sales &gt; Tax &gt; Product Tax Classes<\/strong>&nbsp;and click&nbsp;<strong>Add New<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/1_Create-Product-Tax-Class-1024x144.png\" alt=\"1_Create-Product-Tax-Class\" class=\"wp-image-3033\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. Name the product tax class as GST to easily identify the tax class while creating tax rules and rates for all 3 SGST, CGST, and IGST.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/2_Set-Class-Name-1024x101.png\" alt=\"2_Set-Class-Name\" class=\"wp-image-3034\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. Before creating tax rates, follow this&nbsp;<a href=\"https:\/\/magento.stackexchange.com\/questions\/34259\/how-add-indian-state\" target=\"_blank\" rel=\"noreferrer noopener\">guide to install states script<\/a>&nbsp;to get auto state selection for Indian states. Now navigate to&nbsp;<strong>Sales &gt; Tax &gt; Manage Tax Zones &amp; Rates&nbsp;<\/strong>to create tax rates for CGST, SGST, and IGST. While creating tax rates, set 6% of rate and Gujarat as the business origin for both CGST and SGST. And for IGST, you have to create 28 rates of 12% IGST for all the states other than Gujarat to make GST work for all the states of India. Click save once all the rates have been created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/3_Create-Tax-Rate-1024x238.png\" alt=\"3_Create-Tax-Rate\" class=\"wp-image-3036\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. Once all the 3 tax rates are created, they can be seen enlisted under&nbsp;<strong>Sales &gt; Tax &gt; Manage Tax Zones &amp; Rates.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/4_Saved-Tax-Rates-1024x218.png\" alt=\"4_Saved-Tax-Rates\" class=\"wp-image-3037\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">5. Whenever the selling is performed intra-state, SGST and CGST are equally divided into two halves of the whole rate of the GST, i.e., 6% to make the complete 12%.<br>As per the government rule, sellers have to bifurcate CGST, SGST and IGST separately in order details and invoices for every single order. To split CGST-SGST equally into two, you have to custom code as below.<br>Go to&nbsp;<strong>app\/design\/frontend\/base\/default\/template\/tax\/checkout\/tax.phtml<\/strong>&nbsp;and find the blow code at line number 54.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php if ($isFirst): ?>\n                &lt;td &lt;?php echo $this->getValueProperties()?> rowspan=\" 1 &lt;?php echo count($rates); ?>\">\n                    &lt;?php echo $_order->formatPrice($amount); ?>\n                &lt;\/td>\n&lt;?php endif; ?><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace the above code with this to bifurcate CGST-SGST on cart and checkout page.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php \/\/if ($isFirst): ?>\n               &lt;td style=\"&lt;?php echo $_style ?>\" class=\"a-right\" rowspan=\"1 &lt;?php \/\/echo count($rates); ?>\">\n                   &lt;?php echo $this->helper('checkout')->formatPrice($amount \/ ($percent\/(float)$rate['percent'])); ?>\n               &lt;\/td>\n&lt;?php \/\/endif; ?><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">6. Now create tax rules from&nbsp;<strong>Sales &gt; Tax &gt; Manage Tax Rules&nbsp;<\/strong>for all the 3 CGST, SGST and IGST. Select product tax class as GST and tax rate for each of them respectively as created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/5_Create-Tax-Rule-1024x722.png\" alt=\"5_Create-Tax-Rule\" class=\"wp-image-3038\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">7. Once tax rules are created and saved, they can be seen enlisted under Sales &gt; Tax &gt; Manage Tax Rules.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/6_Saved-Tax-Rules-1024x188.png\" alt=\"6_Saved-Tax-Rules\" class=\"wp-image-3039\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">8. Enable the \u201c<strong>Display Full Tax Summary<\/strong>\u201d in&nbsp;<strong>System &gt; Configuration &gt; Sales &gt; Tax &gt; Shopping Cart Display Settings&nbsp;<\/strong>to show detailed tax summary with the bifurcation of CGST-SGST and IGST.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/7_Tax-Summary-1024x336.png\" alt=\"7_Tax-Summary\" class=\"wp-image-3040\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">9. To assign tax class as GST to all the&nbsp;products, simply go to&nbsp;<strong>Catalog &gt; Manage&nbsp;Products<\/strong>, select all the products, select&nbsp;<strong>Update Attributes<\/strong>&nbsp;from the&nbsp;<strong>Action<\/strong>&nbsp;drop-down, go to&nbsp;<strong>Tax Class<\/strong>, tick&nbsp;<strong>Change<\/strong>&nbsp;and set&nbsp;<strong>GST<\/strong>&nbsp;from the drop-down and save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/8_Update-Attributes-1024x181.png\" alt=\"8_Update-Attributes\" class=\"wp-image-3041\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">10. To test the above steps and proper implementation of GST in Magento, add a product to cart and select the country as India and state as Gujarat. You will see the SGST and CGST tax rate applied on order.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/9_SGST-CGST-Applied-on-Order-1024x544.png\" alt=\"9_SGST-CGST-Applied-on-Order\n\" class=\"wp-image-3042\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">11. To test the IGST, select a different state in the above step. The below image shows the calculation of IGST when Goa&nbsp;state is chosen.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/05\/10_IGST-applied-on-order-1024x521.png\" alt=\"10_IGST-applied-on-order\" class=\"wp-image-3043\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Follow all these steps to&nbsp;<em><strong>apply Indian GST in Magento<\/strong><\/em>! But to make it work for all the Indian states, you have to create 28 IGST tax rates which are really a tiresome task. Moreover, the process is more complicated if you have products which belong to multiple tax rate slabs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are not really ready to try your hands on creating these many tax rates and put yourself in trouble, No Worries :), you can have a look at our&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-gst-india.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento GST India<\/a>&nbsp;extension which is the ultimate module for auto calculation of Indian GST in your Magento store! Try our Free&nbsp;<a href=\"https:\/\/meetanshi.com\/gst-calculator\">GST Calculator<\/a>&nbsp;to calculate the GST rates more accurately in a precise way. Adding GST in Magento using this extension is as easy as ABC, just take a look at the features the extension serve and try the live demo to test before you buy!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let me know which of the choices you will prefer to Apply Indian GST in Magento. In either case, if you stuck somewhere, I\u2019ll be happy to help as always!  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Award 5 stars to my GST guide if found helpful!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Goods and Service Tax&nbsp;is the largest tax reform in India. Introduced on July 01, 2017, it is compulsory for every business to follow the GST&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"predecessor-version":[{"id":9410,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/102\/revisions\/9410"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}