Hi,
This is already possible with the "Invoice Selected Items" button.

Relevant documentation: http://docs.whmcs.com/Clients:Summary_Tab#Invoice_Selected_Items