HSN code on GST invoices: how many digits and how to find yours
The HSN code decides the GST rate on your item. Get it wrong and the rate is wrong too.

Short answer
If your aggregate turnover in the previous financial year was up to ₹5 crore, print at least a 4-digit HSN code on B2B invoices. Above ₹5 crore, print at least 6 digits on every invoice. Services use SAC codes the same way. You must also report an HSN-wise summary in Table 12 of GSTR-1, picking codes from the portal’s list.
What an HSN code is
HSN stands for Harmonized System of Nomenclature, an international system of codes for goods. India uses it, extended to 8 digits, in its customs tariff and for GST. Services use a parallel system called SAC (Services Accounting Code), starting with 99.
Each extra pair of digits narrows the description. The first 2 digits are the chapter, 4 digits the heading, 6 digits the sub-heading, and 8 digits the tariff item.
| Digits | Example | Meaning |
|---|---|---|
| 2 | 85 | Electrical machinery and equipment |
| 4 | 8516 | Electric water heaters, irons, hair dryers and similar |
| 6 | 851640 | Electric smoothing irons |
| 8 | 85164000 | Electric smoothing irons (tariff item) |
GST rates are notified against these codes. So the code is not paperwork; it is how you and an officer decide what rate applies.
How many digits you must print
The number of digits depends on your aggregate turnover in the previous financial year.
| Previous-year turnover | Digits on invoices |
|---|---|
| Up to ₹5 crore | At least 4 digits on B2B invoices; optional on B2C invoices |
| More than ₹5 crore | At least 6 digits on all invoices |
Printing more digits than required is allowed and often wise. An 8-digit code removes doubt about the rate, especially in trades where similar items carry different rates.
Many items changed rate on 22 September 2025, when most goods moved to the 5% and 18% rates. If you set up your item master before then, check each code against the current rate notification.
HSN in your GSTR-1
Table 12 of GSTR-1 is an HSN-wise summary of your sales for the period: code, quantity, unit, taxable value and tax. Since 2025, the portal requires you to:
- pick HSN codes from a drop-down list instead of typing them;
- report B2B and B2C sales in separate tabs within Table 12;
- match the totals with the invoices you report in the rest of GSTR-1.
If your billing software prints a code that is not in the portal’s list, or uses different units from your GSTR-1 entries, your CA will spend hours fixing it each month. A clean item master with the right code and unit saves that time.
How to find the right code
- Start with your supplier’s purchase invoice. A manufacturer or importer usually prints the correct 8-digit code.
- Search by item name or code on the GST portal’s HSN search, available without logging in.
- Check the rate notification for that code; the description in the notification decides the rate.
- Where two codes seem to fit, ask your CA, and keep a note of why you chose one.
- Put the code, unit and rate in your item master once, so every bill picks them up.
Do not copy codes from another trader’s bill without checking. A wrong code repeated across a year’s invoices becomes a wrong rate across a year’s tax.
HSN codes and rate changes
GST rates are changed by notifications that list HSN codes and descriptions. When a rate changes, the code on your bill is how you find out whether your item is affected.
The biggest recent change came on 22 September 2025, when most items moved to 5% or 18%, a short list to 40%, and the old 12% and 28% rates were removed for most goods. Rates can change again by notification at any time, so treat any rate chart as dated and check the current notification for your codes.
- Keep your item master sorted by HSN code.
- When a rate notification comes, search it for each of your codes.
- Update the rate in your software from the effective date, not the date you read the news.
- Check stock bought at the old rate; your selling price may need to change.
- Keep a copy of the notification with that month’s records.
If one HSN heading covers items at different rates, the longer code and the exact description decide. This is where 8-digit codes earn their keep.
What goes wrong with HSN codes
- Too few digits for your turnover, especially after crossing ₹5 crore.
- One code for everything, such as using the chapter code for all items in a mixed shop.
- Old rates kept after a rate change.
- Units that do not match between the invoice and GSTR-1, such as boxes on the bill and pieces in the return.
- Services with HSN instead of SAC, for example installation charges billed with a goods code.
Your HSN code is one of the fields on a tax invoice; for the full list see what a GST tax invoice must show.
Common questions
Is HSN code mandatory for small businesses?
Yes for B2B invoices if your previous-year turnover was up to ₹5 crore: at least 4 digits. On B2C invoices it is optional at that turnover. Above ₹5 crore, at least 6 digits on all invoices.
What is the difference between HSN and SAC?
HSN codes classify goods. SAC codes classify services and start with 99.
Where can I search an HSN code?
On the GST portal’s HSN search, which works without logging in. Your supplier’s invoice is also a good starting point.
What is Table 12 in GSTR-1?
An HSN-wise summary of sales for the period, with quantity, unit, value and tax. B2B and B2C are reported separately, and codes are picked from a list.
Can I use 8-digit HSN even if my turnover is low?
Yes. Printing more digits than required is allowed and makes the rate clearer.
Sources
General information, not legal or tax advice. Rules change: check the source or your CA before you act.
Bills, udhaar, stock and Tally in one place
Munshiji keeps your numbers together and tells you what needs doing today. Founder seats are open by invitation.
See the founder offerTo reserve, call or WhatsApp 70022 08642