Every invoice under GST must describe goods or services in a way that maps to a classification code. Goods use the Harmonised System of Nomenclature (HSN) and services use the Service Accounting Code (SAC). Choosing the right code matters because the rate, the return reporting and the e-invoice all depend on it. This guide explains how many digits are generally required, how to pick a code and what to do when two codes seem to fit. Verify the current notification before relying on the digit limits below.
1. What HSN and SAC actually are
HSN is an international system with a six-digit core; India extends it to eight digits for tariff purposes. SAC is a national code for services that starts with 99 and runs to six digits. A taxpayer does not invent a code; the code is found by matching the product or service description to the tariff schedule and the GST rate notifications.
2. How many digits are required?
| Taxpayer profile (turnover in the previous year) | Digits generally required on tax invoices (verify) |
|---|---|
| Up to Rs 5 crore | Fewer digits, commonly four for B2B supplies and optional for B2C |
| Above Rs 5 crore | Six digits generally |
| Exports and imports | Eight digits generally expected |
These limits have been revised over time, and the GSTR-1 return also asks for HSN summary details in a prescribed table. Confirm the latest requirement on the GST portal and in current notifications before filing.
3. Step by step: choosing the right code
- Write down the exact nature, composition and use of the item or service.
- Search the HSN or SAC schedule on the official GST resources using key terms.
- Read the chapter notes and the heading description, not only the code title.
- Check the rate notification for the matching entry, as rates are linked to descriptions and codes together.
- Record the reasoning, especially where two codes could apply.
- Update the item master in your billing software and run a sample invoice.
4. A worked example
A trader sells packaged branded cereal flakes. The product might fall under a chapter for cereal preparations, and a particular rate may apply depending on whether it is pre-packed and labelled. A second product, loose unbranded grain, may sit in a different heading with a different treatment. The takeaway is that two similar-looking items can have different codes and rates, so verify each against the current schedule rather than copying a competitor's invoice.
5. Where the code is used
- On tax invoices, bills of supply and credit or debit notes.
- In the HSN summary of the monthly or quarterly GSTR-1.
- In e-invoicing and e-way bill generation, where it is mandatory and validated.
- For ITC claims, where mismatches can lead to supplier queries.
6. Common mistakes
- Using a generic or default code for the entire item master.
- Applying a service code to a product that is really a supply of goods.
- Ignoring a rate change that came with a revised description.
- Entering fewer digits than required for the turnover category.
- Not reviewing old codes after a notification amends the tariff.
A wrong classification can lead to short payment of tax, interest and, in some cases, penalty. The consequences depend on facts, so verify the provisions that apply.
Frequently asked questions
Is the HSN code mandatory for services?
Services use SAC, and it is generally expected on invoices subject to the reporting rules.
Can I change the code mid-year?
Yes, if the earlier code was wrong or the tariff changed, but document the reason and review past returns.
Who decides if there is a dispute?
The tax authority or the advance ruling mechanism may decide classification, so keep supporting material ready.
Do composition dealers need HSN?
Reporting duties differ for composition taxpayers, so check the current requirement.
Is the same code used in customs and GST?
Goods generally follow the same HSN structure, though the digit levels and duty rates differ.
Where can I find the official list?
On the GST portal and the CBIC tax resources, which carry the schedules and notifications.
Related reading
- HSN and SAC Codes under GST: How to Find the Right Code and Digits Required
- GST Tax Invoice Rules: Mandatory Fields and Time Limits
- GST Invoice Rules: Mandatory Details, Time Limits and Bill of Supply
Get help
Our team can help review your item master, rates and HSN reporting before you file returns. You can read more about our related service or contact the team through the website.



