GSTPublished 15 Jul 2026 9 min read

HSN and SAC codes explained: structure, how many digits to print and how to find yours

What HSN and SAC codes are, how the 8 digits are built, the 4 or 6 digit rule by turnover, how to find the right code, the HSN summary in GSTR-1 and errors to avoid.

HSN and SAC codes explained: structure, how many digits to print and how to find yours

HSN codes classify goods and SAC codes classify services, and every GST rate is tied to one of them. Indian HSN codes run to 8 digits: the first two are the chapter, four the heading, six the sub-heading, and eight the tariff item. If your turnover was up to ₹5 crore last year you must print at least 4 digits on B2B invoices; above ₹5 crore, 6 digits on every invoice; exports need all 8. Getting the code right fixes your rate, your invoice and your GSTR-1 HSN summary in one go.

What HSN and SAC are

The Harmonised System of Nomenclature is a product classification maintained by the World Customs Organisation and used by over 200 countries for customs tariffs. India adopted it for central excise and customs decades ago and carried it into GST in 2017. The Customs Tariff Act, 1975 extends the international 6-digit code to 8 digits for Indian tariff items.

The Services Accounting Code is India's own scheme for services, derived from the UN Central Product Classification. All SACs are 6 digits and begin with 99. Chapter 99 of the GST rate schedule lists them.

Under Rule 46(g) of the CGST Rules, a tax invoice must carry the HSN code of goods or the SAC of services. The rate schedules (Notification 1/2017-Central Tax (Rate) for goods and 11/2017 for services, as amended most recently in September 2025) are organised by these codes, which is why the code comes first and the rate follows.

The structure of the 8 digits

Take a cotton T-shirt: HSN 6109 10 00.

DigitsLevelExampleMeaning
61Chapter61Articles of apparel, knitted or crocheted
6109Heading6109T-shirts, singlets and other vests, knitted or crocheted
6109 10Sub-heading6109 10Of cotton
6109 10 00Tariff item6109 10 00Of cotton, no further split

Chapters are grouped into 21 sections (Section XI covers textiles, chapters 50 to 63). The first six digits match the international code used everywhere; the last two are India-specific. This is why a Jaipur handicrafts exporter can quote the same 6 digits to a buyer in Germany and the customs officer there recognises it.

SAC codes work similarly. Take 998314 (IT design and development services):

DigitsLevelMeaning
99ChapterServices
9983HeadingOther professional, technical and business services
99831GroupManagement consulting, IT and related services
998314Service codeIT design and development services

A few SAC codes small businesses see often: 996331 restaurant and food services, 996511 road transport of goods, 995411 to 995419 construction services, 997212 rental of commercial property, 998311 management consulting, 998399 other professional services, 999293 commercial training and coaching, 997159 other financial services, 998597 landscape and grounds maintenance.

How many digits you must print

Notification 78/2020-Central Tax, effective 1 April 2021, sets the requirement by aggregate turnover in the preceding financial year.

Aggregate turnover in the previous FYB2B invoicesB2C invoicesExports and imports
Up to ₹5 crore4 digits mandatory4 digits optional8 digits
Above ₹5 crore6 digits mandatory6 digits mandatory8 digits

Two related requirements:

  • E-invoicing. If you are covered by e-invoicing (turnover above ₹5 crore in any year since 2017-18), the IRP requires a valid 6-digit HSN for each line. See our e-invoicing guide.
  • E-way bills. The e-way bill portal validates HSN digits against the same turnover rule, and rejects invalid codes. See our e-way bill guide.

Printing more digits than required is always allowed. If you are close to ₹5 crore, switch to 6 digits in your item master now so the crossover year needs no change.

