depends on how the custom record is linked with the invoice. If just custom field with list of custom record (1:1) then you should be able to print that. If parent child relationship, you need some other way to get the data as there can be 1:M. You can have a saved search to show custom record values on invoice (long text field on invoice) or other scripted solutions.