A contract penalty is a sum of money that the debtor promises to pay to the creditor as a penalty in the event that the debtor does not fulfill its obligation or fulfills it improperly (§ 339 BGB). Such a penalty requires a special contractual agreement and is partially excluded by law.