sentences:  The rules vary highly by country.US rules are the same for individuals and entities, and for residents and nonresidents.Under US rules, source is determined for gross income (sales plus other income less cost of goods sold), then expenses and deductions are allocated and apportioned to such income (see below).