Hi
If you can reverse the payment if check has not been issued to vendor & than you can book the invoice again correctly. Alternatively, issue a credit note to Vendor in MIRO using Subsequent Credit option with reference to PO
Regards
Sanil Bhandari