If during the transaction you encounter any error and the amount has been debited twice, then while filing your Income Tax Return you can claim a refund for the excess tax paid from the Income Tax Department.