It depends on the type of transaction. When you make a withdrawal from a teller, a credit union is not legally required to provide withdrawal receipts. It is a matter of credit union policy.
However, you are entitled to a terminal receipt each time you initiate an electronic funds transfer (EFT). This applies whether you use an ATM or make a point-of-sale transaction.