Indonesia's law is pretty neutral regarding bitcoin
Meaning they will let people do a transactions with bitcoin
I believe it is not illegal to own bitcoin in Indonesia. Last year, Bank of Indonesia states that "bitcoin and other virtual currency are not currency or legal payment instrument in Indonesia". Things could have changed now in 2015, the legality of bitcoin in Indonesia is still unclear.
Not only bitcoin and other virtual payment,but dollar or other curency is illegal in Indonesia, you can't buy anything on store with dollar directly or you will get the punishment, but you can keep using bitcoin as comidity which is like gold,silver etc and you able to trade them.
here statemant of the Bank Indonesia
"Each party, either an individual or a corporation, must use the Rupiah (IDR) in every transaction in cash and/ or non-cash transactions in NKRI (Indonesia)"
And the statement about bitcoin
"In view of the Act No. 7 Year 2012 concerning Currency and Act No. 23 Year 1999 which has been amended several times, the latest with Act No. 6 Year 2009, Bank Indonesia states that Bitcoin and other virtual currency are not currency or legal payment instrument in Indonesia.
The society is encouraged to be careful toward Bitcoin and other virtual currency.
All risks related to the ownership/use of Bitcoin should be borne by the owner/user of the Bitcoin and other virtual currency."
Official link :
http://www.bi.go.id/en/ruang-media/siaran-pers/Pages/SP_160614.aspx