Would be something like this:
- Item Fulfillment UE
- beforeSubmit read which lines, read createdfrom Field to have the SO Internal ID
- Transform the SO to Invoice
- Set the sames lines on the Invoice that you read from the Item Fulfillment..
- Done...
I also create another custom body field for Invoices so I know that Invoice from which Item Fulfillment was created... because invoice only show you Sales Order but not fulfillment...