1570. A debtor who owes a debt that bears interest or yields periodic payments may not, without the consent of the creditor, impute a payment to the capital in preference to the interest or periodic payments.
Any partial payment made on the principal and interest is imputed first to the interest.