This article discusses the allocation of profits to a permanent establishment of a company engaged in online sales of goods through a local warehouse, as a result of the OECD BEPS Action Plan. It also provides calculation examples that illustrate different permanent establishment situations.