Doubled TDS deducted

VINAYAK SAMBHAJI KUMBHAR (Finance Executive) (23 Points)

25 September 2018  
We deducted TDS at time of advance payment to vendor i.e
June 2018
Vendor Ac Dr 10000
To Bank Cr. 9000
To. TDS Cr. 1000
but we wrongly deducted and passed the below entry at time of receipt of invoice.
August 2018
Good Receipt Ac Dr 10000
To Vendor Ac. Cr. 9000
To TDS AC. Cr. 1000
pls explain How to rectify the double deduction of tds.