> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/local-governance/v2.8/platform/configure-digit/configuring-digit-services/mcs-service-configuration/echallan-ui-details/edit-cancel-challan.md).

# 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/v2.8/platform/configure-digit/configuring-digit-services/mcs-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).

![](https://1885278393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYtUmELy66UydIQtJOn5%2Fuploads%2FScHXjV4phOAClMt2Ae0s%2Fimage-20210514-103550.png?alt=media)

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="https://1885278393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYtUmELy66UydIQtJOn5%2Fuploads%2FxK222Vfvf8h1btrFRGbb%2Fimage-20210514-105626.png?alt=media" 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.

![](https://1885278393-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYtUmELy66UydIQtJOn5%2Fuploads%2FVfG5Ln8kSfzU5skOirxq%2Fimage-20210514-104431.png?alt=media)

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/v2.8/platform/configure-digit/configuring-digit-services/mcs-service-configuration/echallan-ui-details.md)                    |
| MCollect Search Challan | [Search Challan and Pay Challan](/local-governance/v2.8/platform/configure-digit/configuring-digit-services/mcs-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
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://docs.digit.org/local-governance/v2.8/platform/configure-digit/configuring-digit-services/mcs-service-configuration/echallan-ui-details/edit-cancel-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.
