# Cancel an e-invoice

* LHDN allows canceling a valid e-invoice within 72 hours of the e-invoice becoming valid.
* You can cancel an e-invoice through ClearTax platform using the “Cancel e-inv” button in the “Actions” dropdown.<br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfiNEbgZN2cZiwCXRR4dDY8gF02SzZ8G69SS7WDbpxF3I8eN4_gxjA3rK05sh-xN5hcuLO25xc6LiF9Q13AhGPnNRysChE5B4wiZGPe8DgjNw25oa4t62ZvLbev7A8nX8hh6RqyZh4P6QGIi9G9CETp4O7q?key=PCqKIH22__dEO6431-EgcQ)<br>

* Once you select an e-invoice to be canceled and click on the “Cancel e-inv” button, you will see a modal window asking for the cancellation reason.
* You can either select a pre-filled option or choose “Others” and provide a custom reason for cancellation.
* Click on the “Cancel e-inv” button once you have selected the reason for canceling the e-invoice.<br>

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfSqFJDWRLVEU9h8Ul8_0gjFRhwbfe7flKn8-id8K6cTlWKRYJ5VIOfKrfC9hiszMImURlf6blRw3XUD06W-V55GeAUSnksDFQBgDYmjBFvv5OkT9JFjjuwUxFWnJTHIUFhmOqH_dYyuWAVOmCXVSV4DQI?key=PCqKIH22__dEO6431-EgcQ)

* You will see the status of that document change to “Canceled” on the “Sales dashboard” page.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXchz1PKjUdXo_crMoGt_F1Kfc1sHRy1nomJ1M8drQa8laEYWqUZWqWZLH2g1PSBu09FVdVg45uy3dxcUPh2e1xT2qbwLWolg9qaa7i__fJEw6YjSpmG16WRv3jcWRlwg47mje_FSwuCeQmytW1V_DRHafej?key=PCqKIH22__dEO6431-EgcQ)

<br>


---

# 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.cleartax.in/product-help-and-support/for-large-businesses/cleartax-e-invoicing-malaysia/b2b-sales-documents/cancel-an-e-invoice.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.
