A letter of credence is a formal document issued by a head of state or government that officially appoints an ambassador to represent their country in another nation. It serves as a credential to establish the ambassador's diplomatic status and authority.