How do a remove a credit card partial payment that was over applied to an invoice

I have a client that has processed a credit card payment that was supposed to partially pay an invoice.  They over applied the payment so the invoice now shows up as paid, but they credit card payment show up in the Aged Receivables because it was over applied.  How do I get rid of the over applied receipt?