On domestic flights at least, the receipts printed at the airport (check in counter or kiosk) show only the fare basis code that you purchased, not the class of service flown. I would imagine the same is true of international. So when you check in, be sure to ask for a receipt.