Can we demand the loss caused by delayed payments from the debtors?

If the debtors do not pay in time and the value of debt amount changed due to inflation, you can demand the difference caused by inflation from the debtor. The main principle in loans is that both the lender and the borrower should not meet a loss.