Billoxy
Back to Knowledge Base
GST & Compliance

What is an HSN code in GST billing?

An HSN code classifies goods under GST. See its full form, the 4/6/8-digit structure, how many digits your invoice needs by turnover, and common headings.

An HSN code is the number GST uses to classify goods. HSN stands for Harmonised System of Nomenclature, the international product classification of the World Customs Organization. In India the code has 4, 6 or 8 digits. You print it on each line of a GST tax invoice and report it in the HSN summary of GSTR-1. Services use a different code, the SAC.

Updated 17 October 2026. This is an explainer for Indian MSMEs, not tax advice. If you are not sure which code fits a product, confirm it with your chartered accountant.

What is the full form of HSN?

HSN is short for Harmonised System of Nomenclature (often spelt "Harmonized"). The World Customs Organization maintains the Harmonized System, and more than 200 countries use it for customs. India uses the same system in its Customs Tariff and adopted it for GST, so the same product carries the same base code across the world.

How is an HSN code structured?

Each pair of digits adds detail. The first six digits are international. India adds two more digits for its own tariff lines.

DigitsLevelExampleWhat it means
2Chapter10Cereals
4Heading1006Rice
6Sub-heading6 digits under 1006A type of rice in the international list
8Tariff item (India)8 digits under 1006The exact Indian tariff line

So a 4-digit code names the product family, and the 8-digit code names the exact item in India's tariff.

How many digits of HSN must I show on a GST invoice?

It depends on your aggregate turnover in the previous financial year. Notification No. 78/2020-Central Tax sets the rule from 1 April 2021:

Aggregate turnover in the previous financial yearHSN digits on a tax invoice
Up to ₹5 crore4 digits
More than ₹5 crore6 digits

If your turnover is up to ₹5 crore, the 4-digit code is mandatory on invoices to registered buyers (B2B). The notification lets you leave it out on tax invoices to unregistered buyers (B2C). Businesses above ₹5 crore show 6 digits on all tax invoices. You may always show more digits than the minimum.

What is the difference between HSN and SAC codes?

HSN codeSAC code
Used forGoodsServices
Full formHarmonised System of NomenclatureServices Accounting Code
Where the list comes fromCustoms Tariff (the international HS system)Scheme of Classification of Services
Length used in GST4, 6 or 8 digits4 or 6 digits, always starting with 99

GST forms often say "HSN" for both. When a form asks for the HSN of a service, it means the SAC. For services, read what is SAC code in GST?

Common HSN headings for small businesses

These 4-digit headings come from the Harmonized System. They are examples to help you find the right chapter, not a recommendation for your products. Check the 6- and 8-digit lines under the heading before you use a code, and check the GST rate notified for that code.

Shop or businessTypical goodsHSN heading
Grocery or kiranaRice1006
Grocery or kiranaCane or beet sugar1701
Grocery or kiranaCoffee0901
Pharmacy or medical storeMedicaments in measured doses or packed for retail sale3004
Mobile phone shopTelephone sets, including smartphones8517
Computer shopComputers (automatic data processing machines)8471
Garment shopT-shirts and vests, knitted6109
Jewellery shopArticles of jewellery7113
General storeSoap3401

Where do I use the HSN code?

  • On the tax invoice. Rule 46 of the CGST Rules lists the particulars of a tax invoice, and Notification 78/2020-CT sets the HSN digits. Show the code on every line for goods. See the mandatory fields in a GST invoice.
  • In GSTR-1, Table 12 (HSN summary). Your outward supplies are summarised by HSN and SAC code, with the same 4- or 6-digit rule by turnover. The table has separate B2B and B2C tabs, and codes are picked from the GST portal's list.
  • On e-way bills and e-invoices, which also carry the HSN code of the goods.

The code on your invoices and the code in your GSTR-1 should match. If one product appears under two codes, your HSN summary will not reconcile.

How do I find the right HSN code for my product?

  1. Start from the product, not from your shop type. A pharmacy may sell medicines, cosmetics and devices, and each can sit in a different chapter.
  2. Find the chapter and the 4-digit heading that describe the product.
  3. Search the GST portal. The portal's HSN/SAC search lets you search by code or description and shows the rate.
  4. Read the 6- and 8-digit lines under the heading and pick the one that fits the product.
  5. Check the GST rate notified for that code. Rates changed for many goods in the September 2025 reform; see GST 2.0 for Indian MSMEs.
  6. Use the code consistently on every invoice and in GSTR-1, and ask your CA when two headings seem to fit.

Common HSN code mistakes

  • Using an HSN code for a service, or a SAC for goods. Repairs, rentals and transport are services.
  • Printing 4 digits when your turnover is above ₹5 crore. The previous year's turnover decides the digits for the current year.
  • Picking the code from the shop type instead of the product.
  • Copying a code without checking the rate. The code decides which rate notification applies, so a wrong code can mean a wrong rate.
  • Different codes for the same item on invoices and in GSTR-1.

How does Billoxy handle HSN codes?

In Billoxy you save the HSN/SAC code and the GST rate on each item in the item master (Inventory → Items). When you add that item to a sales or purchase invoice, the line picks up the saved HSN/SAC and GST, so you do not type the code again for every bill. You choose the code once; Billoxy does not decide the classification for you. GSTR-1 files are created from your invoices under Reports → GSTR. See inventory management in Billoxy.

If you need one GST invoice now, use the free GST invoice generator.

Official sources