GST Invoices for Shopify & WooCommerce: Setup Guide
, 6 min read
Learn how to automate tax-compliant GST invoices on Shopify and WooCommerce stores in India with proper HSN codes, tax rates, and automatic PDF downloads.

Running an online store in India requires strict adherence to Goods and Services Tax (GST) rules. To issue tax-compliant invoices on Shopify or WooCommerce, you must display your GSTIN, automatically split taxes into CGST, SGST, or IGST based on the customer shipping location, show applicable HSN codes for each product, and allow buyers to input their GSTIN for B2B input tax credit.
While both platforms support custom tax calculations, neither Shopify nor WooCommerce generates tax-compliant Indian GST PDF invoices right out of the box without specific configurations or plugins. This guide details step-by-step how to structure tax rates, capture customer details, automate PDF downloads, and handle tax adjustments for returns.
Key Requirements for GST Invoices in India
Before configuring tax settings on your e-commerce website, you must understand what details a valid Indian tax invoice must contain under GST regulations. Missing required fields can lead to compliance penalties and prevent business customers from claiming input tax credit.
- Legal name, address, and GSTIN of your business prominently displayed on the header.
- Consecutive unique invoice number and the transaction date.
- Customer name, delivery address, and customer GSTIN for B2B orders.
- Harmonized System of Nomenclature (HSN) code for physical goods or SAC code for services.
- Itemized breakdown showing tax-exclusive price, rate of GST, and explicit tax amount divided into CGST and SGST for intra-state sales, or IGST for inter-state sales.
- Place of supply specifying the destination state to justify the tax type applied.
Configuring GST Rates on Shopify
Shopify handles basic country and regional tax rates natively, but requires precise configuration for Indian tax slabs. By default, Shopify prices can be set as tax-inclusive or tax-exclusive based on your retail strategy.
To configure tax rates in Shopify, navigate to Settings and select Taxes and Duties. Under the regional settings for India, set the default tax rate according to your primary product catalog, such as 18 percent. When a customer enters their shipping address during checkout, Shopify identifies whether the order is within your home state or across state borders.
For intra-state orders shipped within your home state, the tax is divided equally into 9 percent CGST and 9 percent SGST. For inter-state orders shipped to another state, the platform applies the full 18 percent as IGST. You must also assign custom tax overrides for product collections that fall under lower tax tiers, such as 5 percent or 12 percent.
Because standard Shopify email receipts lack detailed tax splits and HSN displays, store owners must install dedicated GST apps from the Shopify App Store. Popular options like Webkul GST Invoice or Express GST add HSN meta-fields to products and generate downloadable PDF invoices directly from the customer order confirmation page.
Configuring GST Rates on WooCommerce
WooCommerce provides fine-grained control over tax configurations without requiring monthly app subscription fees. If you chose WooCommerce when deciding between Shopify vs WooCommerce for selling online in India, you can handle complex tax structures natively.
Enable taxes in WooCommerce settings under the General tab, then navigate to the Tax tab. Choose whether catalog prices are entered inclusive or exclusive of tax. Under tax options, specify that tax calculations are based on the customer shipping address.
- Create standard tax classes for different GST tiers, such as GST 5, GST 12, GST 18, and GST 28.
- In the Standard Rates table, add rows for your home state specifying equal rates for CGST and SGST.
- Add additional rows with wildcard state rules to apply full IGST for all other Indian states.
- Assign HSN codes to individual products using custom product fields or attributes.
To print clean PDF receipts, install plugins like WooCommerce PDF Invoices & Packing Slips along with an Indian GST extension. These tools auto-generate sequential invoice numbers, format tax tables, and automatically attach PDF copies to customer purchase emails.
Capturing Customer GSTIN for B2B Transactions
Many e-commerce stores sell to both retail buyers (B2C) and corporate clients (B2B). Business customers require their company name and 15-digit GSTIN on the invoice to claim tax credits on their purchases.
On Shopify, you can capture business tax details by editing checkout fields or using cart attributes. Shopify Plus stores can use Checkout UI extensions to add conditional fields that appear only when a buyer checks a box marked Buying for Business. For standard Shopify plans, cart note fields or dedicated GST apps collect the GST number prior to final checkout.
On WooCommerce, custom fields can be inserted into the checkout block using lightweight plugins or custom code snippets. The custom field stores the customer GSTIN in the order meta data, prints it on the generated invoice, and includes it in your monthly sales report export.
Integrating Tax Invoices with Payment Gateways
Payment processors like Razorpay, Cashfree, and Paytm process payments for your store but do not issue store invoices to end customers. However, payment details, transaction IDs, and payment method choices must align with your store invoice records.
When customers pay using instant methods, as described in our guide on how to set up UPI payments on Shopify and WooCommerce, the online invoice can immediately mark the payment status as Paid along with the gateway reference number.
For Cash on Delivery (COD) orders, tax liability is triggered upon delivery and invoice issuance rather than cart checkout. Your store system should mark the GST invoice as Pending Payment until the courier partner confirms delivery and remittance.
Managing Returns, Cancellations, and Credit Notes
Product returns and order cancellations require tax reversals to maintain accurate accounting records. Under GST regulations, you cannot simply delete an issued invoice; you must issue a formal Credit Note.
- Issue a Credit Note linking directly to the original tax invoice number.
- Reflect the returned product value along with the exact CGST, SGST, or IGST amounts credited back.
- Sync return credit notes with your accounting software to adjust monthly GST return filings (GSTR-1 and GSTR-3B).
Automated GST invoicing tools on both Shopify and WooCommerce support one-click credit note generation when an order is marked as refunded in your administrative dashboard.
Syncing E-Commerce Sales with Accounting Software
Manually entering every website order into accounting software like Tally, Zoho Books, or Busy becomes unmanageable as your order volume grows. Integrating your online store with your accounting tool ensures seamless compliance.
Direct integration connectors push daily order summaries or individual tax invoices straight to your ledger. This ensures that sales revenues, collected taxes, shipping charges, and discount deductions are automatically mapped to correct ledger accounts without human calculation errors.
Frequently asked questions
Can I generate GST compliant invoices on Shopify without paid apps?
Shopify's default order notification emails include basic order amounts but lack required Indian GST formatting, such as itemized CGST/SGST breakdowns and HSN codes. Installing a dedicated third-party app or custom integration is necessary for full compliance.
How do Shopify and WooCommerce determine whether to charge IGST or CGST/SGST?
Both platforms compare the merchant origin state configured in store settings against the customer shipping state. If both states match, the system applies CGST and SGST. If the states differ, the system applies IGST.
Is HSN code mandatory on every e-commerce invoice in India?
Yes, Indian tax regulations mandate displaying HSN codes for goods and SAC codes for services. The required digit count (2, 4, or 8 digits) depends on your business turnover threshold as defined by tax laws.
Setting up tax compliance and smooth checkout workflows prevents accounting issues and earns customer trust. If you want a complete, tax-ready online store with payments and shipping configured, explore our e-commerce website development service or review our simple pricing packages.
Not sure what your website needs? Talk to us for a free call and a fixed written quote within 24 hours.
Want us to do this for you?
E-commerce: Shopify & WooCommerce, from ₹49,999
Online stores with Razorpay, UPI, shipping and GST invoices set up, ready to take orders.