In WHMCS 7.0 support for searching by custom invoice number has been added to the Intelligent Search feature.