Are these invoices actually something else, like a custom transaction type, or are they actually stored as invoices? Also, are these customer invoices, or vendor invoices?
What have you tried so far with the custom line fields? If you don’t mind sharing your field definitions and the item table section of code, I can try to help a little more.