If you enter Portugal through an uncontrolled border coming from another member state, you may have to declare your entry to the authorities. If it does, download the Entry Declaration form from the SEF (Immigration and Borders Service) website, fill it in and deliver it in person at the SEF office in Coimbra, by appointment, within three working days of your arrival.
Not complying with these rules may result in a penalty.