Coming from the lease finance area of the copier industry I know this always ends up in an arguement. so we use a simple Rule
If its End of Term (EOT) and the customer is upgrading we take the cost
if the deal is at EOT, the customer is returning and going to a competitor, then the customer eats the cost