Hi,

Thanks for your suggestion. This can be achieved using the "Advanced Settings" on the Setup > Automation Setting page.
The documentation for this is located at http://docs.whmcs.com/Automation_Settings#Invoice_Generation