Tax Codes (NIF) and how to get one in Portugal as a non-resident

A couple of topics here about NIF that you can check out: