Magento 2 GST India

 

Magento 2 GST India Extension helps you make your Magento 2 store GST ready according to the Indian Government tax rules and Regulations. It auto calculates and applies GST to your Magento 2 store product purchases.

 

Table of Content

  1. Extension Installation Guide
  2. General Configuration
  3. Configuration
  4. Shipping GST Settings
  5. Category Specific GST
  6. Product Specific GST
  7. GST India in Frontend
  8. GST in Order View Backend
  9. GST in Order Email
  10. GST in Admin Orders
  11. GST Orders Report

 

  1. Extension Installation
    • For Magento Marketplace Customers
      • Find the Composer name and version of the extension in the extension’s composer.json file.
      • Login to your SSH and run:
        • composer require meetanshi/magento-2-indian-gst --ignore-platform-reqs
      • Enter your authentication keys. Your public key is your username; your private key is your password.
      • Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.
      • To verify that the extension installed properly, run the command:
        • php bin/magento module:status Meetanshi_IndianGst --ignore-platform-reqs
            • By default, the extension is probably disabled.
            • Enable the extension and clear static view files:
        • php bin/magento module:enable Meetanshi_IndianGst --clear-static-content
        • php bin/magento setup:upgrade
        • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
        • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
        • php bin/magento cache:flush
    • For Meetanshi Customers
      • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
      • Login to your SSH and run below commands step by step:
        • php bin/magento setup:upgrade
        • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
        • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
        • php bin/magento cache:flush

Note: If you are using Magento 2.2.4 or below versions, you have to follow below steps:

Go to Magento_Root\vendor\temando\module-shipping-m2\etc\events.xml

Find the following code:

<event name="sales_quote_address_save_after">

       <observer name="temando_persist_checkout_fields" instance="Temando\Shipping\Observer\SaveCheckoutFieldsObserver"/>

   </event>

Replace With:

<!--<event name="sales_quote_address_save_after">

       <observer name="temando_persist_checkout_fields" instance="Temando\Shipping\Observer\SaveCheckoutFieldsObserver"/>

   </event>-->

 

  1. General Configuration
    Before enabling and configuring the extension, make sure to make settings as below in your Magento 2 store.
  • Indian GST Extension For Magento 2 does not have any concern with default Magento 2 tax class but to avoid charging both the default tax and GST, you need to replace the product tax class from Catalog > Products > Edit a Product and under the "Tax Class" option, replace "Taxable Goods" or any other tax classes to "None".

 


 

  • Go to Stores > Configuration > General > General > Country Options and make sure you have set Default Country as India to make this extension work for GST India.


  

  • Go to Stores > Configuration > Sales > Tax > Default Tax Destination Calculation and set Default Country as India and State as *.


 

  •   Go to Stores > Configuration > Sales > Tax > Tax Classes and set "None" to both the "Tax Class for Shipping and "Default Tax Class for Product".  Also, under the "Calculation Settings", make sure to check the "Use System Value" checkbox for the "Catalog Prices" and "Shipping Prices".




     
  • Go to Stores > Configuration > Sales > Tax > Calculation Settings, make sure to select one of the options from “Shipping Address” or Billing Address”.  GST will be calculated and charged according to the shipping address or billing address option selected here.

 

  • Go to Stores > Configuration > Sales > Tax > Tax Classes and under the "Shopping Cart Display Settings" and "Orders, Invoices, Credit Memos Display Settings", select one of the options to “Display Subtotal” field on how you want to display the subtotal in the shopping cart and in the orders, invoices and credit memos.
  • Make sure to check the "Use System Value" checkbox for all the other options.


 

 

  1. Configuration
    For configuring the extension, login to Magento 2, move to Stores > Configuration where you can find various settings to enable the extension.
  • GST India: Enable or disable the extension from here.
  • Allow Buyers Adding GSTIN: Set YES to allow buyers to add their GSTIN for making the purchase and show GSTIN in order invoices, PDF and other order related documents.

Note: To display Buyer GSTIN in order view, invoice, order Email, PDF and credit memo, you have to paste below code at Stores > Configuration > Customers > Customer Configuration > Address Templates > both in HTML and PDF.

