Clearing vat from the clearing account

I in error posted the customer receipt from bank to Revenue instead of the customers clearing account. I did a customers journal to move the receipt from revenue to the Customers clearing account, but it has not moved the VAT out of the vat clearing account. How do i correct this?
My vat clearing now shows the vat twice, from the initial invoice generated and now from the receipt