Article 818. Debt-to-loan conversion
1. By agreement of the parties, a debt arising from the sale, lease or other ground may be replaced by a debt obligation. 2. Debts owed to a debt shall be replaced by a debt owed with respect to a debt that is in accordance with the terms of the contract. 414) and in the form envisaged for the conclusion of the loan contract (art. 808).