Thanks for posting to the Community. Let's turn on the Custom transaction numbers on your sales forms so that you can change the invoice number. You can set it up under the Sales settings in Account and Settings.
Here's how:
Click the Gear icon on the top right.
Select Account and Settings and then go to Sales.
Under the Sales form content section, turn On the Custom transaction numbers by checking the box.
Click Save.
Once done, you can now change the invoice number and save it.