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

Community site session details

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

Cannot delete sales invoice

(2) ShareShare
ReportReport
Posted on by 4
Hello,
 
We are trying to delete a sales invoice and get the following error: /Qty. Shipped Not Invoiced must be equal to '0' in Sales Line: Document Type=Invoice, Document No.=, Line No.=10000. Current value is '1'./
 
When we try to get shipment lines and undo shipment we get the following: The Sales Line does not exist. Identification fields and values: Document Type='Order', Document No.=, Line No.='10000'.
 
The related sales order is in archive but we cannot bring it back since no unposted order exists.
 
Thank you 
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,967 Super User 2025 Season 2 on at
    Cannot delete sales invoice
  • Suggested answer
    Jun Wang Profile Picture
    8,182 Super User 2025 Season 2 on at
    Cannot delete sales invoice
    it's not recommended to delete an invoice, unless no transaction/other document is associated with it. From the message, it is likely, there are shipped item associated with the invoice.
    You could go to item ledger entries to find if this is the case. If you can't find it on frontend, try to get a dev to look at the backend to be sure if a shipment exists.
     
    It will help if you could replicate the processes of the issue, and share it so other experts can share their thoughts.
     
    Jun Wang
  • Suggested answer
    YUN ZHU Profile Picture
    92,819 Super User 2025 Season 2 on at
    Cannot delete sales invoice
    Hi, have you ever tried Restore in Sales Order Archive and then Undo?
     
    Hope this helps.
    Thanks
    ZHU
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,285

#2
Sumit Singh Profile Picture

Sumit Singh 2,725

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,526

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans