(1) If, after commencement of performance of the service, the service relationship is terminated on the basis of section 626 or 627, then the person obliged to perform services may demand a part of their remuneration that corresponds to the services they have performed thus far. If they give notice without any conduct in breach of contract of the other party having prompted this, or if they prompt termination by the other party by their own conduct in breach of contract, then they have no claim to the remuneration to the extent that their previous services are of no interest to the other party as a result of the notice of termination. If remuneration is paid in advance for a later period of time, then the person obliged is to reimburse it under the provisions of section 346 or, if notice of termination is given by reason of a circumstance for which they are not responsible, in accordance with the provisions on the surrender of unjust enrichment.
(2) If notice of termination is prompted by conduct in breach of contract of the other party, then the other party is obliged to compensate the damage arising from the dissolution of the service relationship.