Legal basis: Civil Code of People's Republic of China (PRC).
Article 582 Where the performance is not in conformity with the agreement, it shall bear the liability for breach of contract in accordance with the agreement of the parties. If the liability for breach of contract is not stipulated or clearly stipulated and cannot be determined according to the provisions of Article 510 of this Law, the injured party may reasonably choose to require the other party to bear the liability for breach of contract such as repair, rework, replacement, return, price reduction or remuneration according to the nature of the subject matter and the size of the loss.
Article 700 After assuming the suretyship liability, unless otherwise agreed by the parties, the surety shall have the right to recover from the debtor within the scope of suretyship liability and enjoy the creditor's rights against the debtor, provided that the interests of the creditor shall not be harmed.