purchase date vs posted date to determine the tax year

As the self-employed, I paid the certain amount for some service which I want to claim for tax deduction.

I paid it using my credit card. 

This transaction has Dec 30 2021 as the purchase date, but Jan 3 2022 as the posting date.

 

Can I use it for tax year 2021 deductions?