Step::1 Login to your WHMCS.
Step::2 Go to Setup section and click on Automation settings.
Step::3 Now jump on to the Billing setting and enter the days you want to set for raising invoice before due date.
Step::4 Click on Save changes.
That's It !
You can go through in-detailed procedure with the video tutorial. Refer to the blog as well.