# Invalid HSN/SAC Code

## Guide to resolve invalid HSN/SAC code error

If you face the following error while importing your data using the ClearGST Tally Connector, follow the steps to identify the source of the error and resolve the same in Tally

### **Error - Invalid HSN/SAC code and description**

### **Step 1: Open the invoice in tally.**

![](https://lh3.googleusercontent.com/D-lUVrjpJd1xiQpNByQgK9qa2FYS3Ebnh46GWofgoQ3MKPO96wQZDP6do1dRQ1xuQQ1HcvBf4RFPCZxejhb921osEjK9muAoWLUDeaDehiKNNFjiEJ1CT1_OumtdAe-7_Nh-VI_m=s0)

### **Step 2: Inventory/Ledger Details**

Check the line item which is giving the invalid HSN error and open the details of that inventory or ledge&#x72;**.** Set/Alter statutory details as ‘Yes’

![](https://lh6.googleusercontent.com/RMAw-ouK-yFrug0KuuYeIBJ9LxuR-16ADZKoa6vh5YTVKfLa_d7rwqEReS1V7gD-J7MdsAc5W2AsDlDH4CSZ1YLkKGs8doSAxPyiJu1wkfJkYN5-eAKbqoae5y8zONrxABK9CSLz=s0)

### **Step 3: Tax rate history**

Check the tax rate history (Alt+L) to verify the HSN/SAC code

### **Verify sub-group ledgers**

A similar check needs to be done in all the main group vouchers as well if it is a sub-group ledger. You can follow the below steps to perform the same checks for a sub-group ledger&#x20;

**Step 1: From the Gateway of Tally, select Feature (F11)**

![](https://lh6.googleusercontent.com/81inh-o7JCnnR-vVn4vZ-5K0gfkkr6GQAB2azIAQXLjiT9tdgJ3K2MInVAbsli0nhx9MdO1CARuFKOU7v8SSUgcMxGOAdFVQLtbaJdJZVO7mJFoWSKi-jlwyXKve6Iwdo2YEdyDo=s0)

**Step 2: Then select statutory and taxation**&#x20;

![](https://lh6.googleusercontent.com/VabQixq-jsqd_QIwdMbjX-ugaaQzQNZtJxc24u6iQ-IxE2teeHYqbOf5BvDILkK88BT6ZtSnwUC_rte2iaMnQVfuVYjOU-kZZeTOOxhiK0TuqqC-vO1evnTm6bfvw4xkYmtfBKZ4=s0)

**Step 3: Set/Alter GST details as 'Yes'**

![](https://lh5.googleusercontent.com/X6zZauukb9jT7ofz1G0DTo0dzHRpK2vmwbuYMoCNhNBhRKFJSvaglv-XgikkMaKm3iMJYJ89Ra7fDgUYc5hfwA5dzRg1hSDeAMH01nK97pr8NztOHO8BlfE9S6Ss6Ct7NTWmooW-=s0)

**Step 4: Also set/Alter GST details from the company screen as 'Yes'**

![](https://lh6.googleusercontent.com/2mg40gwlBvb9m3D-4rRr3t6wivCCCmzdQmfgt15XeCNEbkuJ4rsMAoBjcUKYB2_6RRzO8nLuvWiIiJEsj8T1l52_GxhBenBtSklqD2izkunyfaM57Lx0MxeerueiolqJTncgMwOV=s0)

**Step 5: Then verify the HSN/SAC code in the tax rate history**

![](https://lh5.googleusercontent.com/kN3xKDbn-s0zeCmrK64N12_xiQKWpoEAzrt5s72v7WIhkwBaLG340XvwcPQgV9Oe2bUs4PK9ZugiGwc4ybt19yG5tHTptqa9Rn0ZYrbQbOE7GF4ONw-o-psbzNJSbFEIzR0o_Bvg=s0)

### Verify print preview

Lastly, check the print preview of the invoice to check which HSN/SAC code is displaying in print.&#x20;

**Step 1: Open the invoice**

![](https://lh5.googleusercontent.com/d31IqoNLImLYKqH7Zo1ivFQRoKKeIQn-VowKCCHlZRco_vo6HXXO5ioozoGQCtUxoeEsnoFqp5EUo2cOKwnbURPsJBo5u0dXpOwNK1WAXDMhMJS68GOixWjJIv3-vBa9336kcyWJ=s0)

**Step 2: Print the invoice (Alt+P)**&#x20;

![](https://lh5.googleusercontent.com/q34UXjf26O6vhnvJhopJ9PIaTSPft6s1C9CXdZ6twA8xXGRrtmS-sCj8342wjyCkbfZKGyEVbbGCfuJvIdaff_A0qB7mY7B9mlk-1rBpMbAAj89Db0oBrHmoQlyUG4KquZor-NJV=s0)

**Step 3: Ensure the with preview option is enabled.**&#x20;

**Step 4: Also, in the standard sales configuration, accessible by clicking on Configure (F12), under statutory details of GST,  mark HSN/SAC details and GST % column as 'Yes'**

![](https://lh4.googleusercontent.com/36wNX653bJ97BlF1btjz_XFKyVEbMq3QMEaM3qTFwWYtM6adfoSfWXtugCger5yr2WNdbPOl4KuBMbs4jVDZM5ShKfI0FfirkRWQo9CAIZW76P5Mv--IE5B0Pe6MkxNKsCBWBWk4=s0)

**Step 5: Check and verify the HSN/SAC code on the print preview screen**

![](https://lh6.googleusercontent.com/OyloGTO237DfYNEt4N7R69MddO-MhxyDikiVw0zo9xEKKdNs9lNJ27Hku-G_IXpgYJIrkYdndut0AEkCi5H7SL1dOwkrZ3fU2zzoCwli4uZy5ZGUep6zCC2N_OpV2WtOqycSvxuF=s0)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cleartax.in/product-help-and-support/for-large-businesses/gst-compliance/tally-connector-for-gst/common-tally-errors-and-resolution/errors-in-data-imported-via-tally/invalid-hsn-sac-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
