It has happened several times that when I add a payment from a client that covers several invoices the credited amount is associated to newer invoices rather then older.
For example, this is the situation with one of our clients:
When I receive the payment of 2 541 720 for the oldest two invoices however, this is what happens:
To receive the payment I chose the oldest invoice and received money, but also removed the number of the invoice. I would expect invoice 180183 to be fully paid and like invoice 180165, but instead Manager does not pay anything related to invoice 180165 and instead pays part of the newest invoice 180185.
This is not the first time this happens.