> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.refrens.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to lock invoice edits once an e-invoice is generated?

To ensure the integrity of government-validated invoice data, it is necessary that no changes are made unless the e-invoice is cancelled or not yet generated.

 For this, you can lock invoice edits once e-Invoices have been generated.

Here's how:

### For GST E-invoicing (India)

Go to **Business Settings > Accounting > GST Configuration > Lock Invoice Edits once E-Invoices have been generated:**

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/screenshot-www-refrens-com-202_eyl8lv.png =800x359)

Once you turn on the toggle, invoices, credit notes, and debit notes with active e-invoices will no longer be editable. 

|| Documents with cancelled or no e-invoices will still remain editable.

### For LHDN E-invoicing (Malaysia)

Go to **Business Settings > LHDN E-invoicing > Lock Invoice Edits once E-Invoices have been generated:**
![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/screenshot-www-refrens-com-202_s012st.png =800x270)

### For ZATCA E-invoicing (Saudi Arabia)

Go to **Business Settings > ZATCA E-invoicing > Lock Invoice Edits once E-Invoices have been generated:**

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/8/8/ab884d8153100800/screenshot-www-refrens-com-202_5qmpw9.png =800x266)

That's it!

If you still have questions, feel free to contact us at [care@refrens.com](mailto:care@refrens.com) OR drop a message on live chat support for quick assistance!