This is a standard way of how European accounting works on most countries. Reference: https://docs.whmcs.com/Invoicing_Setup (scroll down to "Proforma Invoicing/Sequential Invoice Numbering" part).
Basically, every new unpaid invoice would say "Pro-forma Invoice #4564" or "Invoice #4545" and these numbers does not mean anything.
But, once the invoice is paid it will change to "Invoice IN-2024/1000" or whatever is setup, and that's the real invoice number that goes into accounting.