Treatment of credit note against FA

Need insights on this situation. Supplier provided FA for x amount and there were lot of issues with the asset so after a year they issued a credit note of $40k to be used against future asset repair. What should be the treatment? I think it should be treated as deferred expense while another accountant thinks it can be treated as warranty and not accounted in books