For any permanent construction, a building permit is required (PBG in Indonesia). The legislation and procedure will be different for each location/area. It usually takes 2-3 months to obtain building permit once all drawings have been submitted.