What happens when a contract was signed but a party can&#39;t fullfill their oblications due to circumstances outside their control
<p>I know this is a bit of a vague question but I'll give some specific examples. When a contract is signed, and a certain part is not met for extenuating circumstances, when can legal action be taken (and likely won)?</p>

<p>I know of a person who had a contract for a job that started on x start date and y end date and was paid per hour for 38 hour work week. After y end date passed the boss contacted the person saying he hadn't fulfilled his end of the end of deal as he still had 30 minutes of work left to do (presumably this was because he didn't make up for some time he took off when sick and didn't get sick days). Could the boss sue for the remaining 30 minutes?</p>

<p>Also, as in <a href="https://law.stackexchange.com/questions/1933/when-is-a-contract-legally-binding">this question</a>, if a formal contract was agreed between a dog owner Bob and a dog walker Alice, that Alice would walk the dog each day for a few weeks for a set amount of pay, what would happen if Alice became sick or the dog wasn't able to go for a walk and nothing regarding these circumstances was written into the contract?</p>

<p>What if someone signed a contract that they would be paid to clean a building but the building burned down before they could do it?</p>

<p>Generally, what you say you will do in a contract is what you <em>must</em> do - there is no "the dog ate my homework" excuse.</p>

<p>For your examples:</p>

<ol>
<li><p>Employment contracts have so much government regulation that the common law contract is lost in the mists of time. It is unlikely that a court would interpret an employment contract as requiring exact timekeeping; it is also unlikely that the person would have worked exactly 38 hours on every week except the one where they worked 37.5. However, <em>if</em> it were proved that the employee owed 0.5 hours to the employer they could be required to provide it or refund the pay they had received, barring a law that changed this.</p></li>
<li><p>The dog must be walked. Alice must find a substitute walker if she is unable to provide it. Falling sick is something foreseeable that Alice should have provided for either in the contract ("if I am sick I won't walk the dog") or by arranging for someone else to do it. For purely personal services, falling sick may frustrate the contract, however, dog-walking is probably not personal enough.</p></li>
<li><p>There is a doctrine which allows termination by frustration <em>where neither party is at fault</em>, however, it is not clear that this would apply. The building burning down is foreseeable and could (should?) have been addressed in the contract. If the destruction of the building was without fault on the owner then the contract is frustrated. If there was some fault on the owner (smoking in bed, inoperative fire alarm etc.) and the cleaner stands willing, ready and able (that is able except for the absence of a building) to perform their obligations, the owner would probably be obliged to pay, at the least for unrecoverable costs (e.g. wages) and loss of profits - if they pay for the cleaning products the cleaner would be obliged to deliver them up.</p></li>
</ol>

<p>One of the main reasons for the length of contracts for non-trivial transactions is they deal with these contingencies.</p>

<p>This will depend on jurisdiction. In <strong>Germany</strong>, this is regulated in the German civil code, the <em><a href="https://en.wikipedia.org/wiki/B%C3%BCrgerliches_Gesetzbuch" rel="nofollow noreferrer">Bürgerliches Gesetzbuch</a></em>, mostly in <a href="https://www.gesetze-im-internet.de/bgb/__275.html" rel="nofollow noreferrer">§ 275 Ausschluss der Leistungspflicht</a>:</p>

<p>Roughly paraphrasing:</p>

<ul>
<li>If the service equired in a contract is <strong>objectively impossible</strong>, the duty is voided. A typical example would be a purchase contract for a specific item, which was destroyed before it could be delivered.</li>
<li>If the service required would mean a <strong>"disproportionate" effort</strong> for the party required to provide it, that party has a right to refuse.</li>
</ul>

<p>However, if either of these situations occurs, the aggrieved party has a right to:</p>

<ul>
<li><strong>get back their part of the deal</strong>, e.g. be refunded any payments (§326 BGB), and</li>
<li>receive <strong>appropriate indemnification</strong> - both for the value of the service or good they did not receive, and to offset any costs they incurred because they relied on receiving the service or good. However, indemnification only applies if the problems were a <strong>fault of the providing party</strong> (§280 BGB).</li>
</ul>

<hr>

<p>Addressing your examples:</p>

<blockquote>
  <p>I know of a person who had a contract for a job that started on x
  start date and y end date and was paid per hour for 38 hour work week.
  After y end date passed the boss contacted the person saying he hadn't
  fulfilled his end of the end of deal as he still had 30 minutes of
  work left to do (presumably this was because he didn't make up for
  some time he took off when sick and didn't get sick days). Could the
  boss sue for the remaining 30 minutes?</p>
</blockquote>

<p>If the person missed work due to being sick, they would have to make up for it. So, unless there is some agreement or legal rule on how to handle sick time (which is usually the case for regular employees), the boss could indeed claim compensation for the missing 30 minutes. They could claim 30 minutes' pay, but not any additional damages (because it is not the employees fault they got sick).</p>

<blockquote>
  <p>Also, as in this question, if a formal contract was agreed between a
  dog owner Bob and a dog walker Alice, that Alice would walk the dog
  each day for a few weeks for a set amount of pay, what would happen if
  Alice became sick or the dog wasn't able to go for a walk and nothing
  regarding these circumstances was written into the contract?</p>
</blockquote>

<p>If Alice became sick, then again, Alice would be allowed to not walk the dog, and would not receive pay for that time. Again, no indemnification, because it was not Alice's fault (unless she was to blame for being sick, e.g. because she drank too much alcohol). If the dog wasn't able to go for a walk for an unrelated reason (e.g. the dog being sick), Alice would have a right to receive pay, because she held up her part of the deal (being available to walk the dog).</p>

<blockquote>
  <p>What if someone signed a contract that they would be paid to clean a
  building but the building burned down before they could do it?</p>
</blockquote>

<p>Again, the contract would be effectively void, and no payment due. Also no indemnification, unless the owner burned down the building on purpose.</p>

<p>It depends on if the contract has what is referred to as a "<a href="https://en.wikipedia.org/wiki/Force_majeure" rel="nofollow noreferrer">force majeure</a>" clause, and what the clause covers.</p>

<p>If the contractor agrees to perform X by a certain date, and one of the covered events occurs, then it can free one or both parties of liabilities or suspend fulfillment of the contract until the event is over.</p>

contract-law