A shimatsusho is a written apology and reflection on a mistake, submitted promptly after trouble occurs.
A tenmatsusho is a different document. It reports the full course of events. It is generally an internal document, usually addressed to supervisors or the management department, and is submitted after the matter is resolved.