Have you searched existing issues? not sure about the search words…
Have you inspected the logs in storage/logs/laravel.log for any errors? yes
Describe the bug
I have saved the recurring prefix “2025” under settings and generated numbers. If I now initiate a recurring invoice, this prefix is placed twice in front of the invoice number: 202520250001 instead of just 20250001. What have I missed?
Steps To Reproduce
Create a recurring prefix as a number and create a recurring invoice and wait for the next run
Well… number spacing 0001, generate number when saved and recurring prefix 2025.
Do you mean that?
Additional information: Creating and sending individual invoices works as it should. The prefix is only placed once in front of the invoice number.
Have I set something wrong and if so, where?
That would be the simplest solution. But I also have invoices that I send when necessary and I need this prefix there. It works wonderfully.
For recurring invoices, the new invoice number with prefix 2025 is generated under “recurring invoices” after saving, but after automatic sending the prefix is added again (20252025).
So I then have invoices under “invoices” with 2025 as a prefix, and 20252025 from the pool of invoices for automated sending.
I assume that I have set something up incorrectly here. But I don’t know where.
Wait - I think I know what you meant. In the settings, generated numbers, I see a tab with “recurring invoices”. In the “number scheme” field there was a {Year}. I’ll remove it from there and wait for the next run.
That could have been it. Thanks!