Skip to main content

Notifications

Announcements

No record found.

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 
  • Suggested answer
    YUN ZHU Profile Picture
    78,733 Super User 2025 Season 1 on at
    Cannot delete sales invoice
    Hi, have you ever tried Restore in Sales Order Archive and then Undo?
     
    Hope this helps.
    Thanks
    ZHU
     
  • Suggested answer
    Jun Wang Profile Picture
    7,624 Super User 2025 Season 1 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
    Mohana Yadav Profile Picture
    60,199 Super User 2025 Season 1 on at

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans