{"id":160427,"date":"2026-12-02T11:49:11","date_gmt":"2026-12-02T11:49:11","guid":{"rendered":"https:\/\/docs.daftra.com\/faq\/why-cant-a-sales-order-be-deleted\/"},"modified":"2026-12-02T11:49:11","modified_gmt":"2026-12-02T11:49:11","slug":"why-cant-a-sales-order-be-deleted","status":"publish","type":"faq","link":"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/","title":{"rendered":"Why can&#8217;t a sales order be deleted?"},"content":{"rendered":"<div dir=\"ltr\" lang=\"en\">\n<p style=\"margin:0 0 14px;line-height:1.9;font-size:16px;color:#1f2430;\">The system blocks deleting a sales order in the cases below, with a message explaining each. If the <strong style=\"color:#111827;\">Delete<\/strong> button does not show at all, the cause is the user&#8217;s permissions.<\/p>\n<table style=\"width:100%;border-collapse:collapse;margin:0 0 18px;\">\n<tbody>\n<tr>\n<th style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;background:#f6f8fb;font-weight:700;\">Cause<\/th>\n<th style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;background:#f6f8fb;font-weight:700;\">Fix<\/th>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">The sales order has an issued sales invoice: <strong style=\"color:#b42318;\">\u00abYou cannot delete the sales order with status partially Invoiced or Invoiced\u00bb<\/strong><\/td>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">Delete the invoice, then delete it permanently from the trash.<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">The linked invoice is in the trash: <strong style=\"color:#b42318;\">\u00abThe sales order couldn&#8217;t be deleted. Please make sure related sales invoice is removed completely from system and trash.\u00bb<\/strong><\/td>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">Click <strong style=\"color:#111827;\">[Invoices Trash]<\/strong> in the message, then <strong style=\"color:#111827;\">Permanent Delete<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">The sales order is selected in a production plan (with the Manufacturing app)<\/td>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">Remove it from the production plan, then delete it.<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">The <strong style=\"color:#111827;\">Delete<\/strong> button is missing, or <strong style=\"color:#b42318;\">\u00abYou are not allowed to delete sales order\u00bb<\/strong> appears<\/td>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">Add <strong style=\"color:#111827;\">Edit &amp; Delete All Sales Orders<\/strong> or <strong style=\"color:#111827;\">Edit &amp; Delete His Own Sales Orders<\/strong> to the user&#8217;s role.<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">You opened the delete link of a sales order that is not yours with <strong style=\"color:#111827;\">His Own<\/strong> permission only: <strong style=\"color:#b42318;\">\u00abInvalid Sales Order\u00bb<\/strong><\/td>\n<td style=\"border:1px solid #e5e7eb;padding:10px 12px;text-align:left;vertical-align:top;\">Ask someone with <strong style=\"color:#111827;\">Edit &amp; Delete All Sales Orders<\/strong> to delete it.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"display:flex;gap:10px;background:#f6f8fb;border-left:4px solid #1a56db;border-radius:6px;padding:14px 16px;margin:0 0 18px;\"><span style=\"flex:0 0 auto;font-size:18px;line-height:1.6;\">\ud83d\udec8<\/span><\/p>\n<p style=\"margin:0;line-height:1.9;font-size:16px;color:#1f2430;\"><strong style=\"color:#111827;\">Note:<\/strong> Deleting a sales order is permanent; it does not go to the trash. For details see the manual \u00abDeleting a Sales Order: Conditions and Cases Where Deletion Is Blocked\u00bb.<\/p>\n<\/div>\n<\/div>\n","protected":false},"author":17,"template":"","categories":[8087],"tags":[34201,34203,34191,7755,34202,34190,34200,34189],"class_list":["post-160427","faq","type-faq","status-publish","hentry","category-sales-order","tag-cant-delete-sales-order","tag-delete-button-missing-sales-order","tag-invoices-trash","tag-production-plan","tag-sales-order-delete-blocked","tag-the-sales-order-couldnt-be-deleted","tag-you-are-not-allowed-to-delete-sales-order","tag-you-cannot-delete-the-sales-order-with-status-partially-invoiced-or-invoiced"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why can&#039;t a sales order be deleted? - Daftra Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why can&#039;t a sales order be deleted? - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Why deleting a sales order is blocked and how to fix each case.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#organization\",\"name\":\"Daftra\",\"url\":\"https:\/\/docs.daftra.com\/en\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg\",\"caption\":\"Daftra\"},\"image\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/en\/#website\",\"url\":\"https:\/\/docs.daftra.com\/en\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"publisher\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/\",\"name\":\"Why can't a sales order be deleted? - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/#website\"},\"datePublished\":\"2026-12-02T11:49:11+00:00\",\"dateModified\":\"2026-12-02T11:49:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why can&#8217;t a sales order be deleted?\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Why can't a sales order be deleted? - Daftra Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/","og_locale":"en_US","og_type":"article","og_title":"Why can't a sales order be deleted? - Daftra Knowledge Base","og_description":"Why deleting a sales order is blocked and how to fix each case.","og_url":"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/","og_site_name":"Daftra Knowledge Base","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/docs.daftra.com\/en\/#organization","name":"Daftra","url":"https:\/\/docs.daftra.com\/en\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/en\/#logo","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2023\/10\/daftra-ar.svg","caption":"Daftra"},"image":{"@id":"https:\/\/docs.daftra.com\/en\/#logo"}},{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/en\/#website","url":"https:\/\/docs.daftra.com\/en\/","name":"Daftra Knowledge Base","description":"Daftra","publisher":{"@id":"https:\/\/docs.daftra.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/#webpage","url":"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/","name":"Why can't a sales order be deleted? - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/en\/#website"},"datePublished":"2026-12-02T11:49:11+00:00","dateModified":"2026-12-02T11:49:11+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/faq\/why-cant-a-sales-order-be-deleted\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Why can&#8217;t a sales order be deleted?"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/160427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/17"}],"version-history":[{"count":0,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/faq\/160427\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=160427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=160427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=160427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}