HSN Code Mandatory Rules: 4-Digit vs 6-Digit on Invoices

When HSN codes are mandatory on GST invoices — the turnover-based 4-digit and 6-digit rules, B2B vs B2C, HSN reporting in GSTR-1, and penalties for wrong or missing codes.

PJ

Reviewed & approved by Pardeep Jha, Chartered Accountant

Pardeep Jha & Associates, Chartered Accountants · Published 3 July 2026

The HSN code is how GST classifies your goods and decides their tax rate. But businesses are often unsure how many digits they must actually print on an invoice. The answer depends mainly on your turnover.

What is an HSN code?

HSN (Harmonized System of Nomenclature) is an internationally standardised system for classifying goods. Under GST, the HSN code links a product to its applicable tax rate. Services use the parallel SAC (Services Accounting Code) system. Quoting the correct code is both a legal requirement and the basis for charging the right rate.

The turnover-based digit rules

The number of digits you must quote is tied to your aggregate annual turnover:

Aggregate turnoverHSN digits required (B2B)B2C
Up to ₹5 crore4 digitsOptional
Above ₹5 crore6 digits6 digits

So a small trader below ₹5 crore quotes at least 4 digits on B2B invoices, while a larger business above ₹5 crore quotes 6 digits on all tax invoices.

4, 6 or 8 digits? The rules set a minimum. You can always quote more digits — many businesses use the full 8-digit code to be precise and audit-safe. The HSN structure is: 2-digit chapter → 4-digit heading → 6-digit sub-heading → 8-digit tariff item.

B2B vs B2C

The relaxation for small taxpayers applies to B2C supplies. If your turnover is up to ₹5 crore, you may omit the HSN code on B2C (consumer) invoices — though quoting it is good practice. For B2B supplies, at least 4 digits are required regardless. Above ₹5 crore, 6 digits are required on both B2B and B2C.

HSN reporting in GSTR-1

Beyond the invoice, you must also report an HSN-wise summary in GSTR-1 (in the HSN Summary section). The digit requirement mirrors the invoice rules — 4 digits up to ₹5 crore, 6 digits above. The portal increasingly validates HSN entries against a master list, so accuracy matters.

Getting the classification right

An HSN code is only useful if it is correct. The same-sounding product can sit under different headings with different rates, and a wrong code can mean a wrong rate — which invites demand notices and interest. When in doubt:

  1. Search by product description in a reliable HSN/SAC code finder.
  2. Match the description as closely as possible, not just the first result.
  3. For borderline goods (e.g. cosmetic vs medicament), confirm with a professional.
  4. Once you settle a code for a product, use it consistently across invoices.

Penalties for wrong or missing codes

Not mentioning the HSN/SAC code, or issuing an incorrect invoice, is a contravention that can attract a general penalty under Section 125 (up to ₹25,000). The bigger risk, however, is misclassification: charging the wrong rate can lead to short payment of tax, interest, and disputes with the department or your customers.

A quick example

A trader with ₹2 crore turnover selling cotton T-shirts to a registered retailer:

  • Turnover is under ₹5 crore → 4-digit HSN minimum on the B2B invoice
  • They quote the 4-digit heading for the garment (and could quote 6 or 8 digits for precision)
  • The same 4-digit-level summary goes into the HSN Summary of GSTR-1

The bottom line

Below ₹5 crore, quote at least 4-digit HSN on B2B invoices (optional on B2C); above ₹5 crore, quote 6-digit HSN on all invoices. Services follow the same logic with SAC codes. Quoting more digits is always allowed — and getting the classification right matters far more than the bare minimum.

Find the correct HSN or SAC code for any product or service with the free HSN & SAC code finder.

Try it free — no signup

Create a professional, GST-compliant invoice in under a minute with RaiseBill.

Find the right HSN/SAC code →

Frequently Asked Questions

How many digits of HSN code are mandatory on an invoice?

Businesses with aggregate annual turnover up to ₹5 crore must quote at least a 4-digit HSN code, while those above ₹5 crore must quote a 6-digit code. For B2C supplies, businesses up to ₹5 crore may optionally omit the HSN, but it is required for B2B.

Is HSN code mandatory below ₹5 crore turnover?

Yes, at least 4 digits for B2B supplies. Small taxpayers up to ₹5 crore may omit HSN on B2C invoices, but many quote it anyway for consistency. Above ₹5 crore, 6 digits are mandatory on all tax invoices.

What is the penalty for a wrong or missing HSN code?

Failure to mention the correct HSN/SAC code, or an incorrect invoice, can attract a general penalty under the GST law (up to ₹25,000 under Section 125 for such contraventions). More importantly, wrong classification can lead to wrong rates and demand notices.

Do services need an HSN code?

Services use a SAC (Services Accounting Code) rather than an HSN code, but the same digit logic applies — broadly 4 digits up to ₹5 crore and 6 digits above. Always quote the correct SAC on service invoices.

← More GST & invoicing guides

This guide is for general information only and is not legal or tax advice. GST law changes frequently — consult a qualified Chartered Accountant for advice specific to your business.