Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Dear Sumeetha Rao,
Your question is about being unable to delete purchase invoices in Dynamics 365 Business Central. The error "The record in table Purch. Inv. Header already exists" appears because the invoice number sequence was duplicated, so a posted invoice record already uses the same number. This falls within the scope of the Dynamics 365 Business Central product support team, who have access to the appropriate resources to review and correct accounting.
As a forum moderator I can only provide general guidance, and not able to investigate Dynamics-related service behavior, data issues, or environment-specific problems.
Please open the Find Answers | Microsoft Dynamics 365 Community and pick the support option that works best for you.
Your understanding and co-operation are highly appreciated. Please feel free to reply below if you have any update or further concern.
Hope you having a nice day and really much warm regards to you as well!