By the principles of double entry accounting, an entry in the current account gives rise to an entry in the capital account, and in aggregate the two accounts automatically balance.
On the capital account, foreign institutional investors have convertibility to bring money into and out of the country and buy securities (subject to quantitative restrictions).