As a foreigner, you can open a business in Nicaragua but you are going to need a Nicaraguan or a citizen as a partner. You do not need to be full time to open a business in Nicaragua. A lawyer can help you start a corporation and register that corporation in your name. Then you can own that business entity with a partner who is Nicaraguan or is a citizen. Then you can start paying taxes and get invoices, too.