Cancellation of written-off invoice

Cancellation of written-off invoice

Hi,

Can I know when we cancel the write off (write back), in which FY, the reversal is recorded. It doesn't ask as to when the write off should be cancelled to reflect!. It shouldn't reflect in the year in which the invoice was written off since the Year end would have been completed.
I'm unable to tract the accounting entries for the cancellation.