Hi,
Presently i am working on data that seems like this which relates to payment
Payment dateDocument no.AmountInterestDue date
12-Apr-171204011000010001-Apr-2017
10-May-171204022000020001-Apr-2017
30-Jun-1712040310000100030-May-17
Now we have linked this payments based on the FIFO...