I would some some information for how the tax system works in the US for a freelance programmer. You agree with a company to make a project for X amount of money. What are you required to do after that tax-wise?
If you are a freelance programmer and you are interacting with a company from a foreign country?
If you are a freelance programmer from a foreign country interacting with a US company?
A brief explanation would be helpful to understand the taxpayer system here in the US