> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/gst/hsn-code-error-in-gst-returns.md).

# HSN Code Error in GST Returns

**YouTube:** [How to Correct Blank HSN Codes While Creating GST Returns?](https://www.youtube.com/watch?v=Hm2fe6-p808)

## How to Correct Blank HSN Codes While Creating GST Returns?

### **Tutorial: How to Identify and Correct Blank HSN Code Entries in Logic ERP**

In this tutorial, we’ll learn how to identify and correct **blank HSN code entries** to ensure your **GST return** is accurate and error-free.

***

#### **Open the GST Returns Module**

* Navigate to the **GST Returns** module.
* Select the desired **GST return type** (e.g., GSTR-1, GSTR-3B, etc.).
* Choose the **time period** for which you want to generate the return.
* Click on the **Generate** button.

<figure><img src="/files/y8Mklm7g8CdfB5jRNDa0" alt=""><figcaption></figcaption></figure>

***

#### **Identify Blank HSN Code Entries**

* Click on the **HSN column** to view the detailed HSN data.
* As shown, any **blank HSN column** indicates that the corresponding item was transacted **without an assigned HSN code** in the Item Master.

<figure><img src="/files/OOp6ylNZv2q7cbAfVupV" alt=""><figcaption></figcaption></figure>

**Note:** Submitting a GST return with missing or incomplete HSN codes may result in rejection or incomplete filing.

***

#### **Open the HSN Allocation Module**

* Navigate to the Setup\Setup Items and then select **"Allocate Items to Harmonious Codes/Descriptions".**
* Click on **Select Items** to open the item selection window.
* Open the **HSN Code Filter** dropdown and choose **Nil** to filter only the items that do not have an assigned HSN code.

<figure><img src="/files/StjtJ3CDNlONfbSX5bhD" alt=""><figcaption></figcaption></figure>

* Click **Search** — all items without HSN codes will be listed.

***

#### **Assign the Correct HSN Code**

* Select the item with the blank HSN code and click **OK**.
* Click on **Refresh** to load the selected item.

<figure><img src="/files/cXmuR7gTcC7Ts3IFWVg4" alt=""><figcaption></figcaption></figure>

* To allocate a new HSN code, press the **Spacebar** to open the **HSN Code Search Window**.
  * Note: If you want to change multiple HSN codes, press **F2**, and make sure the **Overwrite HSN Code** option at the top is ticked.
* From the list, select the correct **HSN code** corresponding to the product.

<figure><img src="/files/6quHGKzQGjd7FdHpZoCu" alt=""><figcaption></figcaption></figure>

* Click **Save** to update the details.

***

#### **Verify in GST Return**

* Return to the **GST Returns** module.
* Regenerate the GST return for the same period.
* Check the **HSN column** again — the previously blank field now displays the correct **HSN code**, confirming that the issue has been successfully resolved.

<figure><img src="/files/t5Z0QBe27mT7DnTepuFN" alt=""><figcaption></figcaption></figure>

Your GST return is now complete and ready for submission without any missing HSN code entries.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/gst/hsn-code-error-in-gst-returns.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
