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.
| Digits | Level | Example | What it means |
|---|---|---|---|
| 2 | Chapter | 10 | Cereals |
| 4 | Heading | 1006 | Rice |
| 6 | Sub-heading | 6 digits under 1006 | A type of rice in the international list |
| 8 | Tariff item (India) | 8 digits under 1006 | The 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 year | HSN digits on a tax invoice |
|---|---|
| Up to ₹5 crore | 4 digits |
| More than ₹5 crore | 6 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 code | SAC code | |
|---|---|---|
| Used for | Goods | Services |
| Full form | Harmonised System of Nomenclature | Services Accounting Code |
| Where the list comes from | Customs Tariff (the international HS system) | Scheme of Classification of Services |
| Length used in GST | 4, 6 or 8 digits | 4 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 business | Typical goods | HSN heading |
|---|---|---|
| Grocery or kirana | Rice | 1006 |
| Grocery or kirana | Cane or beet sugar | 1701 |
| Grocery or kirana | Coffee | 0901 |
| Pharmacy or medical store | Medicaments in measured doses or packed for retail sale | 3004 |
| Mobile phone shop | Telephone sets, including smartphones | 8517 |
| Computer shop | Computers (automatic data processing machines) | 8471 |
| Garment shop | T-shirts and vests, knitted | 6109 |
| Jewellery shop | Articles of jewellery | 7113 |
| General store | Soap | 3401 |
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?
- 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.
- Find the chapter and the 4-digit heading that describe the product.
- Search the GST portal. The portal's HSN/SAC search lets you search by code or description and shows the rate.
- Read the 6- and 8-digit lines under the heading and pick the one that fits the product.
- 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.
- 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
- Notification No. 78/2020-Central Tax (HSN/SAC digits on tax invoices from 1 April 2021), on cbic-gst.gov.in
- CGST Rules, Rule 46 (tax invoice particulars), on cbic-gst.gov.in
- GST portal user manual: Search HSN/SAC and tax rates
- GST portal