Indonesia had to spend US$127 million of its foreign exchangge reserves to intervene in the money market to prevent the rupiah from weakening due to the impact of the subprime mortgage meltdown in the US as well as to repay debts, a central bank official said.