How to find the right code

  1. Start with what the product is, not what you call it. "Kurti" is not a heading; "women's dresses of cotton, not knitted" (6204 42) is. Describe the material, the process (knitted or woven), the use and the form (raw, semi-finished, finished).
  2. Search the GST portal. Services, User Services, Search HSN Code accepts a description or a code and returns the chapter, heading and rate. A HSN and SAC lookup does the same with a faster search.
  3. Read the chapter and section notes. The Customs Tariff has notes that include or exclude items from a chapter. Plastic furniture is in 9403 (furniture), not chapter 39 (plastics), because of such a note.
  4. Apply the General Rules for Interpretation. The specific description beats the general one (GRI 3(a)). Mixtures and sets are classified by the component that gives them their essential character (GRI 3(b)). If still tied, the heading that comes last in numerical order (GRI 3(c)).
  5. Check your supplier's invoice. The same goods should carry the same code down the chain. If your supplier uses 8517 62 90 for a router and you use 8471, one of you is wrong.
  6. Confirm the rate against the code. The rate schedule lists entries by HSN; some headings are split across rates by price or packaging conditions.
  7. Record it once. Put the code in your item master so every invoice, label and return uses the same one.

When a product genuinely straddles two codes, or when the rate difference is large (5% versus 18%), ask your CA or seek an advance ruling under Section 97 rather than guess. Classification disputes are the most common reason for rate demands.

Everyday codes for small businesses

A quick reference for common trades. Verify each against the current tariff before use, because sub-headings change.

BusinessItemHSN or SAC
Surat textile traderCotton woven fabric5208
Sarees of synthetic fibre5407
Knitted T-shirts6109
Kochi electronics shopMobile phones8517 13
LED TV8528 72
Ceiling fan8414 51
Laptop8471 30
Bengaluru cloud kitchenRestaurant and food services996331
Outdoor catering996334
Ludhiana transporterRoad transport of goods by GTA996791 or 996511 depending on service type
Pune freelance designerGraphic design998391 (specialty design)
Website development998314
Jaipur handicrafts exporterWooden handicrafts4420
Brass decorative articles7419
Cotton block-printed bedsheets6304

HSN summary in GSTR-1 (Table 12)

Table 12 of GSTR-1 reports outward supplies grouped by HSN or SAC, with description, unit (UQC), quantity, taxable value and tax by type. Since the May 2025 tax period the table has two tabs, B2B and B2C, and the code must be selected from the portal's dropdown rather than typed. For turnover up to ₹5 crore the B2C tab is optional; for above ₹5 crore both are mandatory and validated against the invoice-level data.

Practically this means:

  • Every sales line needs an HSN or SAC at the time of invoicing. Adding codes at month-end for hundreds of lines is where errors creep in.
  • Quantities need a valid unit from the UQC list (NOS, KGS, MTR, PCS and so on). Services use NA or OTH.
  • The taxable value in Table 12 must equal the sum of the invoice-level tables; the portal warns on mismatch and, for larger taxpayers, blocks filing.
  • The HSN summary is a favourite audit tool because it shows the department your product mix and rate mix in one table.

The GSTR-1 tables around it are explained in our GSTR-1 and GSTR-3B filing guide.

A worked example: setting up an item master at a Kochi electronics shop

Anil's shop had a turnover of ₹3.2 crore in FY 2025-26, so he must print 4-digit HSN on B2B invoices. He sells mostly B2C and prints 4 digits on those too, so the item master is consistent. His top items after the September 2025 rate changes:

ItemHSN (4 digit)HSN (6 digit, for later)RateRetail MRPTaxable value per unitTax per unit
43-inch LED TV85288528 7218%₹28,320₹24,000₹4,320
Ceiling fan84148414 515%₹2,310₹2,200₹110
Smartphone85178517 1318%₹17,700₹15,000₹2,700
Mixer grinder85098509 4018%₹4,130₹3,500₹630
Extended warranty9987 (SAC 998719)99871918%₹2,360₹2,000₹360

In August 2026 he sells 12 TVs, 40 fans, 25 phones, 30 mixers and 10 warranties. His Table 12 B2C tab shows five lines:

  • 8528: qty 12, taxable ₹2,88,000, CGST ₹25,920, SGST ₹25,920
  • 8414: qty 40, taxable ₹88,000, CGST ₹2,200, SGST ₹2,200
  • 8517: qty 25, taxable ₹3,75,000, CGST ₹33,750, SGST ₹33,750
  • 8509: qty 30, taxable ₹1,05,000, CGST ₹9,450, SGST ₹9,450
  • 998719: qty 10, taxable ₹20,000, CGST ₹1,800, SGST ₹1,800

