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 :
Small and medium business | Business Central, N...
Suggested Answer

Cannot delete sales invoice

(2) ShareShare
ReportReport
Posted on by 20
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
    61,204 Super User 2026 Season 1 on at
  • Suggested answer
    Jun Wang Profile Picture
    8,210 Moderator on at
    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
    99,322 Super User 2026 Season 1 on at
    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

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 March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,947 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,120 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 628 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans