Answered by Borut | Dec. 30, 2024 04:30
João, you should be aware that you as Portuguese citizen can enter China visa free, so you will be allowed to exit the airport without any issue.
The itinerary of your Peruvian wife is definitely eligible for 24 hour visa free transit and she does not need any kind of visa. However, if she plans to exit the airport, she have to be aware that she will need to apply for a temporary entry permit upon your landing in Beijing. The issuing of the temporary entry permit is not a passenger's right, but it should be treated more as a bonus that is offered to those with long layovers, especially an overnight ones, those traveling with small children and disabled passengers. In any case, since her layover is a very long one, her chances to be granted a temporary entry permit are very good, but not guaranteed.
Upon your landing in Beijing the first thing that she will do is to approach 24/240 hour visa free transit counter where she will apply for a temporary entry permit by presenting her flight tickets. This application is free of any charge. After a short check, her permit will be granted and after that she will head to the immigration and then to the city/hotel to enjoy her time together with you. Have a nice journey.
Also, please, use correct terminology because this is not 24 hour transit visa, but 24 hour visa free transit, so there is no visa of any kind at all.