A permit to enter and leave a country, normally issued by the authorities of the country to be visited.
To endorse (a passport, etc.).