@Suiseiseki The QR code is used for clearing immigration, instead of showing a passport (or passports for a group of people).
The information collected is the same as if the travellers showed their physical passports at the border checkpoint, only faster, as the information has already been entered in the immigration system and just needs verification via the presented QR code.