Thanks everyone for your suggestion and votes. I'm pleased to note that this feature was added in v8.2.
Details on this feature are published here: https://docs.whmcs.com/Prorata_Billing