Trigger Custom Functions before automated sending of Recurring Invoices

Trigger Custom Functions before automated sending of Recurring Invoices

Hello,

we want to automate the accounting in our business. Therefore we want to use Recurring Invoices that should be created and send automatically. In addition there is a need to show the accounting period for the specific invoice, which is calculated by a custom function.

This function works fine as long as we don't let zoho books send those invoices automatically. If we try to, the e-mail will be send without triggering the custom function, even though it's terminated to be executed when the invoice is created. 

Is there any possibility to trigger the custom function before the invoice gets send automatically?

Best regards
André Doppelfeld