> 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/sales/edit-hsn-code-while-billing.md).

# Edit HSN Code while Billing

**YouTube:** [How to Enter Scheme (Rs) or Scheme Value per Item in Sale Bill?](https://www.youtube.com/watch?v=Iv9nOqPH6ko)

## How to Change HSN Code for Items While Creating a Sale Bill?

In this tutorial, we’ll learn how to **edit or modify the HSN code** while creating a sales bill in Logic ERP.

***

### Edit HSN Code During Sales Bill Creation

* Generate a **Sales Bill**.
* In the **Item Search List**, you can see the HSN code of the selected item (for example, `62`).
* To edit, press **F4** on the selected item.

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

* The **Harmonious Search List** window will open → modify the HSN code as needed.

<figure><img src="/files/8MGOX6GNpnuAHzsPWCRA" alt=""><figcaption></figcaption></figure>

The modification will be applied instantly.

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

***

### Verify HSN Code in Item Setup

* Go to **Setup → Item Multiple Pack Sizes**.
* Check the HSN code of the respective item.
* You’ll see the updated code has been successfully applied.

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

***

### Allocate HSN Codes to Multiple Items

Logic ERP also provides a feature to **allocate HSN codes to multiple items** simultaneously. This can be done in two ways:

#### Method 1: Manual Allocation

* Navigate to: Setup\Setup Items and then select **"Allocate Items to Harmonious Codes/Descriptions".**
* Select the items for which you want to update the HSN code.
* Click **Refresh** and choose **Overwrite Existing**.
* Select the **HSN Serial Number**, press **F2**, and choose the desired HSN code.

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

* A confirmation window will appear → click **Yes** to apply the code to all selected items.
* The HSN code is now updated successfully.

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

***

#### Method 2: Allocation via Excel

* First, check the current HSN code of the item (e.g., `610462`).

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

* Go to the **Excel Help Option** to see the required column format.
* Create an Excel sheet with the updated HSN codes.
* In the allocation window, select **Retrieve from Excel**.
* Choose **Overwrite Existing**, then browse and upload the Excel file.

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

* Click **Refresh** → the HSN field will now display the updated value.
* Save the data.

The new HSN codes are successfully allocated to the respective items.

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


---

# 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/sales/edit-hsn-code-while-billing.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.
