Say I am an Indian citizen and residing in India and earning through online freelancing software programming in US dollars. Which government do I pay taxes to? Do I pay some taxes to Indian government because I am residing in India and availing its infrastructure like roads,water,public transportation etc etc. Or do I pay some taxes to US government because my earning is coming from their country. Or, am I liable to pay taxes to both the governments?