PO invoice deleted from AP invoice batch appears posted in PO invoice entry

Hi everyone,

Invoices entered in PO are sent to an AP invoice batch. These AP invoice batches need to be posted before they appear on the vendor's account. However, I accidently deleted an invoice from the AP invoice batch before posting other PO invoices.

Now the invoice doesn't appear on the vendor's account but I can see the invoice in PO invoice entry and it appears as posted.

Could you please advise how can I fix it?