Total taxable ₹8,76,000 and total tax ₹1,46,240, which must equal his Table 7 B2C total for the month. Because the codes were fixed in the item master, the summary took two minutes; the risk of a typed "8258" for a TV never arose. He also prints the HSN on the shelf and product labels so staff pick the right item at billing.

Common errors

  • Mixing up HSN and SAC. Putting 9983 on a goods line or 8517 on a service line. Services always start with 99.
  • Printing too few digits. A 2-digit chapter code on a B2B invoice for a business above ₹1.5 crore was acceptable before April 2021; it is not now.
  • Using the supplier's code blindly when the product changes. Fabric bought under 5208 and sold as a stitched kurta is 6204 or 6211; job work changes the code.
  • Classifying by use instead of form. A steel rack used in a kitchen is still furniture (9403), not kitchenware.
  • Ignoring price and packaging conditions. The same 6403 footwear heading is 5% or 18% depending on the sale price per pair; the code does not change but the rate does.
  • Wrong UQC in Table 12. Reporting fabric in NOS instead of MTR, or leaving quantity blank for goods.
  • Different codes on the invoice, the e-way bill and the return. The portals cross-check; keep one item master.
  • Not updating after a rate change. When an entry moved from 12% to 5% in September 2025, the HSN stayed the same but the item master rate needed a change.
  • Composite supplies. A laptop with a bag is classified as a laptop (8471); do not invent a separate code for the free bag.

How VyaparKit helps

The HSN and SAC lookup is free and needs no login; search by description or code and read the heading before you commit. In the GST invoice tool each saved item carries its HSN or SAC and rate, so every invoice line and the GST report's HSN grouping come from one master. Product labels and the barcode generator let you print the code and a scannable barcode on shelf labels so billing staff pick the right item. VyaparKit does not validate classification for you; the code you choose is your responsibility, so check it once, carefully.

Next steps

  • Find last year's aggregate turnover and note whether you need 4 or 6 digits (8 if you export).
  • Build an item master with description, HSN or SAC, unit, and rate for every item you sell.
  • Cross-check the top 20 items against your supplier invoices and the current rate schedule.
  • Make the code a mandatory field at invoicing so Table 12 fills itself.
  • Review the master after every GST Council rate change.

Frequently asked questions

How many digits of HSN code must I mention on an invoice?
Under Notification 78/2020-Central Tax, taxpayers with aggregate turnover up to ₹5 crore in the previous financial year must print 4-digit HSN on B2B invoices (optional on B2C), and those above ₹5 crore must print 6 digits on all invoices. Exports and imports need the full 8-digit code under the Customs Tariff. Service providers use the 6-digit SAC.
What is the difference between HSN and SAC?
HSN (Harmonised System of Nomenclature) classifies goods and follows the World Customs Organisation system, extended to 8 digits in India. SAC (Services Accounting Code) classifies services, is 6 digits, and always starts with 99. Both are used to fix the GST rate and to report the HSN-wise summary in GSTR-1.
What happens if I use the wrong HSN code?
A wrong code can mean a wrong rate, which leads to short payment with interest and penalty, or overpayment you cannot easily recover. It also causes mismatches in the GSTR-1 HSN summary and rejected e-way bills or e-invoices. Section 125 allows a general penalty of up to ₹25,000 for contraventions such as incorrect invoice particulars. Correct the item master and issue credit and debit notes where the rate changed.
Where do I find the HSN code for my product?
Use the HSN search on the GST portal (Services, User Services, Search HSN Code) or a lookup tool, then confirm by reading the chapter and heading notes in the Customs Tariff. Check the code on your supplier's invoice for the same goods. When two codes seem possible, the more specific description wins, and your CA or an advance ruling can settle a doubt.

This guide is general information for Indian small businesses as of 15 Jul 2026. Rates, thresholds and due dates change by notification; confirm the current position on the relevant government portal or with your chartered accountant before acting.

All GST guides →