> 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/setups/configurations/purchase-voucher-configurations/other-settings-1/validate-purchase-bill-amount-against-gate-pass-entry.md).

# 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
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-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>&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.
