Immediately when your employer learns of the reason for dismissal, he or she must announce the dismissal. Later, it is an unjustified dismissal. If your employer dismisses you, there must be good reasons that are precisely defined. These are, for example , embezzlement, untrustworthiness or persistent breach of duty.
A dismissal terminates the employment relationship with immediate effect, even if it is unjustified (exception: employees with special protection against dismissal). However, if it was unjustified, you have all the claims that you would have had if you had terminated in due time, this is called termination compensation. This therefore includes the full remuneration (including overtime, commissions, allowances), holiday and Christmas bonuses as well as vacation days.
A justified dismissal can be expensive for you. For example, you have to pay back your salary for too much vacation consumed, as well as vacation and Christmas bonuses on a pro-rata basis. In addition, there is the one-month suspension of unemployment benefits and possibly damages.