> 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-learning-hub-tutorials-and-best-practices/accounts/configuration/journal-voucher-configuration/do-not-allow-entry-without-hsn-code.md).

# Do not Allow Entry Without HSN Code

**YouTube:** [How to Prevent Entry Without HSN Code in Journal Vouchers?](https://youtu.be/zTN1Ys7yTcc)

## How to Prevent Entry Without HSN Code in Journal Vouchers?

In this tutorial, we will learn how to restrict Journal Voucher entries if the HSN Code is not defined in Logic ERP. This feature ensures GST compliance by making HSN Code entry mandatory for taxable goods and services during Journal Voucher transactions.

***

### Objective of This Feature

* Make HSN Code mandatory in Journal Voucher entries
* Ensure GST compliance
* Prevent incomplete taxable transactions
* Improve GST return accuracy
* Restrict voucher saving without HSN details

***

### Access to Journal Voucher Configuration

* Go to **Menu Bar → Configuration.**
* Open **Journal Voucher Configuration.**
* Select Required **Configuration** from the dropdown list.
* Navigate to **Other Options Tab**
* Locate and enable the option labeled as:

> **“Do not Allow Entry Without HSN Code”.**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FDXDOcIrOMvL62HuWJ8Go%2FCNF.png?alt=media&amp;token=1dd5ea50-64c5-4ca9-a594-61915fdf7f75" alt=""><figcaption></figcaption></figure>

* Save the Configuration.

***

### Create a New Journal Voucher Entry

* Return to **Journal Voucher Entry Window.**
* Initiate **New Journal Voucher Entry.**
* Select GST Account during voucher entry.

**System Behavior**

* The software immediately:
  * Restricts the process.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FxNAz08ATydURCKiyjXya%2FHSN%20Prompt.png?alt=media&amp;token=b4c8eb7d-d450-4632-9a11-e4e6e77f3300" alt=""><figcaption></figcaption></figure>

* **Displays:**
  * Message stating that the HSN Code is mandatory.

**Define the HSN Code**

* Enter Required HSN Code.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FOT254fzT6KSk82uJmDpL%2FSave.png?alt=media&amp;token=72b2930f-eae0-4f83-bd79-ac0c9932e2e4" alt=""><figcaption></figcaption></figure>

**Result**

* Once the HSN Code is defined:
  * The software allows the Journal Voucher to be saved successfully.

***

### Importance of HSN Code in GST

* As per GST rules: HSN Code is mandatory for taxable goods and services.

***

### Benefits

* Proper GST classification.
* Accurate GST return filing.
* Better tax reporting.
* Reduced compliance errors.
* Improved accounting accuracy.

***

### Key Benefits of This Feature

* Prevents incomplete GST transactions.
* Ensures mandatory HSN compliance.
* Improves tax reporting accuracy.
* Reduces manual errors.
* Enhances accounting discipline.

***

### Best Practice Tips

* Always define HSN Codes for taxable accounts.
* Verify GST-related ledger configurations regularly.
* Train users to enter correct HSN details during voucher posting.
* Review GST compliance settings periodically.

***

### Final Outcome

* Journal Voucher entries cannot be saved without HSN Code.
* GST compliance is enforced automatically.
* Tax-related transactions remain accurate and properly classified in Logic ERP.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/accounts/configuration/journal-voucher-configuration/do-not-allow-entry-without-hsn-code.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
