# Edit - Cancel Challan

## Overview

This document provides details about the edit challan feature in the mCollect module. Challans are created using create challan option explained in the [eChallan UI Details](/local-governance/access/local-governance-stack/mcollect-mcs/mcollect-service-configuration/echallan-ui-details.md) page.

The edit challan workflow enables users to make any correction in the challan or even cancel created challans.

## Edit Challan

Use the search tool to find the relevant challan and edit it. The Search and Pay Challan page provides information on how to use the search tool.

Click on the search result to navigate to the view challan screen. The service details are [available here](https://github.com/egovernments/frontend/blob/39ffbeb4f5446bbb08729e9ce6cf0d519f2f748c/web/rainmaker/dev-packages/egov-uc-dev/src/ui-config/screens/specs/uc/search-preview.js).

![](/files/-MbZf3_xxgOZfyA29fHi)

Here we use `echallan-services/eChallan/v1/_search` API to get the Challan Information and`billing-service/bill/v2/_search`to the tax head breakup information. Download/Print using `egov-pdf/download/UC/mcollect-challan` API.

**Actions**

1. Update challan to edit
2. Cancel challan

### **Cancel Challan**

To cancel challan, click on cancel and enter the reason for cancellation. This action calls the `echallan-services/eChallan/v1/_update` API to cancel.

<div align="left"><img src="/files/-MbZf3a--U9vrcE0o1LN" alt=""></div>

### **Update challan**

Update challan can be used to edit only Tax head information. Any other information that is freezed, can be changed accordingly to support the requirement.

![](/files/-MbZf3a1szY6q8WGGI8J)

Once you click on update challan `echallan-services/eChallan/v1/_update?` API will be called and the challan will be updated accordingly.

## **Localisation Module**

rainmaker-uc

**API Used**

1. egov-mdms-service/v1/\_search
2. echallan-services/eChallan/v1/\_update
3. egov-pdf/download/UC/mcollect-challan
4. echallan-services/eChallan/v1/\_search
5. billing-service/bill/v2/\_search

## **Role Action Mapping**

| API                                    | Roles   | Action ID |
| -------------------------------------- | ------- | --------- |
| egov-mdms-service/v1/\_search          |         | 954       |
| echallan-services/eChallan/v1/\_update | UC\_EMP | 2117      |
| egov-pdf/download/UC/mcollect-challan  | UC\_EMP | 2115      |
| echallan-services/eChallan/v1/\_search | UC\_EMP | 2114      |
| billing-service/bill/v2/\_search       |         | 1861      |

## **Documents and Resources Links**

| Related Title           | Documentation                                                                                                                                                               |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MCollect Create Challan | [eChallan - Technical Documentation](/local-governance/access/local-governance-stack/mcollect-mcs/mcollect-service-configuration/echallan-ui-details.md)                    |
| MCollect Search Challan | [Search Challan and Pay Challan](/local-governance/access/local-governance-stack/mcollect-mcs/mcollect-service-configuration/echallan-ui-details/search-and-pay-challan.md) |
| MCollect Pay Challan    | [BillGenie](https://digit-discuss.atlassian.net/wiki/spaces/EGR/pages/436502610/BillGenie)                                                                                  |

[![Creative Commons License](https://i.creativecommons.org/l/by/4.0/80x15.png)​](http://creativecommons.org/licenses/by/4.0/)All content on this page by [eGov Foundation](https://egov.org.in/) is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).


---

# 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://docs.digit.org/local-governance/access/local-governance-stack/mcollect-mcs/mcollect-service-configuration/echallan-ui-details/edit-cancel-challan.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.
