There's various exclusions and credits to avoid double taxation.