Purchase invoice payment error

Hi,
I am getting an error while making a purchase invoice.
It says “Total Payment Amount In Payment Schedule must be equal to Grand / Rounded Total”.
It never use to occur before.
Please any suggestion.