Resident of country A receive ebook royalties from publisher in country B. The resident did not perform any ongoing work after publishing the ebook since all the marketing & customer support is done by the publisher. Considering country A have territorial tax system, such income is classified 'foreign-sourced' from country A prospective?