Hi BRT,
Thanks for the update, I've re-run the script over your file. This has been raised with our product teams, they have found that creating payments through the bank feeds window the receipts will fail to load as the receipt will have an invalid delivery option in the list e.g. 'to be emailed' the option cannot be changed for the receipt as it should only be 'to be printed'.
At the moment running the script will resolve this and the team have mentioned if possible to not create payments through he bank feeds window but instead to use Receive payments.
If you still have troubles feel free to post again and we'd be happy to run the script over your file.