I mistakenly deleted my sales invoice. I tried to restore, it says it cant be restored

I mistakenly deleted my sales invoice. I tried to restore, it says it cant be restored because of a document . How do i recover a new one?

Hi,

Do you mean you deleted Sales Invoice Doctype or Sales Invoice Record?

If you deleted the Sales Invoice Record, you may recover it from Deleted Document List.

If you have deleted Sales Invoice Doctype itself, you can get it back by running bench migrate command.

Thanks,

Divyesh Mangroliya

1 Like

Share the full error message then we’ll know.


Here are the errors. The sales doctype was accidentally deleted

That hints nothing love. Anything in the details or error log? Can you do the same on a nonmobile?

I’ll check, but the bottom line is the deleted sales invoice is still there, unable to be restored