Every device the workshop repairs gets a passport: what was done, which parts went in and their part numbers, battery health and the warranty. It's signed with the workshop's key, so anyone with the link, including someone buying the device later, can check it hasn't been changed.