Hi again,
my accountant informed me about another problem with recurring invoices. According to german tax law, recurring invoice items are required to report the period of performance - in german Leistungszeitraum - which means the period of time this particular invoice item is referring to.
So, for example, if you’re putting “leased line” on the invoice, and bill this afterwards, the monthly invoice requires to refer the last month’s time period on it.
We thought about using :MONTH-1 for that, but there’s a problem with it: Since it only contains the month, we need to add the year to be consistant with german tax law. But, adding :YEAR doesn’t work because an invoice generated on January 1st would then report the period “December 2021” instead of “December 2020”.
Is there any way to solve this?
I personally would prefer something like {$date:m Y} as invoice description template option instead of :MONTH but I don’t think this will happen with 4.x while 5.x is almost available…