Where a firm, individual, or corporation having a place of business within Sri Lanka carries on the business wholly or mainly as nominee or trustee of or for another person, or other persons, or another corporation, or acts as agent for any foreign firm for the general purposes of the business of such foreign firm in Sri Lanka, the first-mentioned firm, individual, or corporation shall be register