{"id":142112,"date":"2026-08-12T06:56:39","date_gmt":"2026-08-12T06:56:39","guid":{"rendered":"https:\/\/docs.daftra.com\/?post_type=tutorial&#038;p=142112"},"modified":"2026-08-19T08:52:24","modified_gmt":"2026-08-19T08:52:24","slug":"risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice","status":"publish","type":"tutorial","link":"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/","title":{"rendered":"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice"},"content":{"rendered":"<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">The system never automatically deletes the journal entry linked to an invoice when &#8220;<strong>Accounts Routing<\/strong>&#8221; is disabled, even if that invoice is edited afterward. This guide explains the scenario in question and the reasons this behavior is intentional, in order to protect the integrity of your accounting and tax records.<\/p>\n","protected":false},"author":23,"featured_media":0,"template":"","categories":[2155,2113],"tags":[11305,11300,11298,11301,11303,11299,11302,11244,11245,11246,11248],"class_list":["post-142112","tutorial","type-tutorial","status-publish","hentry","category-sales-invoice","category-accounts-routing","tag-accounts-routing-disabled-invoice-edit","tag-client-statement-integrity","tag-does-journal-entry-get-deleted-automatically","tag-how-to-manually-fix-an-old-invoice-entry","tag-protecting-tax-filings-from-conflict","tag-tax-declaration-conflict-deleted-entry","tag-what-happens-to-the-entry-when-accounts-routing-changes","tag------en","tag-----en","tag-------en","tag--------e"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice - Daftra Knowledge Base<\/title>\n<meta name=\"description\" content=\"Learn why never auto-deletes a journal entry when accounts routing is disabled and an old invoice is edited, protecting tax compliance.\" \/>\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\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Learn why never auto-deletes a journal entry when accounts routing is disabled and an old invoice is edited, protecting tax compliance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-19T08:52:24+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/\",\"name\":\"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-08-12T06:56:39+00:00\",\"dateModified\":\"2026-08-19T08:52:24+00:00\",\"description\":\"Learn why never auto-deletes a journal entry when accounts routing is disabled and an old invoice is edited, protecting tax compliance.\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice - Daftra Knowledge Base","description":"Learn why never auto-deletes a journal entry when accounts routing is disabled and an old invoice is edited, protecting tax compliance.","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\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/","og_locale":"en_US","og_type":"article","og_title":"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice - Daftra Knowledge Base","og_description":"Learn why never auto-deletes a journal entry when accounts routing is disabled and an old invoice is edited, protecting tax compliance.","og_url":"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-08-19T08:52:24+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/#webpage","url":"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/","name":"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-08-12T06:56:39+00:00","dateModified":"2026-08-19T08:52:24+00:00","description":"Learn why never auto-deletes a journal entry when accounts routing is disabled and an old invoice is edited, protecting tax compliance.","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/risks-of-auto-deleting-a-journal-entry-when-disabling-sales-accounts-routing-and-editing-an-invoice\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Risks of Auto-Deleting a Journal Entry When Disabling Sales Accounts Routing and Editing an Invoice"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/142112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/23"}],"version-history":[{"count":4,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/142112\/revisions"}],"predecessor-version":[{"id":143172,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/142112\/revisions\/143172"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=142112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=142112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=142112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}