The battery passport hinges on a unique identifier for each physical battery. The regulation points to ISO/IEC 15459 for the identifier scheme, and in practice this is expressed through GS1 standards and encoded in the QR code as a GS1 Digital Link.
A model number or batch code is not enough: two batteries of the same model must resolve to two different passports. That is what the per-item unique identifier guarantees.