loop over payer, payee and claims