How to revert cancelled invoice?

is it possible to revert the accidentally canceled invoice?

Also I tried to change the cancelled invoice number to create again with same number.
unfortunately :
422: Unprocessable Entity • The given data was invalid.
• This invoice is locked and unable to be modified

Hi,

The app doesn’t support reversing a cancellation, feel free to create an issue on GitHub to request it.

If you delete the invoice it should free up the invoice number.