What is an HSN code?

HSN code full form: Harmonised System of Nomenclature code, the number that classifies a product for GST and customs.

An HSN code is the number that classifies a product under the Harmonised System of Nomenclature. The World Customs Organization's Harmonized System identifies product groups with six-digit codes, and India's tariff carries them to eight digits. Under GST, a registered seller shows the HSN code on tax invoices and e-way bills and reports it in GSTR-1, with the number of digits set by turnover.

This page is about HSN codes for goods. Services carry SAC codes, and GSTN’s GSTR-1 code list covers both HSN and SAC.

How HSN codes work for an Indian e-commerce seller

What the digits mean

Digits Level Example from the GST rate schedule
2 Chapter 04
4 Heading 0402: milk and cream, concentrated or containing added sugar or other sweetening matter
6 Sub-heading (the international HS code) 0402 91
8 Tariff item 0402 91 10: condensed milk

The terms chapter, heading, sub-heading and tariff item have the meanings in the First Schedule to the Customs Tariff Act, 1975 (Notification 1/2017-Central Tax (Rate), Explanation (iii)).

How many digits to show on a tax invoice (from 1 April 2021)

Aggregate turnover in the preceding financial year HSN digits on tax invoices Note
Up to ₹5 crore 4 Need not follow this on invoices for supplies to unregistered persons
More than ₹5 crore 6 Applies to all tax invoices
Any turnover, 49 chemicals listed in Notification 90/2020 8 All eight digits

Source: Notifications 78/2020-Central Tax and 90/2020-Central Tax, issued under the first proviso to rule 46.

Where the HSN code goes

Document or system What it asks for Source
Tax invoice The HSN code of the goods, with the digits in the table above Rule 46(g), CGST Rules
Delivery challan HSN code and description of goods Rule 55(1)
E-way bill (FORM GST EWB-01) HSN code in field A.8 CGST Rules, forms
GSTR-1, Table 12 An HSN-wise summary: 4 digits up to ₹5 crore, 6 digits above GSTN advisories, 2022 and 25 April 2025
Marketplace listing An HSN code per listing, for example Flipkart’s hsn attribute under tax Flipkart Listing API changelog, 22 March 2018

GSTR-1 Table 12 since May 2025. GSTN’s advisory of 25 April 2025 says that from the May 2025 return period:

  • HSN codes can’t be typed in by hand. They are picked from a drop-down.
  • Table 12 has separate B2B and B2C tabs. The B2B tab can’t be left empty when B2B supplies are reported elsewhere in GSTR-1.
  • Values in Table 12 are checked against other tables, in warning mode at first.
  • A Download HSN Codes List button gives the updated list of HSN and SAC codes.

Example: one SKU, one code everywhere. All numbers are illustrative.

  • A dairy brand with ₹3.2 crore turnover last financial year sells condensed milk on its own site, on a marketplace and to distributors.
  • Its product master holds HSN 0402 91 10 against the SKU, next to the SKU code and the EAN.
  • Invoices to its GST-registered distributors need at least 4 digits, 0402. The brand prints the full 8-digit code on every invoice, so one format serves all its orders.
  • The marketplace listing carries the same code, and a ₹75,000 consignment to a distributor in another state gets an e-way bill with the HSN code in field A.8.
  • At month end, GSTR-1 Table 12 reports the HSN-wise summary at 4 digits in the B2B and B2C tabs.

Common mistakes

  • Using an old digit table. Guides from GST’s launch in 2017 still circulate with 2 digits for ₹1.5 to 5 crore turnover and no code below ₹1.5 crore. Notification 78/2020 replaced that table from 1 April 2021.
  • Treating the HSN code as a product ID. Many SKUs share one HSN code, so it can’t stand in for a SKU or an EAN barcode.
  • Choosing a code for its rate. The code follows the product’s description and the tariff’s interpretation rules, and the rate follows from the code.
  • Different codes in different places. The listing, the invoice, the e-way bill and GSTR-1 show different codes for the same product, so returns and documents don’t agree.
  • Codes that aren’t on GSTN’s list. From the May 2025 return period, Table 12 accepts codes from the drop-down only, so a code typed into the item master that isn’t on the list can’t be reported.
  • HSN coverage = active SKUs with an HSN code ÷ active SKUs × 100. Example: 190 of 200 = 95%.
  • HSN mismatches = SKUs whose listing code differs from the item master ÷ SKUs listed × 100. Example: 6 of 150 = 4%.

