Home › Forums › Support › Problem using :MONTH and :YEAR when creating invoices for the coming month This topic contains 3 replies, has 2 voices, and was last updated by Hillel Coren 9 months, 2 weeks ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 10, 2018 at 12:13 pm #17380 mathoebiParticipant Hi, we regularly send invoices for monthly subscriptions about a week before the respective month begins. They typically include a text like this “License and subscription fee for the month of November 2018” I can not currently create a recurring invoice to facilitate this, because if I want to send this invoice already on October 20th, I have to do this: “License and subscription fee for the month of :MONTH+1 :YEAR” However, this will fail for the January invoice because that one will be sent in December 2018 and show the wrong year: “License and subscription fee for the month of January 2018” It should read 2019 of course! Do you have any suggestion on how I can resolve this? Otherwise the recurring invoices feature is quite useless for my monthly recurring invoices. Best, Mathias December 10, 2018 at 12:25 pm #17382 Hillel CorenKeymaster It’s a bug, we hope to correct it in v2. December 10, 2018 at 1:22 pm #17385 mathoebiParticipant Hi, well it actually behaves exactly as advertised, so I wouldn’t call it a bug – it’s just that there is functionality missing that allows me to say “THE YEAR OF THE NEXT MONTH”. It could look like this: :MONTH – current month :YEAR – current year :MONTH_YEAR – the year of the current month :MONTH_QUARTER – the quarter of the current month So than if I create an invoice in December 2018 and put “Invoice for :MONTH+1 :MONTH_YEAR+1” it would say “Invoice for January 2019” but once the next invoice is sent in January 2019 it would say “Invoice for February 2019” Are you sure you can’t implement this for the current version? It is really critical and shouldn’t be a lot of effort. Cheers, Mathias December 10, 2018 at 1:26 pm #17386 Hillel CorenKeymaster We accept pull requests… https://github.com/invoiceninja/invoiceninja/issues/1913 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.