If an obligor fails to perform consistent with the main purport of the obligation or the performance of an obligation is impossible, the obligee may claim compensation for damage arising from the failure; provided, however, that this does not apply if the failure to perform the obligation is due to grounds not attributable to the obligor in light of the contract or other sources of obligation and common sense trading practices.
債務者がその債務の本旨に従った履行をしないとき又は債務の履行が不能であるときは、債権者は、これによって生じた損害の賠償を請求することができる。ただし、その債務の不履行が契約その他の債務の発生原因及び取引上の社会通念に照らして債務者の責めに帰することができない事由によるものであるときは、この限りでない。
If the obligee is entitled to claim for damages pursuant to the provisions of the preceding paragraph, and any of the following cases applies, the obligee may claim for damages in lieu of the performance of the obligation:
前項の規定により損害賠償の請求をすることができる場合において、債権者は、次に掲げるときは、債務の履行に代わる損害賠償の請求をすることができる。
the performance of the obligation is impossible;
債務の履行が不能であるとき。
the obligor manifests the intention to refuse to perform the obligation; or
債務者がその債務の履行を拒絶する意思を明確に表示したとき。
the obligation has arisen from a contract, and the contract is cancelled or the obligee acquires the right to cancel the contract on the ground of the obligor's failure to perform the obligation.
債務が契約によって生じたものである場合において、その契約が解除され、又は債務の不履行による契約の解除権が発生したとき。
Read this with the articles around it
cancellation
解除
Ending a contract by one party's notice to the other, where the contract or the law gives that party a right to cancel (Civil Code, Article 540, paragraph (1)). The Civil Code lets a party cancel for the other's failure to perform: after a demand to perform within a reasonable time that is not met, unless what is still missing is minor (Article 541), or at once where performance has become wholly impossible, or the other party has clearly refused to perform, among other cases where performance clearly will not come (Article 542, paragraph (1)). On cancellation each party must put the other back in the position before the contract, and damages can still be claimed (Article 545, paragraphs (1) and (4)); a lease, though, ends only from then on (Article 620). Cancellation differs from rescission (取消し), after which the act is treated as void from the start (Article 121).
Written for this site using Civil Code, Arts. 121, 540, 541, 542, 545, 620 as a reference.
damages
損害賠償
Compensation for loss one person has caused another. A debtor who does not perform an obligation as it should be performed, or cannot perform it, must compensate the creditor for the loss that results, unless the failure comes from a cause the debtor is not responsible for, judged by the contract or other source of the obligation and by accepted views in dealings (Civil Code, Article 415, paragraph (1)); and a person who, intentionally or negligently, infringes another's rights or legally protected interests must compensate for the loss that results (Article 709). It is paid in money unless otherwise agreed (Articles 417 and 722, paragraph (1)), and the parties to a contract may agree in advance the amount due if it is not performed; a sum fixed for breach (違約金) is presumed to be such an agreement (Article 420, paragraphs (1) and (3)). The Consumer Contract Act makes void the part of such an amount in a consumer contract, for its cancellation, with any penalty added, above the average loss the business would suffer from the cancellation of consumer contracts of that kind, measured separately for each category the clause sets, such as the reason for and time of cancellation (Consumer Contract Act, Article 9, paragraph (1), item (i)).
Written for this site using Civil Code, Arts. 415, 417, 420, 709, 722 and Consumer Contract Act, Art. 9 as a reference.