Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Deleted the attached incoming document from a posted purchase invoice

(2) ShareShare
ReportReport
Posted on by
I need to delete a copy of an invoice from the incoming document section of a posted purchase invoice (the wrong invoice copy has been attached and needs to be replaced).
 
I have followed the instructions below but get an error message and the document is not deleted (the enforced digital voucher functionality is not turned on). We have not had this issue previously. Has anyone else seen this and know of a way to delete the document?
 
Thanks
 

Remove a connection from an incoming document record to a posted document

You can remove file attachments from non-posted documents at any time by deleting the related incoming document record. If the document is posted, then you must first remove the connection from the incoming document record.

  1. Choose the /Lightbulb icon, enter Incoming Documents, and then choose the related link.
  2. Select the line for an incoming document record connected to a posted document that you want to remove, and then choose the Remove Reference to Record action.

The connection to the posted document is removed. You can now proceed to connect another incoming document record to the posted document as described in this article.

 
 
 
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Super User 2025 Season 1 on at
    Deleted the attached incoming document from a posted purchase invoice
  • Suggested answer
    Inkey Solutions Profile Picture
    2,051 on at
    Deleted the attached incoming document from a posted purchase invoice
    We tried this scenario and successfully deleted the incoming document from the posted purchase document.
    Below, we have attached screenshots of the process we followed. Please confirm if this process differs from the one you are using.
     
     
     
    .
     
     
     
    hope this will help
  • Suggested answer
    YUN ZHU Profile Picture
    83,822 Super User 2025 Season 1 on at
    Deleted the attached incoming document from a posted purchase invoice
    Hi, hope the following helps.
    How to delete Incoming Document Records from Posted Documents in Dynamics 365 Business Central
     
    Thanks.
    ZHU
  • Marcella Affonso Profile Picture
    150 on at
    Deleted the attached incoming document from a posted purchase invoice
    Hi,
     
    I was getting error when trying to remove the attachment when the status is "posted" Somehow I was able to remove either way, but I noticed that the Attachment updated every time it was removed, for exam[le before I had FW 11.18 and when I removed it attached a new one here
     
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,025 Moderator on at
    Deleted the attached incoming document from a posted purchase invoice
    According to the official documentation it is not possible to delete attachements you can only add new ones when the document is posted.
    What I would do is just to add the correct attachement and then make a note on the incorrect attachement,
    If you really need to delete the attachement your partner should be able to assist you with that through AL Code.
    But it my experience adding the correct attachement should be sufficient.
     
  • Gerardo Rentería García Profile Picture
    19,498 Most Valuable Professional on at
    Deleted the attached incoming document from a posted purchase invoice
    Hi
    You could copy the error detail and see in which extension/function the error is generated.
    best Regards
    Gerardo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans