Compostela

The Compostela is the document that certifies that a pilgrim has completed the Camino de Santiago. The Compostela is awarded by the Church authorities …. This accreditation was created in the 9th and 10th centuries when the pilgrimage to the tomb of Saint James the Apostle was given official status…. But these were easy to falsify, and in the 13th century the Church decided to replace them with the cartas probatorias or evidentiary letters, which are the direct predecessor of today’s Compostela.

https://www.elcaminoconcorreos.com/en/blog/what-is-the-compostela-and-how-do-i-get-one