When an obligation to pay a sum of money bears interest, the debtor is discharged by paying the principal and interest. Partial payment is set off against the interest first.
Interest is granted by law or stipulated in the contract. The contractual interest rate must be fixed in writing. It is deemed to be annual by default.