The stock charger won't handle 240V. You'd need something like the BMW TurboCord to allow you to use the same charger on 120V or 240V.
https://www.getbmwparts.com/oem-part...le-61442448670
But instead of buying that cord you'd be better off installing 240V w/ a good EVSE if you can.