# Validate Purchase Bill Amount against Gate Pass Entry

YouTube: [How to validate Bill Amount in Purchase against Gate Pass Entry?](https://www.youtube.com/watch?v=2nWLdsOEYsQ)

## How to validate Bill Amount in Purchase against Gate Pass Entry?

In this Tutorial, we will explore a validation feature that ensures the purchase amount or bill number aligns with the Gate Pass Number (GPN).&#x20;

### **Enabling Validation Option:**

* Navigate to the "**Purchase Challan Configuration"**.
* Locate the option and enable "Validate Purchase Bill Amount against Gate Pass Entry"

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

### **Gate Pass Manager Configuration:**

* Navigate to the Inventory > Gate Pass Manager and the Click on Configuration.

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

* After configuring, enter the gate pass entry.

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

* Ensure that your entry has been saved. For example, we have entered an amount of 25,000.

### **Validating During Purchase Challan:**

* Create a **New Purchase Challan**.
* Enter details: **Challan Number, Date, GPN Number, and GPN Date**.
* Attempt to **save the challan**:
  * If the **Challan Amount** does not match the **GPN Entry**, a validation message appears.
  * The software **prevents saving** the voucher until the amounts match.

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

**Finalizing the Entry**

* Adjust the **Challan Amount** to match the **GPN Entry**.
* Save the **Challan** again.
* The software **validates the Bill Number** against the GPN Entry.
* After corrections, the software **allows the entry to be saved**.


---

# 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://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/purchase-voucher-configurations/other-settings-1/validate-purchase-bill-amount-against-gate-pass-entry.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.
