> 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/retrieve-challan-header-details-in-purchase.md).

# Retrieve Challan Header Details in Purchase

YouTube: [How to Populate Challan Header Details in Purchase while Challan Retrieval ?](https://www.youtube.com/watch?v=MhG3YSB9pxg)

## How to Populate Challan Header Details in Purchase while Challan Retrieval?

In this tutorial, we'll explains how to **retrieve purchase Challan details** directly into a P**urchase Voucher**. This feature eliminates **manual data entry**, reducing errors and saving time.

### **Enabling the Feature:**

1. Navigate to the "Purchase Voucher Configuration".
2. Locate and enable **"**&#x52;etrieve Challan Header Details in Purchas&#x65;**"**.
3. This ensures that Challan header details are **automatically retrieved** in the Purchase Voucher.

<figure><img src="/files/lMYnisHLmwJTiSghNVpm" alt=""><figcaption><p>Let's keep this feature enabled to observe its Impact.</p></figcaption></figure>

### **Retrieving Challan Details in a Purchase Voucher**

1. Ensure that you have **defined the Challan's Other Details** properly.
2. Create a new Purchase Voucher.
3. Click on **Challan Retrieval** and select the relevant **Challan** from the list.
4. Once retrieved, click on **Other Details** to view the **fetched Challan details**.

<figure><img src="/files/iDkKb02Rxw1NJzuyrp96" alt=""><figcaption><p>As you can see, the <strong>Challan's Other Details</strong> have been successfully retrieved here.</p></figcaption></figure>

### **Benefits of This Feature**

* Eliminates **manual re-entry** of Challan details.
* Reduces **errors** caused by manual input.
* Ensures **accuracy and efficiency** in purchase transactions.

### **Retrieving Multiple Challans**

1. Click on **Challan Retrieval** and select **multiple Challans**.
2. After retrieval, details of the **first Challan** will be reflected in the purchase voucher.
3. To verify, open the **Purchase Challan window** and review the retrieved details.
4. In **multiple Challan retrieval**, only the first Challan's details will be reflected.

###


---

# 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/retrieve-challan-header-details-in-purchase.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.
