Invoice numbers are wrong created

Hello team, Im using version v5.5.5-C89 self hosted.
Since I reached invoice 100, every time I create one the number is wrong. exmple 100_htkjd. same happens with tasks long time ago.

Any ideas?


What value is set for the number pattern on Settings > Generated Numbers > Invoices

If you reset the counter too low, the system only performs a limited amount of retries when it attempts to find the next valid counter. When the retries is exceeded with create a invoice number as you are seeing.

The fix here is to set your counter back up to the level of the most recent invoice number

Ok, the number was on 3, I just updated it to 116. Lets see what happens when I create the next invoice.
Thank you so much for your fast response!