If you aren’t already resident in Portugal, you may not have a Portuguese Nif Number. In fact, it’s quite likely that you don’t. It’s a number that can only be used as in Portugal and it’s not something you normally need as a tourist visiting here. Sometimes you’ll be asked if you have one in the supermarket, or if you’d like to use yours, but you can simply decline. However, there are some instances in
Source