HSN codes in the Indian context

  • An international base. The World Customs Organization’s HS page (accessed 18 Nov 2026) says the Harmonized System is used by more than 200 countries and economies as the basis for their customs tariffs, and that it is updated every five to six years.
  • Eight digits in India. India’s GST rate notifications list goods by chapter, heading, sub-heading or tariff item as in the Customs Tariff, and Notification 90/2020 lists 8-digit codes such as 3824 91 00.
  • Rates change. Notification 1/2017-Central Tax (Rate) set the first GST rate schedules by HSN, and later notifications have amended them. Read the current rate notification for your code.
  • E-way bills and e-invoices. Under rule 138 of the CGST Rules, moving goods worth more than ₹50,000 generally needs an e-way bill. Under Notification 10/2023-Central Tax, from 1 August 2023 taxpayers whose aggregate turnover in any financial year from 2017-18 exceeded ₹5 crore report B2B invoices to the Invoice Registration Portal, unless their category is exempt. See e-way bill and e-invoice integration.

Rules quoted here are from CBIC’s compilation of the CGST Rules as amended to 1 June 2021, CBIC notifications and GSTN advisories. Check the current rules or a tax adviser before relying on them.

How Fretron CommerceOS fits

Fretron CommerceOS is order, warehouse and shipping software for Indian D2C, retail and omnichannel consumer brands.

Fretron CommerceOS can work out GST on each order line from the item’s HSN code and a dated rate schedule, using the same calculation for the order preview and the invoice.

Questions and answers

What is the full form of HSN code?
HSN stands for Harmonised System of Nomenclature. It is based on the World Customs Organization's Harmonized System, which identifies more than 5,000 commodity groups with six-digit codes. Rule 46(g) of the CGST Rules, 2017 lists the "Harmonised System of Nomenclature code for goods or services" among the details a GST tax invoice contains.
How many digits of HSN code must be shown on a GST invoice?
Under Notification 78/2020-Central Tax, from 1 April 2021 a registered person with aggregate turnover up to ₹5 crore in the preceding financial year shows 4 digits, and above ₹5 crore shows 6 digits. Sellers up to ₹5 crore need not follow the 4-digit rule on tax invoices for supplies to unregistered persons. Notification 90/2020-Central Tax requires all 8 digits for 49 listed chemicals.
Do I need an HSN code on B2C invoices?
If your aggregate turnover in the preceding financial year was up to ₹5 crore, the proviso in Notification 78/2020-Central Tax says you need not follow the digit rule on tax invoices for supplies to unregistered persons. Above ₹5 crore, the 6-digit rule applies to every tax invoice. GSTR-1 reporting is separate: GSTN's advisory of 25 April 2025 splits the HSN summary in Table 12 into B2B and B2C tabs from the May 2025 return period, and says the B2C tab could still be left empty at that stage.
What do the 2, 4, 6 and 8 digits of an HSN code mean?
The first 2 digits are the chapter, 4 digits the heading, 6 digits the sub-heading and 8 digits the tariff item, as in the First Schedule to the Customs Tariff Act, 1975. The first six digits are the international Harmonized System code. India's GST rate notifications list goods by chapter, heading, sub-heading or tariff item, for example heading 0402 and tariff item 0402 91 10, condensed milk.
Is the HSN code needed on an e-way bill?
Yes. FORM GST EWB-01 has an HSN code field, A.8. The form's notes in CBIC's compilation of the CGST Rules, as amended to 1 June 2021, say at least 2 digits for taxpayers with annual turnover up to ₹5 crore in the preceding financial year and 4 digits above that. Under rule 138, a registered person moving a consignment worth more than ₹50,000 generally needs an e-way bill; the rule lists exemptions, and some states set a higher limit for movement within the state.
Do marketplaces ask for an HSN code when I list a product?
Yes, commonly. Flipkart's Listing Management API changelog (last updated 22 March 2018) says HSN "needs to be mandatorily provided for all listings" as the hsn attribute under tax, and calls it an 8-digit product classification that helps determine the GST rate. Check each marketplace's current catalogue template for the field and the number of digits it accepts.
How do I find the right HSN code for my product?
Start from the product's description and the chapter it falls in, then work down to the heading, sub-heading and tariff item in the GST rate notification or the Customs Tariff. In GSTR-1, Table 12 has a Download HSN Codes List button with the updated HSN and SAC list. If a product could fit more than one heading, check with your tax adviser before you use the code.
Is an HSN code the same as a SKU or a barcode?
No. An HSN code is a tax classification shared by every product of the same kind, so many SKUs can carry one HSN code. A SKU is your own code for one sellable variant, and an EAN or GTIN barcode identifies one trade item worldwide. A product master usually holds all three.

