Reviewed by CA Ritik Swami, Chartered Accountant. Last reviewed: 11 November 2026.
Every product and service under GST has a code. The Harmonised System of Nomenclature (HSN) is used for goods, and the Services Accounting Code (SAC) is used for services. The code decides the GST rate on a sale and has to be shown on your invoice and in your returns. This guide explains the codes, the number of digits required by turnover, how to find the right one and the risk of choosing wrongly.
HSN and SAC
| Code | For | Format |
|---|---|---|
| HSN | Goods | Based on the international system, with 2, 4, 6 or 8 digits |
| SAC | Services | 6 digits, starting with 99 |
How many digits to show
| Aggregate turnover in the previous year | Digits of HSN to show on tax invoices |
|---|---|
| Up to Rs 5 crore | 4 digits for B2B supplies, and optional for B2C |
| Above Rs 5 crore | 6 digits for all supplies |
Exporters, importers and others have to use 8 digits in the documents for customs. The requirement has been changing, so check the current notification. Summaries of outward supplies in GSTR-1 also need the HSN details, as described in GSTR-1 vs GSTR-3B: Differences and Due Dates.
How to find the right code
- Describe the product or service in words, and note what it is made of, what it does and how it is sold.
- Search the code on the GST portal's HSN search, or in the customs tariff, or in the schedules that list the rates.
- Compare the description of the chapter and the heading with your product, and read the notes to see what is included and excluded.
- Check the GST rate for the code against the notification, and confirm that it applies to your exact product.
- Keep a note on the reason for the choice, in case of a query.
Why the code matters
- The rate depends on the code, and the rate depends on the description in the notification. Two similar products can have different rates
- A wrong code can lead to charging the wrong rate, which is then demanded with interest and penalty
- The e-way bill and the e-invoice also use the code. See E-Way Bill under GST: When It Is Required, Validity and Penalty and E-Invoicing under GST: Who Must Issue E-Invoices and How It Works
- The buyer's credit depends on a valid invoice with the right details
- Use our GST calculator to work out the tax once you know the rate
Common mistakes
- Using the code of a similar product that has a lower rate
- Showing fewer digits than required for your turnover
- Using one code for a mixed supply that has different rates for its parts
- Not updating the code when the notification changes
- Copying a code from a competitor without checking
Frequently asked questions
What is an HSN code?
A standard code for goods, which decides the GST rate and has to be shown on invoices.
What is a SAC code?
A 6-digit code for services, starting with 99.
How many digits of HSN are required?
4 digits up to Rs 5 crore turnover for B2B supplies and 6 digits above, as the rules currently stand.
Where do I find the HSN code?
On the GST portal, in the customs tariff or in the rate schedules.
Does the HSN code decide the GST rate?
The rate is notified for goods by the code and description, so the code is central to the rate.
What happens if I use a wrong code?
The rate can be wrong, which leads to a demand with interest and penalty.
Related reading
- GSTR-1 vs GSTR-3B: Differences and Due Dates
- E-Invoicing under GST: Who Must Issue E-Invoices and How It Works
- E-Way Bill under GST: When It Is Required, Validity and Penalty
Get help
If you would like help with this, see our GST return filing service. These related services may also be useful:



