HSN codes classify goods and SAC codes classify services. On an invoice or a purchase bill, each line item carries one of them, depending on whether the line is a thing you sell or buy, or a service. The practical habit is to keep a small lookup list of codes against your regular items, so you copy them rather than search each time.
What is the difference between HSN and SAC?
HSN (harmonised system of nomenclature) is a numbering system for goods. SAC (services accounting code) is the equivalent for services. A box of printed brochures is goods and takes an HSN field; repair labour is a service and takes a SAC field. A single bill can have both, for example when a repair includes parts and labour.
Which field goes on which line?
| Line item | Goods or service | Code field to fill | Where to get the value |
|---|---|---|---|
| Printed brochures | Goods | HSN | Copy from the supplier's bill |
| Packing tape | Goods | HSN | Copy from the supplier's bill |
| Office chair | Goods | HSN | Copy from the supplier's bill |
| Laptop repair labour | Service | SAC | Copy from the repair shop's bill |
| Web design work | Service | SAC | Copy from your own invoice |
| Courier charges | Service | SAC | Copy from the courier's bill |
This sample item master has six rows and, on purpose, no real codes. Copy the code exactly as printed on a genuine bill, and do not guess one from memory or from a list.
Why keep an item master?
An item master is a list of the things you regularly sell or buy, with a standard name, unit and the code taken from a correct bill. When you raise a new invoice or record a bill, you pick from the list. It saves time, and it keeps the same item from appearing under three different names.
How do you set one up in a sheet?
- Make columns for item name, goods or service, code, unit and notes.
- Fill the code only from a real bill or your adviser's answer.
- Keep one row per item, with no duplicates.
- In your purchase or sales sheet, look up the code by name, for example =VLOOKUP(B2,$A$2:$D$100,3,FALSE) where column C of the list holds the code.
In Excel 365 and recent Google Sheets, XLOOKUP is an alternative to VLOOKUP, and its availability depends on your version.
How do you avoid putting the wrong field on a line?
Ask one question about each line: could I put this in a box and hand it over, or is it someone's time and skill? A physical item is goods and takes the goods code field. Labour, a subscription, a design job or a courier service is a service and takes the services code field. Mixed bills are common. A repair bill with ₹3,000 of parts and ₹1,500 of labour needs two lines with two code fields, not one line of ₹4,500. Splitting them keeps each code against the right amount.
What if the code is missing from a bill?
Leave the field blank and add a note that the bill had no code, instead of guessing. Ask the supplier, or check with your CA. A wrong code is harder to spot later than a blank one.
Do codes carry a rate?
A code identifies the class of goods or services, and tax treatment is tied to rules that change from time to time. This article does not list codes or rates; use the figures printed on your bills and confirm anything doubtful with your CA.
SpendixAI categories can carry an accounting code and tax settings of their own, which is a handy place to keep a code against a category, but it is not an item master or an invoicing tool.
Useful ideas start with a clearer picture of your own spending.
Explore your reports

