If a banknote is damaged, wrinkled or dirty, an ATM may reject it and return it to you. In this case, you could try smoothing out the wrinkled banknote and reenter it into the ATM.