GST · 17 November 2026 · 5 min read
HSN code on invoice: 4 digits or 6 digits? The turnover rule explained
HSN code on invoice, 4 digit or 6 digit? Since April 2021 it depends on last year's turnover. A decision table, examples, and how to keep HSN right.
By the Tatva ERP team at Kentron Technologies
In short
- If your aggregate turnover in the previous financial year was up to ₹5 crore, print a 4-digit HSN on B2B invoices; on B2C invoices it is optional.
- If it was above ₹5 crore, print a 6-digit HSN on every invoice, B2B and B2C.
- The rule comes from Notification 78/2020-Central Tax and applies from 1 April 2021.
- The same 4 or 6 digit rule applies to the HSN summary in Table 12 of GSTR-1.
- Using more digits than required is allowed; using fewer is not.
It depends on your turnover in the previous financial year. Up to ₹5 crore: 4-digit HSN on B2B invoices (optional on B2C). Above ₹5 crore: 6-digit HSN on every invoice. That is the rule from 1 April 2021 under Notification 78/2020-Central Tax, and it still applies as of November 2026.
What is an HSN code?
HSN (Harmonised System of Nomenclature) is the international code for goods. The first 2 digits are the chapter, 4 digits the heading, 6 digits the sub-heading. India adds 2 more digits for an 8-digit tariff code. For services, the equivalent is SAC. For example:
| Item | 4 digits | 6 digits |
|---|---|---|
| Medicines in measured doses (tablets, syrups) | 3004 | 300490 |
| Cotton T-shirts, knitted | 6109 | 610910 |
| Rice | 1006 | 100630 (semi or wholly milled) |
| Screws and bolts of iron or steel | 7318 | 731815 |
Always check your item's exact code against your supplier's bill and the official tariff; the examples above are common ones, not advice for your product.
The decision table
Here is the rule from Notification 78/2020-CT in one table:
| Aggregate turnover in previous FY | B2B invoice | B2C invoice |
|---|---|---|
| Up to ₹5 crore | 4 digits, mandatory | Optional |
| Above ₹5 crore | 6 digits, mandatory | 6 digits, mandatory |
The government's press note when the rule was announced is on PIB.
What was the old rule?
Before April 2021 the slabs were different: no HSN needed up to ₹1.5 crore, 2 digits between ₹1.5 crore and ₹5 crore, and 4 digits above ₹5 crore. If an old article or a CA's note tells you "2 digits are enough", it is talking about that old rule. It no longer applies.
Worked examples
- A medical store with ₹1.8 crore turnover in 2025-26. From April 2026, it prints 3004 (or more digits) on bills to registered buyers such as clinics. Bills to walk-in patients may skip HSN, though most software prints it anyway.
- A pharma distributor with ₹7.5 crore turnover in 2025-26. Every invoice, including any cash sale to an unregistered buyer, needs 6 digits, for example 300490.
- A garment shop that crosses ₹5 crore in the middle of 2026-27. Nothing changes mid-year. The test is the previous year's turnover, so it moves to 6 digits from 1 April 2027.
Does the same rule apply to GSTR-1?
Yes. The HSN summary in Table 12 of GSTR-1 follows the same split: 4 digits up to ₹5 crore, 6 digits above. Since the May 2025 return period, the portal also wants HSN picked from a dropdown and split into B2B and B2C tabs. We cover that in GSTR-1 Table 12 HSN summary. If your invoices carry the right HSN, the summary is right automatically.
How do I find the right HSN for an item?
- Start with your supplier's bill. Manufacturers and large distributors print 6 or 8 digits. Use the first 4 or 6.
- Check it on the GST portal. The public "Search HSN/SAC" tool on gst.gov.in lets you search by code or by description.
- Check the rate with it. The HSN decides the GST rate. If the rate on your item master does not match the rate schedule for that code, one of them is wrong.
- Ask your CA for doubtful items. Some products sit on the line between two headings (a gift set, a kit, a combo pack). Settle it once and write it down.
What about services?
Services use SAC (Services Accounting Code) instead of HSN, and the same 4 or 6 digit rule applies. A shop that also charges for repair or installation should give that service its own item with the right SAC.
Is 8-digit HSN required?
Not on regular domestic invoices under this notification. You may still print 8 digits; more digits than the minimum is always accepted, because an 8-digit code contains the 4 and 6 digit headings. Importers and exporters already use 8 digits on customs documents, so they often keep the same code everywhere.
How to keep HSN right on every bill
The mistake is rarely the rule. It is staff typing HSN on each bill, or one item saved twice with two different codes. Fix it at the item master:
- Put HSN on the item, not the bill. In Tatva ERP the HSN and GST rate live on the item master, so every bill and the GSTR-1 HSN summary pick the same code.
- Copy from the supplier's bill. When you add a new item, take the HSN from the purchase invoice. Tatva ERP's AI purchase entry reads HSN per line from a PDF or photo of the supplier bill, and a person checks it before saving. More on that in AI purchase bill entry.
- Run an HSN check once a quarter. Sort your item list by HSN and look for blanks, 2-digit codes, or the same product under two codes.
- Re-check in April. If last year's turnover crossed ₹5 crore, update every 4-digit code to 6 digits before the first bill of the new year.
What if I printed the wrong number of digits?
For bills already issued, the tax amount is usually not affected, but the HSN summary in GSTR-1 must still be correct. Correct the item master, and report the right codes in the return. If a buyer needs a corrected invoice for their records, discuss it with your CA. A wrong HSN can attract a general penalty under Section 125 of the CGST Act, so it is worth getting right.
Summary
Look at last year's turnover, pick 4 or 6 digits, and set it once on every item. Tatva ERP then prints it on each bill and carries it into the GSTR-1 JSON, as explained in filing GSTR-1 with a JSON file. See the rest of the GST tools on the features page, or book a demo with your own item list.
This article explains the general rule as of November 2026. For a specific case, confirm with your chartered accountant.
Questions people ask
Is HSN mandatory on B2C invoices?
For businesses with turnover up to ₹5 crore, HSN on B2C invoices is optional under Notification 78/2020. Above ₹5 crore, 6-digit HSN is required on all invoices, including B2C.
Which year's turnover decides the HSN digits?
The aggregate turnover of the previous financial year. If you crossed ₹5 crore in 2025-26, you print 6 digits from 1 April 2026.
Can I write 8-digit HSN on a GST invoice?
Yes. More digits than the minimum is always fine, and an 8-digit code also contains the 4 and 6 digit headings. Importers and exporters already use 8 digits on customs papers.
What is the penalty for wrong HSN on an invoice?
A wrong or missing HSN can attract a general penalty under Section 125 of the CGST Act, and it causes mismatches in GSTR-1 Table 12. Fixing it in the item master stops the error at source.