We cannot calculate the amount of the payment that Jones owes Smith because Smith did not specify the price.
We can calculate the amount of the payment that Jones owes Smith. It is the price that Jones paid Smith minus the value of the pens.