According to Bank Indonesia, a total of US$8.5 billion worth of foreign funds flowed into the country from January to May.