As long as the charges post (not just made) before the end of 2024, they should count against 2024 credits.
It usually takes about 2-3 business days to post, which means purchases made today may potentially post on 1/1 next year, and that would count against my 2025 credits.
Am I understanding it correctly?