Create the method until on Transaction.
Add a parameter on Compte.solde to set a until date.