Every GST invoice you raise needs the right classification code, and getting it right starts with understanding the HSN code. An HSN code is a standardised number that classifies goods so that they are taxed and reported consistently across India. Its services counterpart is the SAC code. This practical guide explains what each code is, how many digits you must report based on turnover, and how to find the correct code for your products and services.
What is an HSN code?
HSN stands for Harmonised System of Nomenclature, an internationally recognised system for classifying goods. Under GST, every product is assigned an HSN code that determines how it is described, taxed, and reported. The code is hierarchical: the first two digits identify the chapter, the next two the heading, the next two the sub-heading, and further digits provide more granular classification. The more digits, the more precisely the product is identified.
Using the correct HSN code matters because it ties your product to the right GST rate and ensures your invoices and returns reconcile with the rest of the supply chain. An incorrect code can lead to charging the wrong rate, mismatches in your filings, and questions during assessment. When you are listing products in your catalogue, assigning the HSN code once and reusing it keeps every future invoice consistent.
What is an SAC code?
SAC stands for Services Accounting Code, and it does for services what HSN does for goods. If you provide consulting, software development, transport, repair work, or any other service, you classify it using an SAC code rather than an HSN code. The structure is similar: a numeric code that identifies the category and nature of the service, mapping it to the applicable GST rate.
The practical rule is simple: goods are classified with HSN codes, services are classified with SAC codes. Many businesses supply both, for example a company that sells equipment (goods, HSN) and also offers an annual maintenance contract (service, SAC). In that case each line on the invoice carries the appropriate code for what it represents. Keeping the two straight avoids misclassification and the filing errors that follow.
How many HSN/SAC digits must you report? (by turnover)
This is the question that causes the most uncertainty, because the number of digits you must report on invoices and in returns depends on your aggregate annual turnover. The principle is that larger businesses must report codes at a more detailed level, while smaller businesses may report at a less granular level. As turnover rises, the required number of digits increases.
The HSN digits turnover relationship is tiered: businesses below a certain turnover threshold report fewer digits, and businesses above it report more, with additional rules for exports and certain B2B supplies. Because these thresholds and the exact digit requirements have been revised over time, you should not rely on a number from memory or an old article. Always confirm the current digit requirement for your turnover band on the official GST portal at https://www.gst.gov.in before configuring your invoices.
A safe operational habit is to store the fullest available code for each product and service in your master data. That way you can always report the required number of digits for your turnover band, and you are ready if the threshold for your business changes.
Where HSN/SAC codes appear (invoice, GSTR-1 HSN summary)
HSN and SAC codes show up in two main places. First, on the tax invoice itself, where each line item carries the code for the goods or services supplied, alongside the description, taxable value, and tax. If you want a refresher on every mandatory field, our guide to the GST invoice format shows exactly where the code belongs.
Second, codes are aggregated in the HSN summary section of your outward-supplies return (GSTR-1), where you report supplies grouped by HSN/SAC code along with quantities, taxable value, and tax amounts. This summary is how the tax authority sees, at a glance, what categories of goods and services you supplied during the period. If your invoices use inconsistent or incorrect codes, the HSN summary will not add up, which is a frequent cause of return-filing errors and notices. Confirm the current HSN summary format on https://www.gst.gov.in, as the reporting tables are periodically updated.
How to find the right HSN/SAC code
Finding the correct code is mostly about precise classification. A reliable approach:
- Describe the item exactly. Start from what the product or service actually is, not a loose marketing name. The clearer the description, the easier it is to classify.
- Use the official search. The GST portal at https://www.gst.gov.in provides an HSN/SAC lookup where you can search by keyword or code and confirm the classification and the latest position.
- Work down the hierarchy. Identify the broad chapter first, then narrow to the heading and sub-heading until you reach the most specific applicable code.
- Check similar products. If you sell variants, make sure related items are classified consistently rather than under different codes.
- Confirm the rate. Once you have a code, verify the GST rate it maps to so your invoices charge correctly.
When you are genuinely unsure, especially for borderline or composite items, it is worth confirming with a tax professional rather than guessing. A wrong code repeated across hundreds of invoices is far more expensive to fix later than getting it right once.
Why correct codes matter (e-invoicing, ITC)
Accurate HSN and SAC codes are not just a compliance formality; they affect real outcomes. Under e-invoicing, invoices are validated and registered on the government system, and the codes you use feed directly into that process. Incorrect or mismatched codes can cause validation issues and downstream reconciliation problems. Our guide to GST e-invoicing explains how invoice data, including classification codes, flows through the system.
Correct codes also protect input tax credit. When your codes and tax rates line up with what your buyers report, ITC reconciles smoothly; when they do not, claims can be questioned and mismatches surface during audits. In short, the right HSN or SAC code keeps the whole chain, your rate, your e-invoice, your return, and your customer's credit, in agreement.
Manually looking up and re-typing codes on every invoice is slow and error-prone. With Invodo you assign the HSN or SAC code once per product or service, and it flows automatically onto every invoice and into your HSN summary with the correct tax computed for you. Try our free GST calculator to check rates and totals, then let Invodo handle the codes and compliance end to end.
Put this into practice with Invodo
GST-compliant invoicing, e-invoicing, and purchase management built for Indian businesses.
Invodo Editorial
Reviewed by a Chartered Accountant
The Invodo editorial team writes practical, India-specific guides on GST and business finance. Compliance content is reviewed by a practising Chartered Accountant.