1569. When making payment, a debtor who owes several debts has the right to impute payment to the debt he intends to pay.
He may not, however, without the consent of the creditor, impute payment to a debt not yet due in preference to a debt which has become due, unless it was agreed that payment may be made by anticipation.