> 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-sold-items-from-purchase-challan.md).

# Retrieve Sold Items from Purchase Challan

 YouTube: [How to Enable the retrieval of only sold items from a Challan in Purchase ?](https://www.youtube.com/watch?v=3iyeLAC1_DM)

## How to Enable the retrieval of only sold items from a Challan in Purchase?

In this tutorial, we’ll explore a feature that allows you to retrieve only the sold items from a purchase chalan when bringing it into a purchase voucher.

### Steps to Enable This Feature:

* Open **Purchase Voucher Configuration**.
* Navigate to **Other Settings 1**.
* Scroll down and enable **Retrieve Sold Items from Purchase Chalan**.
* Save the configuration.

<figure><img src="/files/Rgbb0ReQ7zfs62lRmuK1" alt=""><figcaption><p>Let's keep this feature enable to observe it's impact.</p></figcaption></figure>

### Reviewing the Process:

* Before creating a purchase voucher, let's first review the purchase chalan.
* To check the stock status of sold items, open the **Stock Ledger Report**.
* Here, you can see that sales bills have been generated for three sizes of this item.

<figure><img src="/files/FhnNHIKpGvGJ9Pj5gkcn" alt=""><figcaption><p>This picture shows the sold quantity from the purchase challan.</p></figcaption></figure>

### Applying the Feature:

* Now, retrieve the chalan in the Purchase Voucher.
* Upon retrieval, only the items that have been sold from the challan will be included.

<figure><img src="/files/qTWms5jyr3tbnuJAgUQG" alt=""><figcaption><p>As you can see, only the sold items have been retrieved.</p></figcaption></figure>

This feature ensures that purchase vouchers reflect only the sold stock, streamlining inventory management.


---

# 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-sold-items-from-purchase-challan.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.
