Invoice issue 2022 and credit note issue 2024 - Error

Dears,

We have issued invoice year 2022 and now we have facing issue to submit credit note in the year 2024 or 2025 even though we have update invoice reference., The error shows invoice reference is missing. kindly advise.

Thanks
Arif