What you did apparently was financially reasonable and your customer was aware of the potential cost so all is well. I believe what brought out the questions and comments here was that your OP implied the customer was is for a real shock when he got the bill and we were questioning the ethics of that approach.