{{depend buyer_gst_number}}Buyer GSTIN: {{var buyer_gst_number}}{{/depend}}

  • GSTIN: Add your business GSTIN to include and display in all order related documents.
  • CIN: Add your business CIN to include and display in all order related documents.
  • PAN Number: Add your business PAN number to include and display in all order related documents.
  • GST Rate: Set GST rate for your Magento 2 store products. This is the rate in percentage will be applied to product purchases.  
  • Minimum Product Price to Apply GST Above GST Rate: Set minimum product price amount to apply above GST rate. If the product price goes below the set price here, the above GST rate will not be applied to product purchases.
  • GST Rate to Apply on Products Below Minimum Set Price: Set GST rate to apply on product purchases if product prices are below the set minimum price above.
  • Business Origin: Indian GST gets auto calculated based on business origin state and destination state. The business origin state here is the one from you’re doing business. If the purchase in performed under same states (intra state), GST will be equally divided into SGST and CGST. If purchase in made between 2 different states of India (Inter state), IGST will be applied on purchases. If purchase is made in the same union territories of India, GST will be equally divided into UTGST + CGST and for the purchase made between 2 different union territories, IGST will be applied.
  • Show Product Prices in Catalog: This is the setting which decides how GST is calculated on products and how product prices are shown in Magento 2 stores.
    • Inclusive of GST: Which means, GST is already included in product prices and in order details, it will only be bifurcated and not added to subtotal as it’s already included.
    • Exclusive of GST: Which means, product prices do not include GST and thus it will be bifurcated and added separately in order subtotal.
  • Upload Signature Image to Show in PDF: Browse and upload the signature image to add a digital signature in invoice PDFs.
  • Signature Line to Show in Invoice PDF: Just after the digital signature, there is always a text or line representing the business name or representative name. This text content will be shown after signature in invoice PDF.


  

  1. Shipping GST Settings
    According to Indian standards and norms, apart from product purchases, GST has to be added also on shipping services. Here, you can find settings for applying GST on shipping. Note that, GST rate for shipping will be the same you have set for products in the configuration section.
  • GST on Shipping Charges: Enable or disable GST on shipping services from here.
  • Calculate Shipping Prices: Just as product prices, shipping prices can be inclusive and exclusive of GST. Set them as per your business requirements.


  

 

  1. Category Specific GST
    It is possible that in your store, you have some categories with products only on which you want to apply GST rates or you have categories having different GST rate-based products. These settings will override global settings & will be applied on the product purchase of this category.  Go to Catalog > Categories, select category for which you want to set GST rate, click on GST India – Meetanshi tab and set rate and other GST settings.
  • GST Rate: Set GST rate specifically for products under this category.
  • Minimum Product Price to Apply GST Above GST Rate: Set minimum product price amount to apply above GST rate on products under this category.
  • GST Rate to Apply on Products Below Minimum Set Price: Set GST rate to apply on product purchases if product prices of this category are below the set minimum price above.


  

  1. Product Specific GST
    Sometimes, products in your store are such an isolated that need to be applied unique GST rate. The extension facilitates to set GST rate specifically for products. Simply go to Catalog > Products, select a product for which you want to set GST rate, click on GST India – Meetanshi tab and set HSN code of your product and set rate and other GST settings.

  

 

  1. GST India in Frontend
    Once you have configured the extension successfully, when users add products to cart and select the shipping method, GST will be seen applied on orders. Here, based on business origin, interstate or intrastate GST will be applied on the purchase.
  • Intrastate GST applied on order


 

  • Interstate GST applied on order


 

  • Inter Union Territory GST Applied on Order

  • GST in My Account
    Once the order is placed, order details with GST can be seen in “My Orders” tab under the customer’s My Account section.


  

 

  1. GST in Order View Backend
    Once the order is placed successfully, GST calculations can be seen under Sales > Orders > Order View section in the backed.


 

  • GST in Order invoice


 

  • GST in Order Invoice PDF


 

  • GST in Credit Memo


 

  1. GST in Order Email
    Just as the other order documents, GST details can be seen in order confirmation Email sent to the customers.

  

  1. GST in Admin Orders
    The extension also works with backend orders. Go to Sales > Orders and Create New Order, select the products, add a shipping address and you can see GST applied even in the order created from the backend. GST will be displayed in all the order related documents same as it works for the orders placed from the frontend.


  

  1. GST Orders Report
    The extension facilitates with a separate report under Sales > GST Report > GST Orders Report having details of all GST orders, customers, applied GST values and many other information. You can filter the report based on order date range, CGST – UTGST – SGST – IGST percentage, amount and many other filters as per your need. Also, you can export GST orders report in CSV format.