Hi,
In fact there is a setting. Go to Template and under Invoice No Options you will find a Reset option to check. If you check it, the Next field will become available. There you can enter your next desired number. For example, my last invoice was 148 and starts agan with 1. I enter in that filed 149. Save settings.
Now – if you want to replace a wrong invoice number- just go to that order, set bewpi_pdf_invoice_sent field to 0, save the order, go up right in the Invoice Area and delete the invoice. After that – a new button will appear: Create. Click it and voila! – the invoice will have your next number entered manually in the settings.
If you have more than one – already generated, you have to do this manually to each one until you will get to the top of the list.
I hope that this will hellp you – in my case was easy – i needed to regenerate only one invoice.
Best regards,