If two persons bear an obligation to each other that has the same kind of purpose and if both obligations are due, each obligor may be relieved from the obligation by setting off the value of that obligation against the corresponding amount of the obligation of the other obligor; provided, however, that this does not apply if the nature of the obligation does not permit such a set-off.
二人が互いに同種の目的を有する債務を負担する場合において、双方の債務が弁済期にあるときは、各債務者は、その対当額について相殺によってその債務を免れることができる。ただし、債務の性質がこれを許さないときは、この限りでない。
Notwithstanding the provisions of the preceding paragraph, if a party manifests the intention to prohibit or restrict a set-off, that manifestation of the intention may be duly asserted against a third party only if the third party knew or did not know due to gross negligence it.
前項の規定にかかわらず、当事者が相殺を禁止し、又は制限する旨の意思表示をした場合には、その意思表示は、第三者がこれを知り、又は重大な過失によって知らなかったときに限り、その第三者に対抗することができる。
Read this with the articles around it
assert against
対抗
To be able to rely on a right, or on a fact about it, against someone who is not a party to it. Acquiring, losing or changing a right in rem (物権) in land or a building cannot be asserted against third parties until it is registered (登記) (Civil Code, Article 177), and a registered lease of land or a building can be asserted against a person who acquires a right in rem in it, such as a buyer, and against other third parties (Article 605). The Act on Land and Building Leases lets a tenant do without registering the lease itself: a right to use land for a building (借地権) can be asserted against third parties once the tenant owns a registered building on the land (Article 10, paragraph (1)), and a building lease takes effect against anyone who later acquires a right in rem in the building, such as a new owner, once the building has been handed over (Article 31). Some rules protect only a third party who did not know: a rescission for fraud cannot be asserted against a third party who did not know of the fraud and was not careless in not knowing (善意でかつ過失がない) (Civil Code, Article 96, paragraph (3)).
Written for this site using Civil Code, Arts. 96, 177, 605 and Act on Land and Building Leases, Arts. 10, 31 as a reference.
manifestation of intention
意思表示
A person's expression of an intention to which the law gives a legal effect, such as an offer to conclude a contract, which shows its terms and forms the contract once the other party accepts it (Civil Code, Article 522, paragraph (1)), the acceptance itself (Article 527), or the notice to the other party by which a party rescinds (取消し) an act or cancels (解除) a contract (Articles 123 and 540, paragraph (1)). One made to another person takes effect when notice of it reaches that person, or when it would normally have reached them if they blocked it without good reason (Article 97, paragraphs (1) and (2)), and does not lose its effect because the person who made it dies, loses mental capacity (意思能力) or comes under legal limits on what they can do alone after sending the notice (Article 97, paragraph (3)); where the person making it cannot find out who the other party is or where they are, it can be made by public notice (Article 98, paragraph (1)). It is not void just because the person making it knew it was not their true intention, unless the other party knew or could have known that (Article 93, paragraph (1)); a false one made in collusion with the other party is void (Article 94, paragraph (1)); and neither voidness can be asserted against a third party who did not know of it (善意) (Articles 93, paragraph (2), and 94, paragraph (2)). One based on a mistake that is material in light of the purpose of the juridical act (法律行為) and accepted views in dealings may be rescinded — one based on a mistaken view of the circumstances behind the act only if it had been shown that the act was based on them, and as a rule not where the mistake came from the gross negligence of the person who made it (Article 95, paragraphs (1) to (3)) — and so may one made under fraud or duress, though one induced by a third party's fraud only if the other party knew of the fraud or could have known of it (Article 96, paragraphs (1) and (2)); a rescission for mistake or fraud cannot be relied on against a third party who did not know and was not careless in not knowing (Article 95, paragraph (4), and Article 96, paragraph (3)). One that an agent makes within the agent's authority, showing that it is made for the principal, takes effect directly for the principal (Article 99, paragraph (1)). The Consumer Contract Act lets a consumer rescind an offer or acceptance of a consumer contract made because the business, when soliciting it, told them something untrue about an important matter and they believed it, among other grounds (Consumer Contract Act, Article 4, paragraph (1), item (i)), and the Act on Specified Commercial Transactions does the same where, in a door-to-door sale, the seller or service provider told them something untrue about such matters as the goods or the price (Article 6, paragraph (1), and Article 9-3, paragraph (1), item (i)).
Written for this site using Civil Code, Arts. 93, 94, 95, 96, 97, 98, 99, 123, 522, 527, 540, Consumer Contract Act, Art. 4 and Act on Specified Commercial Transactions, Arts. 6, 9-3 as a reference.