> 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/utilities/import-masters-transactions-from-external-files/import-purchase-vouchers-from-external-file/import-purchase-vouchers-configuration/import-as-challan.md).

# Import As Challan

**YouTube:** [How to Configure Purchase Challan Import in Import PUV from External File Configuration?](https://youtu.be/39Q1N8HcD18)

## How to Configure Purchase Challan Import in Import PUV from External File Configuration?

In this tutorial, we will learn how to configure Logic ERP to **import purchase documents from an external file as Purchase Challans instead of Purchase Vouchers**. This option allows users to control the document type generated during the purchase import process.

***

### Review the Default Import Behavior

* Navigate to the **Import Purchase Vouchers from External File** module.
* Review the document type selected for the import process.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F6P5613rsKb3BJAQOHyov%2FBy%20Default.png?alt=media&amp;token=c248e139-b51b-4977-993d-115c7cc0275c" alt=""><figcaption></figcaption></figure>

#### Default Behavior

By default, Logic ERP is configured to import the external file as a **Purchase Voucher**.

***

### Let's Enable Import as Challan Option

* Open the **Configuration** section.
* Locate and enable the option labeled as:

> **"Import As Challan"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F4aqfB9GE8szgbU6pPLxa%2FCNF.png?alt=media&amp;token=234a4999-de89-4308-af7b-451a2c4349d5" alt=""><figcaption></figcaption></figure>

* Save the configuration changes.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FryNnHfy01l5Z5Yre195c%2FPC%20-%20CNF.png?alt=media&amp;token=e7697d6c-a714-4414-b237-6587cbb90887" alt=""><figcaption></figcaption></figure>

**Result**

After enabling this option, **Purchase Voucher** is replaced with **Purchase Challan** in the Purchase Configuration section.

This indicates that the purchase document will now be imported as a **Purchase Challan** instead of a Purchase Voucher.

***

### Import the Purchase Document

* Start the purchase import process.
* Select the required external file.
* Proceed with the import.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F41ffPe6wlSbqEgJfi1Jj%2FSave%20PC.png?alt=media&amp;token=868c2774-e03e-427c-85f9-c7c00dcb7f30" alt=""><figcaption></figcaption></figure>

**Result**

The purchase document is imported successfully according to the configured document type.

***

### Verify the Imported Document

* Navigate to the **Purchase Challan** module.
* Search for the recently imported document.
* Open the document and verify its details.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fdp7nRpykpa8Pz9WVg471%2FPC%20-%20Header.png?alt=media&amp;token=b56b2451-b43b-4a83-a9d6-a23c79070f85" alt=""><figcaption></figcaption></figure>

**Result**

The imported document is successfully available as a **Purchase Challan**, confirming that the **"Import As Challan"** configuration has been applied correctly.

***

### Key Benefits

* **Flexible Document Import:** Allows purchase data to be imported as a Purchase Challan.
* **Automated Document Conversion:** Eliminates the need to manually recreate the imported document.
* **Improved Workflow:** Simplifies the process of handling purchase documents received through external files.
* **Better Document Control:** Provides flexibility in selecting the required document type during import.

#### Final Outcome

After enabling **"Import As Challan"**, Logic ERP imports purchase data from the external file as a **Purchase Challan** instead of a Purchase Voucher, ensuring the imported document follows the required purchase workflow.


---

# 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/utilities/import-masters-transactions-from-external-files/import-purchase-vouchers-from-external-file/import-purchase-vouchers-configuration/import-as-challan.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.
