HSN and SAC codes: what they are and how many digits you need
GST guide, 2 min read. Updated 19 November 2026.
HSN and SAC codes are the numeric codes that identify what you sell. The code decides the GST rate, appears on invoices, and fills the HSN summary in GSTR-1. Choosing the right one avoids rate disputes and return errors.
HSN for goods, SAC for services
- HSN, the Harmonised System of Nomenclature, classifies goods. Codes run to 8 digits, and GST invoices use 4, 6 or 8 of them depending on the business.
- SAC, the Services Accounting Code, classifies services. Codes have 6 digits and begin with 99.
How many digits to show
The number of digits that must appear on a business-to-business invoice depends on your annual turnover. At the time of writing, businesses with turnover up to ₹5 crore use 4 digits and larger businesses use 6. Rules for sales to consumers differ for smaller businesses. These limits are changed by notification, so confirm the current requirement with your CA or on the GST portal.
How to find the right code
- Start from what the item is, what it is made of and what it is used for.
- Search the product name in the HSN or SAC search on the GST portal, or in the customs tariff.
- Check the GST rate attached to that code, and whether it depends on the price or a condition.
- If two codes seem possible, ask your CA, and note the reason you chose one.
- Use the same code every time for the same item.
Where the code is used
- On every line of the tax invoice.
- In the HSN summary of GSTR-1, which lists quantity and value for each code and rate.
- In e-way bills and e-invoices, where you use them.
Common mistakes
- Using a code for a similar product that has a different rate.
- Leaving the code out because a customer does not ask for it.
- Using different codes for the same item in different invoices.
- Treating a service as goods or the reverse.
How NexGen ERP helps
- Each item and service stores its HSN or SAC code and GST rate once, and every invoice line uses it.
- The HSN summary for GSTR-1 is prepared from your invoices, with quantity, value and tax by code and rate.
- You can import your item list with HSN codes, units and rates from Tally, Vyapar or Excel, and rows with a missing rate are flagged.
Frequently asked questions
Is an HSN code mandatory for every invoice?
The requirement depends on turnover and on whether the sale is to a business. Larger businesses must show it on all invoices. Check the current rule for your turnover.
Who decides the HSN code, me or the customer?
You decide, based on what you supply. Your customer can ask you to correct it if it is wrong.
Does the GST rate change if I use a different code?
Yes, it can. That is why the right code matters.
Related guides
GST
GST invoice format in India: what every tax invoice must contain
A plain checklist of the details a GST tax invoice must show in India: invoice number rules, GSTIN, HSN or SAC, place of supply, tax split and common mistakes.
4 min read
GST
GSTR-1 and GSTR-3B explained for small businesses
What GSTR-1 and GSTR-3B are, what goes in each, who files them and when, how they fit together, and how to prepare the data from your invoices and purchase bills.
3 min read
This guide is general information, not tax, legal or accounting advice. GST rules, rates, limits and due dates change by notification, so confirm the current position with your Chartered Accountant or the GST portal before you act.