written apology; written statement of regret
A formal written reflection on one's mistake, often required in school or workplace settings.
I was made to write a written apology because I was late.
I submitted a written statement of regret to the teacher.
Compound of 反省 (reflection, self-examination) and 文 (writing, sentence).