31 October 2026, 6 min read

HSN and SAC codes: how many digits you need, and how to find the right one

Your GST rate depends on what you sell, and a short number on your invoice says what that is. Most owners copy the code from a supplier's bill and never look at it again, which works until a rate changes or the portal refuses a code at filing time. Here is what the digits mean, how many you need, and how to find the right code yourself.

Reading an HSN code1 2chapter2 digits3 4heading4 digits5 6subheading6 digits7 8India's line8 digitsUp to ₹5 crore: 4 digits to businessesAbove ₹5 crore: 6 digits on every tax invoice

What the numbers mean

HSN stands for Harmonized System of Nomenclature, the international list that classifies goods. SAC, the Services Accounting Code, does the same job for services. SAC codes start with 99.

An HSN code gets more exact as it gets longer:

  • The first 2 digits are the chapter, a broad family of goods.
  • 4 digits are the heading, a type of product.
  • 6 digits are the subheading, which is shared around the world.
  • 8 digits are India’s own tariff line.

The code does more than fill a box. Under GST, what you sell decides your tax rate, and the code is how you, your customer and the tax office agree on what you sell.

How many digits your invoice needs

It depends on your turnover in the previous financial year, across every GSTIN on your PAN.

Digits on a tax invoice

Turnover up to ₹5 crore: 4 digits on invoices to registered businesses. Optional on invoices to unregistered customers.

Turnover above ₹5 crore: 6 digits on all tax invoices.

The previous year’s figure fixes your rule for the whole year. A business that turned over ₹4.8 crore in 2025-26 stays on 4 digits through 2026-27, even if it passes ₹5 crore in December. A short list of notified chemicals needs 8 digits whatever your turnover.

These are minimums. If you already have the full code, you can print it.

Your GSTR-1 needs them too

Table 12 of GSTR-1 is a summary of your sales by HSN code, with quantity, taxable value and tax for each code and rate. Since the May 2025 return period it has separate tabs for sales to businesses and sales to unregistered customers, and the code is picked from the portal’s list instead of being typed in. A code that isn’t on the list won’t go through.

The practical result is that an invoice with no code becomes a problem at filing time, usually at 9 pm on the 10th. Issued invoices can’t be edited, so someone ends up adding the missing rows to Table 12 by hand. A few minutes setting up your product list saves that evening.

Finding the right code

  1. Check your purchase bills. If you resell goods unchanged, your supplier’s invoice usually shows the code. It is a good starting point, but check it, because suppliers make mistakes too.
  2. Search the GST portal. The search on gst.gov.in looks up HSN and SAC codes by name or number, without a login. Try a few words for your product, including its material or use.
  3. Read the description in full. Two codes can sound alike and differ only by material, size or use, and a different code can mean a different rate.
  4. Check the rate against the current notification. Many rates changed in September 2025, and old lists online were never updated. CBIC’s rate notifications have the current figure.
  5. Ask your accountant when it is close. A borderline product is worth the phone call, since a wrong classification can mean tax short-paid for years.

We don’t publish a code list on this site. Rates and codes change, and an out-of-date list would do you more harm than no list at all.

Three common mistakes

  • One code for everything. A shop that sells several kinds of goods can’t put them all under one code, especially when they carry different rates.
  • A trader’s code on a service. If you repair, install or do job work, you are supplying a service in most cases, so you usually need a SAC code. When you sell parts and labour together, the tax treatment depends on how the job is set up. Ask before you assume.
  • A code that was never checked after a rate change. Your product list still prints the old rate until someone changes it. Look through it whenever the GST Council changes rates.

Set it once in your product list

In Invoiceo, the HSN or SAC code and the GST rate sit on each product, so they fill in by themselves every time you bill it. When you prepare your return under Reports, Table 12 is built from those lines, and any line with no code is counted and flagged before you file. To try the layout without an account, use the free GST invoice generator.

Questions people ask

Is an HSN code needed on a bill to an individual customer?

If your turnover in the previous year was up to ₹5 crore, it is optional on invoices to unregistered customers. Above ₹5 crore, 6 digits are required on all tax invoices.

Does a composition dealer need HSN codes?

The digit rules above are for tax invoices. A bill of supply has its own list of details under Rule 49, and it asks for the HSN code as well, so keep the codes in your product list.

What is the difference between HSN and SAC?

HSN classifies goods and SAC classifies services. They appear in the same column on an invoice and in the same table in GSTR-1. SAC codes start with 99.

Can I use more digits than the minimum?

Yes. The rule sets a minimum. If you already know the 6 or 8 digit code, you can use it.

Checked against the official sources

Last reviewed on 31 October 2026. Tax rules and limits change, and we cannot see your whole situation, so treat this page as a guide, not advice. If something here looks out of date, the official pages below are the ones to trust, and we would be grateful if you told us.

Make your invoice now

No sign-up. The tax is worked out for you and you get a clean PDF.

Invoiceo is free to start. No card needed.

Open the invoice maker