a) Generally, you pay the taxes in the country where you reside or the country where you perform the work (if not the same country). Despite popular belief, most major countries tax individuals on their worldwide income (US, China, France, Germany, off the top of my head)...however, most of these countries exempt the first $xxx thousands of income from tax (or from certain types of taxes, like payroll taxes) or certain types of income from tax.
b) Depends on your legal risk profile. If you are a contractor, an entity may shield you legally but will incur greater tax and compliance costs.
If you are a dependent worker (i.e., an "employee"), you shouldn't need to ask these questions because your employer will take care of the tax withholding for you as generally most countries require foreign companies to register for payroll withholding once they hire employees locally.
b) Depends on your legal risk profile. If you are a contractor, an entity may shield you legally but will incur greater tax and compliance costs.
If you are a dependent worker (i.e., an "employee"), you shouldn't need to ask these questions because your employer will take care of the tax withholding for you as generally most countries require foreign companies to register for payroll withholding once they hire employees locally.