INFO:
Explains how to correct, cancel, or undo a posted purchase invoice and automatically create a purchase credit memo.
Amend or cancel unpaid purchase invoices - Business Central | Microsoft Learn