Q QWIK INVOICE
Q QWIK INVOICE

HSN & SAC Codes Explained: How Many Digits Do You Need?

Written by Naresh, Founder of QWIK INVOICE · Last updated: 15 August 2026

How many HSN digits you need depends entirely on your turnover: up to ₹5 crore in the preceding financial year, you need a 4-digit HSN code on B2B tax invoices; above ₹5 crore, you need 6 digits on every invoice. Services use a separate but parallel system — SAC codes, conventionally shown at 6 digits. Getting the code right matters because it's what determines the GST rate that applies.

What's the actual difference between HSN and SAC?

HSN (Harmonized System of Nomenclature) is an internationally standardized system for classifying goods — it's the same system used in customs and international trade, adapted for GST. SAC (Services Accounting Code) is India's parallel system specifically for classifying services. Every line item on a GST invoice needs one or the other, depending on whether you're billing goods or services — see our goods vs services invoice guide if you're not sure which applies to a specific line item.

How many digits does my invoice actually need?

Aggregate turnover (preceding FY)HSN digits required (B2B tax invoices)
Up to ₹5 crore4 digits
Above ₹5 crore6 digits

"Aggregate turnover" here means your business's total turnover in the previous financial year, not the value of the individual invoice. SAC codes for services are conventionally shown at 6 digits regardless of turnover, following the same underlying classification depth as the 6-digit HSN tier.

Why does using the wrong code actually matter?

It's tempting to treat the HSN/SAC field as a formality, but the code is directly tied to the GST rate that legally applies to what you sold. A misclassified item can mean you've charged 12% when the correct rate was 18%, or vice versa — which creates a real under- or over-collection that has to be corrected, and can draw scrutiny in a review if it happens repeatedly or at scale. Treat the code as a rate lookup, not just a label.

Some common codes freelancers and small businesses use

These are illustrative examples only — always verify the exact code for your specific service on the GST portal's HSN/SAC search tool rather than copying an example, since service scopes can be classified differently depending on exact specifics:

Service (illustrative)Typical SAC
Software development / IT services998314
Graphic design services998386
General management consulting998311
Web hosting / related services998315

How do I actually find the right code?

Three practical routes, roughly in order of reliability: (1) the GST portal's own HSN/SAC finder, which lets you search by keyword or browse by chapter/heading; (2) checking what code similar businesses in your trade association or industry body commonly use for the same service; (3) asking a tax professional to confirm, especially if your product or service could plausibly fall under more than one heading. Avoid relying purely on a code you found via a general web search without cross-checking it against the official portal. See our dedicated GST rate finder guide for a step-by-step walkthrough of this lookup process and how to read the results.

Does HSN/SAC change how much CGST, SGST or IGST I charge?

No — these are two independent parts of an invoice. HSN/SAC tells you what rate applies to the item; whether that tax is then split into CGST+SGST or charged in full as IGST depends purely on where the sale happens, covered fully in our CGST vs SGST vs IGST guide. The two decisions are made separately but both show up together on the invoice line.

For everything else a compliant invoice line needs alongside its HSN/SAC code, see the full GST invoice format checklist. QWIK INVOICE's invoice generator has a dedicated HSN field on every line item, so once you've confirmed the right code, it's reused automatically on future invoices for the same item.

This guide is general information, not tax advice. Confirm specifics with a qualified tax professional or chartered accountant, or the GST portal / CBIC directly, before relying on it.

Frequently asked questions

Do I need an HSN code if I only sell services?

Services use SAC (Services Accounting Code), not HSN — the two are separate coding systems under the same broader classification scheme, but the requirement is the same: your invoice needs the right code so the correct GST rate is clearly identifiable.

Is HSN mandatory on B2C invoices too, or only B2B?

The digit-count rule applies primarily to B2B tax invoices. For B2C sales, especially below the ₹5 crore turnover threshold, HSN display isn't always mandatory the same way — but many businesses show it anyway for consistency across all their invoices, and QWIK INVOICE does this by default.

What happens if I use the wrong HSN or SAC code?

The bigger risk isn't the code itself — it's the GST rate tied to it. Different HSN/SAC codes can carry different rates, so an incorrect code can mean you've charged (and remitted) the wrong amount of tax, which can require correction later and, in some cases, attract scrutiny or penalty exposure during a review.

Where can I look up the correct HSN or SAC code for my product or service?

The GST portal has a dedicated HSN/SAC search tool where you can look up codes by description or browse by chapter. For anything ambiguous — a product that could plausibly fall under two categories — it's worth cross-checking with a tax professional or your trade association's guidance rather than guessing.

Does the HSN code affect which of CGST/SGST or IGST I charge?

No — those are two separate decisions. HSN/SAC determines what you're classifying and what GST rate applies to it; whether that tax is split as CGST+SGST or charged as IGST depends entirely on whether the sale is within your state or across states. See our CGST/SGST/IGST guide for that separate rule.

How many digits of HSN or SAC are required on a GST invoice?

It depends on turnover. Up to ₹5 crore in the preceding financial year you need a 4-digit HSN code on B2B tax invoices; above ₹5 crore you need 6 digits on every invoice. SAC codes for services are conventionally shown at 6 digits regardless of turnover. Check the current notification for your turnover band before you rely on this.

Ready to put this into practice?

Create Your Invoice Free