I+G+X≡S+T+M,if balanced budget, then I+(X-M)=S
As far as the Balance of Payment is concerned, then current account+capital account+financial account≡0, the capital account small is negligible,
I + current account surplus = S > 0, so the current account surplus(deficit) = financial account deficit(surplus),
means capital outflow(inflow)