IndianBusinessTools
← Blog

HSN Code: 4, 6 or 8 Digits? What to Use in 2026

30 September 2026 · 5 min read

Find your product's code and see all 4, 6 and 8 digit levels

Find HSN Code

Every product sold in India has an HSN code, and the code is not always the same length. Sometimes you need 4 digits, sometimes 6, and on a customs form you need 8. This post explains which one to use on each document, so you do not get an error on your invoice, your GSTR-1 or your bill of entry.

The short answer

The number of digits you must use depends on your aggregate annual turnover of the preceding financial year and on the document you are filling in.

DocumentTurnover up to ₹5 croreTurnover above ₹5 crore
Tax invoice4 digits (B2B supplies)6 digits
GSTR-1, Table 12 (HSN summary)4 digits6 digits
E-invoice and e-way bill4 digits6 digits
Bill of entry (import) or shipping bill (export)8 digits8 digits

These are minimums. The rule is "at least 4" or "at least 6" digits, so you can always use more. The rule comes from Notification 78/2020-Central Tax. The GST portal now checks it in Table 12 of GSTR-1, and the e-invoice and e-way bill systems check it too.

Up to ₹5 crore, the invoice rule is for B2B supplies. Above ₹5 crore, it applies to your invoices for both goods and services.

What the digits mean

An HSN code starts broad and gets more specific with every two digits. Take smartphones as an example:

DigitsCodeWhat it is
285Chapter: electrical machinery and equipment
48517Heading: telephone sets, including smartphones
6851713Subheading: smartphones
885171300Tariff item: smartphones (India's own level)

The first 6 digits are the international Harmonized System, used in almost every country. The last 2 digits are added by India for its own customs tariff. Other countries add their own last digits, so an 8-digit Indian code does not always match the code your foreign supplier uses after the sixth digit.

You can search any of these levels in our HSN Code Finder. It shows the whole chain, from chapter to tariff item, for the code you select.

Invoices, GSTR-1 and e-way bills: 4 or 6 digits

These are all domestic GST documents, and they all use the same 4 or 6 digit rule:

Three things to know about GSTR-1:

The e-invoice and e-way bill systems have applied the 4 or 6 digit rule since 1 October 2023. If you use a 6-digit code and your turnover is under ₹5 crore, that is fine.

Imports and exports: 8 digits

Customs does not use the 4 or 6 digit GST rule. A bill of entry (imports) and a shipping bill (exports) use the full 8-digit tariff code. The customs duty rate depends on it, so one wrong digit can change your duty.

The 8-digit code is also what you type into the customs duty calculation. Our Import Duty Calculator post shows how BCD, SWS and IGST are worked out from it, and the Import/Export Duty Calculator does the sums.

More digits do not always mean a different GST rate

Many people think the code length decides the tax rate. It does not. The GST rate depends on the exact description in the rate notification, and sometimes the same code has two rates:

So use the digits that your turnover requires, but always read the full rate entry for your product. The new GST rates post lists the current slabs, and the GST Calculator works out the tax once you know the rate.

What should a small business do?

A simple habit avoids most problems: save the 8-digit code for each product in your billing software. Then:

  1. Your invoice can show 4 or 6 digits, whichever your turnover needs (or the full 8, if you like).
  2. Your GSTR-1 Table 12 will pick the right level from the dropdown.
  3. If you start importing or exporting, you already have the code the customs form needs.

To find a code, search your product name in the HSN Code Finder, pick the most specific line that matches your goods, and then confirm it on the GST portal's HSN/SAC search. If you make invoices with our GST Invoice Generator, you can add the code on each line item.

Summary

Sources

This post is correct as of 30 September 2026. Reporting rules and portal validations can change, so check the latest GSTN advisories before you file.

Frequently asked questions

Which year's turnover decides whether I use 4 or 6 digits?

The aggregate annual turnover of the preceding financial year. GSTN's advisory on Table 12 of GSTR-1 says the 4-digit or 6-digit requirement depends on the taxpayer's aggregate annual turnover in the preceding financial year. So in FY 2026-27 you look at your FY 2025-26 turnover.

Can I print more digits than the minimum?

Yes. The rules set a minimum: at least 4 digits up to ₹5 crore and at least 6 digits above it. A business under ₹5 crore can print 6 or 8 digits, and many invoicing tools do it by default. A longer code is safe as long as it is a valid code from the official HSN master.

My supplier's invoice and my bill of entry show different codes. Which is right?

For the bill of entry, the customs tariff classification decides, and it needs all 8 digits. For your own GST invoices, use the HSN code for the goods you sell. The first 6 digits follow the same worldwide system, so they should normally match. The last 2 digits are India's own tariff split and may differ. If the first 6 digits differ, ask your supplier or customs broker to confirm the classification.