The regulation refers to a "data carrier": barcode, 2D symbol such as a QR code or another technology. Each delegated act specifies the expected carrier. In practice, QR codes are establishing themselves as the default solution, and are explicitly provided for batteries.
Read the source article: Digital product passport: what is it and when is it mandatory?
