Invoice Posted Incorrect Date

Invoice posted to 8/21/32 instead of 8/21/23.  Year ending 10/31/23 is completed.  Just noticed error, obviously it affected AP and Job Cost GL.   

Since invoice paid 8/21/23 the open payables for that vendor is showing a negative number. 

Screwed up on correcting by changing invoice and as to not affect year '23 which is closed selected change both entries with date of 11/1/23 (after year end).  Now job is showing in and out since it never posted to it originally 8/21/23.  What do I do now?