Antigen tests (the rapid test kit, results in ~15 minutes, sample taken from the nose or thread) are not the same as antibody tests (blood test for prior infection, has to go to the lab). You need the former for travel. Afaik, the latter is not accepted as proof of prior infection, you need a positive PCR test from at least 28-ish days ago.