How to update changed purchase account of item in invoice

How to update changed purchase account of item in invoice

I have selected the wrong purchase account for various articles and created invoices. I had to adjust the purchase account in the article afterwards, but the old purchase account is still posted in the transaction-journal of the invoice. To adjust the revenue account, it works with the update at item level in the invoice. How can I adjust these invoice transactions for purchase accounts?