@JackAlabama I read for 4 years and 5 years.
I've checked locally there the 4 years, is called digital worker visa and is amazing, fully tax free (research first please).
Also kindly check this https://soynomadafiscal.com/en/bali-digital-nomad-visa/
If you google Indonesia 4 years tax free...