NBS: Foreign capital inflow declined by 9% to $1bn in Q2 2023