Is a PE dependent on the number of days living there or the number of days working there? I thought the NHR required 183 days in the country which matched the number of days for a PE.
NHR
"In order to avail of NHR status, you must stay for a minimum of 183 days in the country per year or maintain a property as your habitual residence."
PE
"Business activities derived from services, including consulting services, performed︀ by an enterprise through its own staff or subcontractors hired with the purposes of carrying︁ such activities in the Portuguese territory, provided that such activities are performed for a period︂ or periods exceeding in the aggregate 183 days in any 12-month period starting or ending︃ in the relevant tax year."