For all permanent construction, a building permit is required (IMB in Indonesia). The legislation and procedure will differ for each individual location/area. It usually takes 2-3 months to get the building permit once all the drawings have been submitted.