If you are travelling with a paper Eurail or Interrail Pass, the square barcode that opens the gates is on the back of the ticket cover. When travelling with a mobile Eurail or Interrail Pass, the square barcode can be found in the Eurail Railplanner App. Go to My Pass and tap Show ticket to display the barcode on the screen of your telephone.