I like the idea of electronic receipts. If you weren't bothered about wasting paper you could print the code on the paper receipt; otherwise, you'd need a dedicated device to transmit the QR code. I wonder how big the QR code needs to be in order to encode all the information on the receipt; those thermal receipt printers aren't that great. How about an app that uses the phone camera to scan the entire receipt, then…
You could then manage your preferences with the central service who could email you receipts or just store them for you indefinitely.