For a full legal wedding you will need a Religious ceremony and followed by a civil registrar. You will automatically receive two marriage certificates one from the Minister of Religious and one from the Civil Register which is valid and legal in both Indonesia and in your home country.