How to reconcile open positions with payments by another party?

Hello,

in our agri cooperative, we have various mismatches between ‘invoiced party’ and 'party having paid". This happened due to

  • party duplicates, created by error
  • actually one person paying the bill for another person

How can I reconcile payments and receivables between different parties?

Thanks a lot in advance,
EG