How many digits of HSN code are mandatory on a GST invoice?

Updated · By the Hisaab team · 2 min read

Short answer

If your aggregate turnover in the previous year was up to ₹5 crore, you must show at least a 4-digit HSN code on B2B tax invoices; it is optional on B2C invoices. Above ₹5 crore, a 6-digit HSN code is mandatory on all tax invoices. Services use SAC codes, which start with 99. You also report an HSN-wise summary in Table 12 of GSTR-1.

A hardware and paint shop owner holding up his phone with the Hisaab app open, pipes, taps and paint buckets around him

HSN vs SAC: what is the difference?

HSN (Harmonized System of Nomenclature) codes classify goods. India uses an 8-digit version; the first 2 digits are the chapter, 4 digits the heading and 6 digits the sub-heading.

SAC (Services Accounting Code) classifies services. SAC codes are 6 digits and start with 99; for example, codes under heading 9954 cover construction services.

The code decides the GST rate, so getting it right matters for both the rate on your bill and your GSTR-1.

How many HSN digits are mandatory?

Notification 78/2020-Central Tax, in force since 1 April 2021, sets the digits by aggregate turnover in the previous financial year:

Aggregate turnover last yearB2B tax invoicesB2C tax invoices
Up to ₹5 crore4 digits mandatoryOptional
Above ₹5 crore6 digits mandatory6 digits mandatory

HSN summary in GSTR-1 (Table 12)

Table 12 of GSTR-1 lists your sales HSN by HSN, with quantity, taxable value and tax. Businesses up to ₹5 crore report at least 4 digits, and those above ₹5 crore at least 6 digits.

On the portal, you now pick the HSN from a drop-down instead of typing it, and from the May 2025 return period B2B and B2C sales are reported in separate tabs.

How to find the right HSN code

A few steps that help:

  1. 1Check the HSN on your supplier's purchase bill for the same item.
  2. 2Search the item on the GST portal's HSN search or the CBIC rate pages.
  3. 3Use the code that matches the item's material and use, not just its trade name.
  4. 4Confirm the GST rate for that code, especially after the rate changes of 22 September 2025.
  5. 5Ask your CA when an item could fall under two headings.

HSN codes in Hisaab

In Hisaab you save the HSN or SAC once on each item, along with its GST rate and unit. Every invoice then prints the code, and the GSTR-1 report builds the HSN summary from your bills. See stock and items in Hisaab.

Official sources

This guide explains the rules in plain words. It is not legal or tax advice; for your own case, check with your CA.

Questions people ask

Is HSN code mandatory for turnover below ₹5 crore?

Yes, a 4-digit HSN is mandatory on B2B tax invoices. On B2C invoices it is optional for businesses up to ₹5 crore.

Is HSN code required on a B2C invoice?

Only if your aggregate turnover was above ₹5 crore last year, in which case 6 digits are needed. Below that, it is optional on B2C.

What is SAC code in GST?

SAC (Services Accounting Code) is the code for services under GST. SAC codes are 6 digits long and start with 99.

Can I write 8-digit HSN on my invoice?

Yes. The rule sets a minimum, so you may always show more digits than required.

What happens if I use the wrong HSN code?

You may charge the wrong GST rate and report wrong data in GSTR-1, which can lead to short payment of tax with interest and penalties. Correct it as soon as you spot it.

Keep reading

A sweet shop owner behind his glass counter of mithai holding up Hisaab on his phone

aaj se shuru

Make GST bills the easy way.

Hisaab fills in GST, HSN, place of supply and numbering for you, and prepares GSTR-1 for upload.