Hei @dorilama
you are right they do not have to be consecutive. But has to be progressive within the year.
So was thinking that was easy to do but it seems it s not.
How would you approach then with progressive numbers then ?
The post Keith suggested goes deep into this matter.
As for invoices, if you don’t need consecutive numbers and the frequency at which you create them allows you, a common workaround is using the current date up to the resolution you require.
For example: daily invoices 20230301, 20230305, 20230315 ecc.