A permit is indeed needed when we cannot attend an obligation that we are supposed to do on time, therefore we must write a permit to give the authorities so that they understand and know what is the reason we are not present.
A permit is a letter made by someone who is bound to a community, institution, agency or company where the letter contains a request for permission. Consider for example the correct permit.