recurring invoice prefix on recurring invoices

Version ie <v5.10.30>

5.11.34

Environment <Docker/Shared Hosting/Zip/Other>

Zip

Checklist

  • Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja?
    not sure…
  • 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

Expected Behavior

prefix just once

Hi,

What’s the number pattern for invoice numbers?

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?

What do you see on the ‘Invoices’ tab?

before the automated sending in “recurring invoices”: 20250001.
After the time-controlled sending:

  • in “invoices”: 202520250002, 202520250003, …
  • in "recurring invoices: ": 20250001

I’m asking to see how the generated number settings are configured.

If you’re adding the year to invoice numbers then you can remove the prefix.

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.

From your description it sounds like you need to remove the prefix from the invoice numbers, if you post screenshots of your settings I can confirm.

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!

I’m not sure if that’s the problem, I believe you’re referring to standard invoices generated by the recurring invoices.