The Reserve Bank of India assigns an AD Code (Authorized Dealer Code) to each Authorized branch of a bank that deals in foreign exchange.