Debit note received from party after FY

Aj Style (Student) (348 Points)

11 May 2024  
I received a debit note from party for FY 23-24 Jan month, in May 2024. Which month should I pass credit note in our book, in 23-24 or 24-25,
Please guide as per accounting and gst point of view