2024 expense

I had a medical procedure performed in 2024 but did not receive the bill until 2025.  I paid the bill in 2025.  Can I count this medical expense in 2024?