The invoice number will get automatically assigned for each order. But if you want to edit invoice number manually then you can do by clicking Update Invoice button.
On Popup you can see "Invoice Number" field, here you can manually change the number and click submit button.