In general, should be no issues and no fees. But the thing that seems a little suspicious with your arrangement is that your friend is buying for you. In which case, it kind of looks like it's commercial goods he is acquiring to sell to someone. If he's at least a little pin-savy, would be best that he's representing as purchasing for himself. You can bring up to $10,000 cash without declaring. You should also have the seller write-up a bill of sale with his contact.
I've never had an issue or any costs bringing machine south, but friend of mine has to pay sales tax when going north, but that's all. Last time I came south I was just asked what was in the truck and he took a look and waved me right on.
What machine did you pick up?