See CommerceOS on your own data.

Book a demo →

Next step: order management.

Last reviewed: by Fretron.

Sources

The example and metrics use illustrative numbers.

  1. Central Goods and Services Tax Rules, 2017, rules 46 and 55, and FORM GST EWB-01 (CBIC compilation, as amended to 1 June 2021). CBIC. https://cbic-gst.gov.in/pdf/01062021-CGST-Rules-2017-Part-A-Rules.pdf (accessed 18 Nov 2026). Forms: https://cbic-gst.gov.in/pdf/01062021-CGST-Rules-2017-Part-B-Forms.pdf
  2. Notification No. 78/2020-Central Tax, 15 October 2020 (HSN digits on tax invoices from 1 April 2021). CBIC, hosted by the GST Council. https://gstcouncil.gov.in/sites/default/files/2024-05/notfctn-78-central-tax-english-2020.pdf (accessed 18 Nov 2026).
  3. Notification No. 90/2020-Central Tax, 1 December 2020 (8-digit HSN for listed chemicals). CBIC. https://cbic-gst.gov.in/pdf/central-tax/notfctn-90-central-tax-english-2020.pdf (accessed 18 Nov 2026).
  4. Notification No. 10/2023-Central Tax, 10 May 2023 (e-invoicing for aggregate turnover above ₹5 crore from 1 August 2023). GST Council. https://www.gstcouncil.gov.in/node/4365 (accessed 18 Nov 2026).
  5. Notification No. 1/2017-Central Tax (Rate), 28 June 2017, schedules and Explanation (iii). GST Council. https://gstcouncil.gov.in/sites/default/files/2024-05/download_4_0.pdf (accessed 18 Nov 2026). Rates have since been amended by later notifications.
  6. Implementation of mandatory mentioning of HSN codes in GSTR-1 (advisory, 2022). GSTN. https://tutorial.gst.gov.in/downloads/news/hsn_advisory_table_12_2.pdf (accessed 18 Nov 2026).
  7. Reporting of HSN codes in Table 12 of GSTR-1/1A (updated advisory, 25 April 2025). GSTN. https://tutorial.gst.gov.in/downloads/news/updated_advisory_hsn_table12_25042025.pdf (accessed 18 Nov 2026).
  8. What is the Harmonized System (HS)? World Customs Organization. https://www.wcoomd.org/en/topics/nomenclature/overview/what-is-the-harmonized-system.aspx (accessed 18 Nov 2026).
  9. Listing Management Changelog, Developer API v3.0 (last updated 22 March 2018). Flipkart Marketplace Seller APIs. https://seller.flipkart.com/api-docs/listing-api-docs/VersionLM.html (accessed 18 Nov 2026).