Can you provide some sources/screenshots of conversation with the agent ?
Information in regards to visas and taxation is often quickly outdated .
There was a proposal by Nia Niscaya (Deputy for Strategic Policy at the Ministry of Tourism and Creative Economy) for a 4-5 year tax-free visa. However, this is just a proposal and he has not in the position to approve proposal .
If you stay in Indonesia for more than 183︀ days, you will be considered a tax resident.
Under Minister of Finance Regulation No. 18/PMK.03/2021,︁ new tax residents can claim an exemption on foreign-sourced income for up to 4 years.︂
However, this exemption only applies if the income is invested to Indonesia .