The same is true going the other way - selling just across the border will often net a more favorable rate.
Most international banks will allow you to get a cash advance via a debit or credit card at a Chinese ATM.