Dumb question coming up re AR pending amount.

I was applying prepayments in the AR receipt entry screen. Unfortunately in a moment of distraction, I selected the same prepayment amount twice. Now every time I post a new batch I get an error batch and the amount of the original posting is showing as pending. How can I correct the error so that the amount shows as posted and the error batches stop?  Thanks in advance