Error while paying more than 50 customer invoices

Hi All
We need kind support since I face error while I make payment for more than 50 invoices for one customer with one invoices (screen shot attached for your reference). There is no error or problem if below 50 invoices.
Your immediate support is expected since we received one payment for 59 invoices and need to record the payment.
Sincerely.
Hussain.