US FEIE for income from US company?

Hi,

I was reading the article https://nomadgate.com/us-tax-guide/ and wondered about FEIE (Foreign Earned Income Exclusion) ā€¦ for the purposes of taxation, what location determines the source of earned income? Is it the location of the paying entity, where you are when the work is performed, or something else? For example, suppose I work for a US company paying a salary into a US bank account, but due to the nature of the work Iā€™m able to work from any location around the world and spend more than 330 days out of the US in a consecutive 12 month period thus meeting the physical presence test mentioned in the article. Is such income subject to FEIE?