Matching of AP invoice lines with receipts of goods

We encounter an issue with Unmatched AP Invoice lines. Apparently the user has already matched the planned receipt with another invoice and all transactions are already posted, so we can’t create by undoing transactions the required situation. How to match these AP invoice lines?

Does AP invoice have a Cancellation invoice function like AR invoice does?

No. Unfortunately not. Do you have any other suggestion?