Add Invoice hook in orderstoinvoice.php

Tested with CustomFields, it works correctly.