Hi @mikyf,
As my colleague @pomegranate has already said, please note that invoice numbers are assigned based on when the document is generated and this does not always match the sequence in which orders arrive (unless you generate an invoice at order creation, regardless of whether you have received payment or not, e.g. by sending the document to the administrator).
For example:
Let’s say that your next invoice number is I-101
and you only generate an invoice when the order changes to Completed status (that in fact appear to be your case). If you receive three orders in a row, with the order numbers 100, 101 and 102, but the order status changes to Completed in a difference sequence: 102, 100, 101, the invoice numbers would look like this:
Order: 100 = Invoice: I-102
(second to change to Completed)
Order: 101 = Invoice: I-103
(third to change to Completed)
Order: 102 = Invoice: I-101
(first to change to Completed)