@Sascha *********
I don't know about other countries, but the Thai yellow vaccine booklet has your passport number on the top, and also inside.
For Thailand Pass, the page from Thai hospitals with vaccine QR codes and info has your passport number on it.
Did you travel with a new passport, with vaccine documents that have an old passport number? I really need to know from someone who has done this, since it could cost me a lot.