I am having that issue since an update to 5.0.3 you cannot view an invoice. You get a blank page. I have reuploaded the files and get the same thing... A blank page.
Cloudmin, makers of Virtualmin, which doesn't support OpenVZ yet, is working toward an emergency development for HyperVM users, so that HyperVM servers can be easily migrated.
Just a thought. Joe said they are testing now. Cloudmin will support Xen or OpenVZ.
If you make a module for that, I will switch to WHMCS for sure.
Thanks,
Howard