Foreigners are not allowed to establish law firms or representative offices in Indonesia, both for domestic and international law.
"CHAPTER I - GENERAL PROVISIONS 
Article 1. In this Act referred to as:
(1) Advocate is a person who has a legal service profession both inside and outside the court that meets the requirements under the provisions of this Law.
(2) Legal Services are services provided by an Advocate in the form of providing legal consultations, legal assistance, exercising power, representing, accompanying, defending and taking other legal actions for the client's legal interests. [...]
(4) Advocate Organizations are professional organizations established under this Act; [...]
(8) Foreign Advocate is an advocate of foreign nationality who carries out his profession in the territory of the Republic of Indonesia under the terms of the provisions of the laws and regulations.
[...]
Article 3.
(1) To be appointed an Advocate must meet the following requirements: 
a. citizens of the Republic of Indonesia;
b. residing in Indonesia;
[...]
CHAPTER VII - FOREIGN ADVOCACY 
Article 23.
(1) Foreign lawyers are prohibited from conducting trials, practicing and / or opening up their legal services or representatives in Indonesia.
(2) The Advocate Office may hire foreign advocates as employees or experts in the field of foreign law with the permission of the Government with the recommendation of the Advocate Organization.
(3) Foreign lawyers are required to provide free legal services for a certain time to the world of education and legal research.
(4) The provisions concerning the requirements and procedures for employing foreign advocates and the obligation to provide legal services free of charge to the world of education and legal research shall be further stipulated by a Ministerial Decree [...]"(LAW OF THE REPUBLIC OF INDONESIA NUMBER 18 OF 2003 CONCERNING LAWYERS [google translation]).
LAW OF THE REPUBLIC OF INDONESIA NUMBER 18 OF 2003 CONCERNING LAWYERS [google translation]
[<a href="https://peraturan.bpk.go.id/Home/Details/43018/uu-no-18-tahun-2003">Law</a>]