You need to talk to Sable (the one sitting at the sewing machine) for 10 days in the game to unlock the QR machine, and then you use that in the game to scan the codes :)