GST Invoicing for Online Stores in India: Rules, HSN Codes and Automation
Figure 1.1: Automated GST invoicing engine, place of supply determination, and B2B Input Tax Credit architecture.

Statutory Advisory Disclaimer

This article provides operational and educational guidance regarding Indian GST rules based on published regulations by the Central Board of Indirect Taxes and Customs (CBIC) and the GST Council. CartLyte is an ecommerce technology platform, not a certified accounting firm. Merchants remain legally responsible for their own tax configurations, rate selections, and consulting with a qualified Chartered Accountant (CA) or tax professional for statutory advisory.

1. GSTIN Registration Basics for Indian Online Sellers

Under the Central Goods and Services Tax (CGST) Act, 2017, the rules governing online sellers differ markedly from traditional brick-and-mortar retailers:

  • Inter-State Supply: Section 24 of the CGST Act mandates that any supplier making inter-state taxable supplies (e.g. shipping a product from a warehouse in Karnataka to a buyer in Maharashtra) is required to obtain mandatory GST registration, irrespective of aggregate annual turnover.
  • Intra-State Composition / Notification Limits: While recent GST Council notifications have relaxed certain thresholds for micro-merchants conducting strictly intra-state supplies within a single state through ecommerce operators, virtually every brand selling nationwide online requires a valid 15-character Goods and Services Tax Identification Number (GSTIN).

Your 15-character GSTIN encodes critical information: the first two digits represent the State Code (e.g., 29 for Karnataka, 27 for Maharashtra, 07 for Delhi), followed by the business PAN, entity number, and check digits.

2. Understanding HSN Codes for Ecommerce Catalogs

The Harmonized System of Nomenclature (HSN) is an internationally standardized system of names and numbers to classify traded products. The CBIC mandates that tax invoices issued by registered businesses must specify HSN codes:

  • Turnover up to ₹5 Crores: Minimum 4-digit HSN code required on B2B invoices.
  • Turnover above ₹5 Crores: Mandatory 6-digit HSN code on all B2B and B2C tax invoices.
  • Import / Export & Specialized Chemical/Pharma: 8-digit HSN code required.

For example:

Product Category Illustrative HSN Code Typical GST Slab
Cotton Men's Shirts (Readymade Garments) HSN 6205 5% or 12% (based on sale value threshold)
Packaged Organic Green Tea HSN 0902 5%
Ayurvedic Herbal Skincare Serum HSN 3304 18%
Leather Footwear HSN 6403 12% or 18% (based on MRP/value)
Wireless Bluetooth Earbuds HSN 8518 18%

Your ecommerce software must allow you to assign an HSN code to each product SKU in your catalog, ensuring that when an order is placed, the generated invoice reflects the correct tax classification.

3. Tax Segregation: Intra-State vs. Inter-State Determination

A core complexity of the Indian GST system is that the tax components applied to an invoice depend strictly on the relationship between two geographical locations:

  1. Location of the Supplier: The physical warehouse or registered place of business from which goods are dispatched.
  2. Place of Supply (POS): The delivery address of the customer / recipient.

Based on this relationship, the tax engine must segregate taxes into one of two modes:

Case A: Intra-State Sale (Same State) → CGST + SGST

When your fulfillment warehouse and the customer's delivery address are located in the same state (e.g. Bangalore warehouse → Bangalore customer):
• The tax is divided equally into Central GST (CGST) and State GST (SGST).
• Example: On an 18% tax item with a taxable value of ₹1,000, the invoice shows 9% CGST (₹90) + 9% SGST (₹90) = Total ₹1,180.

Case B: Inter-State Sale (Different States) → IGST

When your fulfillment warehouse and customer are in different states (e.g. Bangalore warehouse → Mumbai customer):
• The tax is levied as a single Integrated GST (IGST) amount credited to the Central Government and apportioned to the destination state.
• Example: On an 18% tax item with a taxable value of ₹1,000, the invoice shows 18% IGST (₹180) = Total ₹1,180.

4. B2B Invoices vs. B2C Consumer Receipts

Online merchants selling across both retail and trade channels must issue two distinct types of invoices:

  • B2C Retail Invoice (Consumer Supply): Issued to unregistered end consumers. While the invoice must show HSN codes, taxable subtotal, and tax breakdowns, the customer cannot claim tax credits.
  • B2B Tax Invoice (Trade Supply): Issued when a registered business, dealer, or corporate customer purchases goods for business use. The invoice must state the customer's 15-character GSTIN, legal registered trade name, and Place of Supply.

If your ecommerce checkout fails to capture the buyer's GSTIN, or prints an informal receipt without tax segregation, your corporate and wholesale clients will not be able to claim their Input Tax Credit (ITC) on monthly GSTR-3B filings. This frequently leads to canceled corporate orders and strained trade relationships.

5. Common GST Invoicing Mistakes Made by Online Brands

Through our audits of hundreds of growing Indian merchants, we regularly observe four costly compliance errors:

  1. Applying Flat Tax without State Logic: Using simple international checkout software that labels everything as "Tax" or "VAT" without splitting CGST/SGST vs IGST based on the customer's PIN code and state.
  2. Omitting Shipping Charges from the Tax Base: In India, courier and shipping fees charged to the customer are considered part of a composite supply and attract the same GST rate as the principal goods.
  3. Non-Sequential Invoice Numbering: Rule 46 of the CGST Rules mandates that tax invoices must contain a consecutive serial number unique for a financial year (e.g. INV-2026-0001). Random UUIDs or gap-filled invoice numbers violate audit requirements.
  4. Relying on Manual Spreadsheets: Exporting daily order CSVs and manually typing invoices in Tally or Excel introduces clerical errors, delayed dispatch times, and discrepancy headaches during quarterly GST reconciliations.

6. How CartLyte Automates GST Invoicing Out of the Box

While legacy international platforms like Shopify require merchants to install paid third-party App Store plugins costing $10 to $49/month to generate Indian GST invoices (read our CartLyte vs Shopify India comparison), CartLyte includes a native, automated GST tax engine across all plans.

CartLyte's tax engine handles compliance automatically:

  • Automatic State Determination: When a customer enters their 6-digit postal PIN code and delivery state, CartLyte dynamically evaluates whether the transaction is intra-state (applying CGST + SGST) or inter-state (applying IGST).
  • Per-SKU HSN Code Tax Slabs: You assign HSN codes and applicable tax slabs (0%, 5%, 12%, 18%, 28%) in your product catalog once. The system applies them to variant line items, discounts, and packaging fees.
  • B2B Buyer GSTIN Checkout Field: Wholesale buyers can check a "Buying for Business?" toggle at checkout, enter their registered trade name and 15-digit GSTIN, and receive an authentic B2B Tax Invoice eligible for Input Tax Credit.
  • Instant PDF Generation: The moment payment is verified, an official, serialized PDF invoice is generated on the server and made available for instant download in the customer's account, on the order status page, and via automated WhatsApp dispatch notifications.

Conclusion & Checklist for Merchants

Automating GST invoicing protects your ecommerce business from punitive tax notices, saves dozens of hours of manual bookkeeping every month, and establishes professional credibility with wholesale buyers.

Ensure your store settings configure:

  1. Your primary registered business address and 15-character GSTIN.
  2. Accurate HSN codes assigned across all catalog products.
  3. Automated invoice sequencing configured for the current fiscal year.

To experience built-in Indian tax automation with 0% platform commission, explore our features or start your 7-day free trial on CartLyte today.