Deductions & credits

If you didn't get paid until 2021 it will go on your 2021 return next year.  How or why do you have a list of payments if you didn't get paid in 2020?