How to pass journal entry

Manmeet singh sirohi (1 Points)

30 October 2020  
if I have 2 bank account , for example HDFC Bank & IDFC Bank

I'm transferring amount from HDFC to IDFC. now my question is when I'm passing bank statement of HDFC Bank , that time I'm passing on contra voucher which was


IDFC Bank
to HDFC Bank


but now I'm passing bank statement entries on tally of IDFC Bank.
now what was the correct entry.

in which the HDFC Bank amount is not reflected.