Using DMT to import AP Invoices for POs

Hi Everyone,
I have a question that relates to DMT APInvoice Receipt.
I created a powershell script that parses a file with matched AP invoices ready to be entered into epicor.
The script spits out a csv file that i’m using to create invoices and miscellaneous lines in Epicor using DMT APInvoice Combined. which works really well.
The problem is when i have invoices that are POs. i have to create another file to pull in the receipts.
I use APInvoice Receipt to import the receipts for the PO. Everything works fine except when POs have lines with releases. I get the following error message in DMT ‘APUninvoicedRcptLines Row not found’. it seems like APInvoice Receipt doesnt like release lines.
Has anybody used APInvoice Receipt or has encounter a problem like this with released lines.
I tried specifying as much data as possible in the csv file but i’m not able to get it to work.
This is the template i’m using