Sorry, the first post was a bit brief. I should have said “I have configured Invoice Ninja to send invoices on the first day of the month”. Invoices are send on the 1st of the month (say 1 Dec 2018) but should have an Invoice date of the last of the previous month (in this case 30 Nov 2018).
I had a look this morning to see if I could hack this by updating the invoice_date of the recurring invoice prior to it being processed into an actual invoice which then gets sent. It seems the app is using the start_date of the recurring invoice to set the invoice_date of the actual invoice. Do you know if updating the code so the app would use the invoice_date of the recurring invoice instead of the start_date would break anything else?
As far as I can tell the invoice_date of the recurring invoice is set by the app but not used so I could run a SQL script to update the invoice_date of the recurring invoice just before it’s being processed into an actual invoice. The selection criteria (presumably last_sent_date) would remain the same.