ConvertToValues

I’m passing several outbound EDI 810 Invoices to convertToValues.
The first invoice is picked up and convertToValues produces the correct record structure (record 10,20,30). However on subsequent invoices convertToValues only produces record 10 of the record structure.

I;ve double checked the file the inbound flat file of invoices are fine.

Anyone seen this before?
Thanks.