web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

trying to delete an invoice from pending invoices under accounts payable in dynamics f&o

(3) ShareShare
ReportReport
Posted on by 6
Hi there, 
 
I am trying to delete an invoice from Pending Invoices in Accounts Payable. This invoice is a duplicate. 
 
We tried changing the invoice ID and deleting and recalling the workflow trying to get it back to draft mode, no luck. Error message still shows saying it must be in draft mode to delete.
 
Is there any way to delete it or get it back to draft mode to delete? 
 
We do not want to deactivate the change management feature (unless it is okay to do so, not sure how risky it is) to try get the invoice back to draft mode. What options do we have to delete this invoice? 
 
Please see screenshot.
 
 
Thank you,
error message whe...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,711 Super User 2026 Season 1 on at
    Hi, 

    At this moment the screenshot is not accessible. It is awaiting a scan on viruses or other threats. 

    What do you mean by "no luck" when trying to get the pending invoice in draft mode? Do you get an error? Can you check the status and open work items for the pending workflow instance?
  • Sohaib Cheema Profile Picture
    49,679 Super User 2026 Season 1 on at
    Hi,
    What is the status of workflow. 
    Cannot the system admin Recall it back?
  • Suggested answer
    BillurSamdancioglu Profile Picture
    20,825 Most Valuable Professional on at
    For workflow, did you use the "Use the new “Reset workflow” feature" ?
  • Suggested answer
    Giorgio Bonacorsi Profile Picture
    2,852 on at
    Hello,

    You have to recall the workflow; then you can modify the invoice ID, re-submit, or delete.
    Can we have the error message when you try to recall the workflow? We cannot see the picture.
     

    Thank you,
    Giorgio
  • RM-02120116-0 Profile Picture
    6 on at
    hi all,
     
    thank you for your feedback so far. sorry my image attachment isn't working, i have pasted my image here.
     
    i don't seem to have an option to add this feature https://www.linkedin.com/pulse/resetting-workflow-d365fo-when-has-unrecoverable-status-britstra/ not sure if it would help this error. 
     
    I have recalled the workflow as some have usggested and the delete button is available, as my screenshot shows. However when I try to delete the invoice from Pending Invoices in AP, the below error is shown. Changes to document are only allowed in draft state. I can't seem to get back to draft state so that I can delete the invoice. 
     
  • Imran Mustafa001 Profile Picture
    124 on at
  • Suggested answer
    Syed Haris Shah Profile Picture
    1,666 Super User 2026 Season 1 on at
     
    It is currently unclear whether the recall action completed successfully and changed the invoice status back to Draft.
     
    My assumption is that the workflow batch job is not running or has failed, therefore, recall did not return the invoice to Draft.
     
    We should first verify workflow batch jobs and invoice workflow status. If recall still cannot return it to Draft, deletion is not supported by design.
     
     
    If you find this answer helpful, please consider verifying the answer. 👍
     
    Regards,
    Syed Haris Shah
     
     
     
  • Syed Haris Shah Profile Picture
    1,666 Super User 2026 Season 1 on at
     
    If you have any updates, please share them here.
     
    Regards,
    Syed Haris Shah

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 608

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 591 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans