The machine is supposed to charge the discounted price on the AC. In fact, a little note pops up on our screen that says so. If you want a receipt you gotta ask. Although some FA's take it upon themselves to offer the receipt every time, policy is to not offer or give it unless asked.
I haven't had a problem so far with the discount being properly credited at the time of sale.