Over paid on a specific invoice

Over paid on a specific invoice

Hi

I raised an invoice to a customer for 3 months. 

They said they would like to pay for it in 3 parts, so I accepted the first part

Now they asked me revise the invoice and send me 3 separate invoices, one for each part.

When I modified the first invoice, the amount is lower than the amount they paid.

How do I fix this?

Rishi