Recurrent Invoices: fixed buggy call to non existing function and payment terms type...