The lottery receipt can be used to show what was purchased, the amount that was paid + taxes by anyone.
Just use the official tax office app for the digital receipts and add the paper receipt by scanning the QR-code.
Don’t know if they also save the payment method in the government database. But some statistics the government releases imply that they probably are.
May be they don’t save the cash card number in the transaction.