{"id":150631,"date":"2026-10-04T10:11:18","date_gmt":"2026-10-04T10:11:18","guid":{"rendered":"https:\/\/docs.daftra.com\/tutorial\/%d8%ad%d8%b0%d9%81-%d8%a7%d9%84%d9%81%d9%88%d8%a7%d8%aa%d9%8a%d8%b1-%d8%a7%d9%84%d8%aa%d8%ac%d8%b1%d9%8a%d8%a8%d9%8a%d8%a9-%d9%88%d8%a7%d9%84%d8%a8%d8%af%d8%a1-%d9%85%d9%86-%d8%ac%d8%af%d9%8a%d8%af\/"},"modified":"2026-10-14T12:18:50","modified_gmt":"2026-10-14T12:18:50","slug":"deleting-test-invoices-and-starting-fresh-with-opening-balances","status":"publish","type":"tutorial","link":"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/","title":{"rendered":"Deleting Test Invoices and Starting Fresh with Opening Balances"},"content":{"rendered":"<div dir=\"ltr\" lang=\"en\">\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">If you tried the system at the beginning with test invoices and now want to erase them and start fresh with the real opening balances, this guide explains step by step: how to delete the old data, what may prevent you from deleting, and how to enter the opening balances the right way.<\/p>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><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> There is no single button in the account to erase all the data. If your whole account is a test account and you want to return it to its initial state completely, contact the support team. But if you only want to delete part of the data, follow the next steps.<\/p>\n<\/div>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Before You Start: Is E-Invoicing Enabled?<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">This is the most important point, because it determines whether you can delete at all:<\/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: bold;\">Country<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">Can the Test Invoices Be Deleted?<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Saudi Arabia<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">If the Saudi e-invoicing app is enabled, <strong style=\"color: #111827;\">no issued invoice can be deleted<\/strong> even if it wasn&#8217;t sent to the authority. The solution is issuing a <strong style=\"color: #111827;\">credit note<\/strong> or a <strong style=\"color: #111827;\">refund invoice<\/strong> on it. If you haven&#8217;t enabled the app yet, delete the test invoices <strong style=\"color: #111827;\">before<\/strong> enabling.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Egypt<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Invoices that weren&#8217;t sent to the Tax Authority can be deleted. Sent ones cannot be deleted.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Jordan<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Invalid or unsent invoices can be deleted. Valid ones cannot be deleted.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">UAE<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">There is no restriction on deletion.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"display: flex; gap: 10px; background: #fff8eb; border-left: 4px solid #d97706; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\u26a0<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Warning:<\/strong> If you are in Saudi Arabia and you were trying the system, it is best to finish all the trials and delete them, then enable the e-invoice and start the actual work.<\/p>\n<\/div>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 1: Delete the Returns and Notes First<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">An invoice linked to a return or a note cannot be deleted, and the message <span style=\"background: #f3f4f6; border-radius: 4px; padding: 1px 6px;\">\u00abInvoice no. ### cannot be deleted because it is linked to returns, credit notes, or debit notes. Please delete the linked documents first.\u00bb<\/span> appears. So start with them:<\/p>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoices\/refund\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Refund Invoices<\/strong><\/a>, select all the test returns and delete them.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoices\/creditnotes\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Credit Notes<\/strong><\/a> and delete the test credit notes.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">If you use debit notes, delete them as well.<\/li>\n<\/ol>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 2: Delete the Approved Stock Requisitions (If You Use Them)<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">If stock requisitions are enabled, and the invoice&#8217;s requisition was approved, the invoice won&#8217;t be deleted before the requisition is deleted.<\/p>\n<\/div>\n<div dir=\"ltr\" lang=\"en\">\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/requisitions\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Stock Requisitions<\/strong><\/a>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Search for the requisitions linked to the test invoices and delete them.<\/li>\n<\/ol>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 3: Delete the Invoices<\/h2>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoices\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Sales Invoices<\/strong><\/a>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Select the test invoices from the boxes next to them (or select all).<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From the actions choose <strong style=\"color: #111827;\">Delete<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">A <strong style=\"color: #111827;\">confirmation message<\/strong> will appear; click Yes.<\/li>\n<\/ol>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">When an invoice is deleted, the system deletes with it its accounting entries and its payments&#8217; entries, returns the stock, and recalculates the client&#8217;s balance. You don&#8217;t need to delete the payments one by one.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">If the System Refuses to Delete an Invoice<\/h3>\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: bold;\">The Message<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">The Cause<\/th>\n<th style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; background: #f6f8fb; font-weight: bold;\">The Solution<\/th>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><span style=\"background: #f3f4f6; border-radius: 4px; padding: 1px 6px;\">\u00abYou cannot add, edit, or delete a movement on this day ####, within a closed period\u00bb<\/span><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The invoice date is in a closed period<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Open the period from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/financial_years\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Fiscal Years<\/strong><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">A message about a closed session<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The invoice is from the point of sale and its session is closed<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Reopen the session or delete the invoice after canceling the session confirmation<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">A message about the approved stock requisition<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The requisition was approved<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Delete the requisition first (Step 2)<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\"><span style=\"background: #f3f4f6; border-radius: 4px; padding: 1px 6px;\">\u00abYou cannot remove the movement that falls in a commission record that is approved, rejected, or paid\u00bb<\/span><\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">The invoice is inside a commission record<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Reopen the commission record<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">A message from the Zakat Authority or the Tax Authority<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">A locked e-invoice<\/td>\n<td style=\"border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top;\">Issue a credit note instead of deleting<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 4: Permanently Delete from the Trash<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Deleted invoices don&#8217;t disappear directly, but go to the <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/invoices\/deleted_index\/0\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Trash<\/strong><\/a> for 90 days during which you can restore them, then they are deleted automatically. If you want to get rid of them now:<\/p>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">From the invoices list click the three dots and choose <strong style=\"color: #111827;\">Trash<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Select the invoices and choose <strong style=\"color: #111827;\">Permanent Delete<\/strong>, and confirm. This action cannot be undone.<\/li>\n<\/ol>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><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> If you want to delete a test client, you won&#8217;t be able to as long as it has invoices in the trash; delete them permanently first.<\/p>\n<\/div>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 5: Delete the Rest of the Test Data<\/h2>\n<ul style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Purchase invoices and their returns in the same way.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Expenses and incomes.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Manual journal entries. (Automatic entries are deleted by deleting their source.)<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Test clients and suppliers after deleting all their movements.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Test products; a product that has stock movements can&#8217;t be deleted until its movements are deleted.<\/li>\n<\/ul>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 6: Renumber the Invoices<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Deleting invoices doesn&#8217;t return the numbering to the start. If you want your real invoices to start from number 1:<\/p>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Permanently delete the test invoices from the trash first.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/settings\/numbering\/1\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Invoice Auto Number Settings<\/strong><\/a>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Change the <strong style=\"color: #111827;\">Next Number<\/strong> to 1 (or the number you want), and save.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Repeat the same for the rest of the documents (returns, purchase invoices&#8230;) from the same page.<\/li>\n<\/ol>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 7: Set the Start Date<\/h2>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Choose a single date from which you start the actual work, and record all the opening balances with the date of the <strong style=\"color: #111827;\">first day<\/strong> of this period (or the last day of the previous period). For example: if you start work on January 1, record the balances with the date of January 1.<\/p>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Make sure from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/financial_years\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Fiscal Years<\/strong><\/a> that you have a fiscal year that includes this date, and don&#8217;t record any balance before the start of the first fiscal year.<\/p>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 8: Enter the Opening Balances<\/h2>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Client Balances<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">A positive balance means the client owes you.<\/p>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">To add the balance when creating the client: enable <strong style=\"color: #111827;\">Opening Balance<\/strong> from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/clients\/settings\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Client Settings<\/strong><\/a>, then you will find in the client form the <strong style=\"color: #111827;\">Opening Balance<\/strong> and <strong style=\"color: #111827;\">Opening Balance Date<\/strong> fields.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">For an existing client: open the client&#8217;s page and click <strong style=\"color: #111827;\">Add Opening Balance<\/strong>, and enter the amount, the date, and the currency.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">For a large number of clients: use <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/clients\/import\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Import Clients<\/strong><\/a> and add the opening balance and its date columns in the file.<\/li>\n<\/ol>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">The entry: debit the client&#8217;s account \/ credit <strong style=\"color: #111827;\">Opening Balance<\/strong>.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Supplier Balances<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">In the same way from the supplier&#8217;s page or its add form or the import. A positive balance means you owe the supplier. The entry: debit <strong style=\"color: #111827;\">Opening Balance<\/strong> \/ credit the supplier&#8217;s account.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Stock Balances<\/h3>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/requisitions\/add\/1\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Stock Addition Requisition<\/strong><\/a>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Choose the warehouse and the <strong style=\"color: #111827;\">start date<\/strong>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">In the <strong style=\"color: #111827;\">Sub-Account<\/strong> choose the <strong style=\"color: #111827;\">Opening Balance<\/strong> account.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Add the products, the quantities, and the <strong style=\"color: #111827;\">unit price<\/strong> (the purchase cost).<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Save.<\/li>\n<\/ol>\n<div style=\"display: flex; gap: 10px; background: #f6f8fb; border-left: 4px solid #1a56db; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><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> The <strong style=\"color: #111827;\">Stock Quantity<\/strong> field in the product form records the balance with today&#8217;s date and on the other credit parties account, so the addition requisition is more accurate for opening balances because it allows choosing the date and the account. Products tracked by serial number or expiry date must be entered with an addition requisition.<\/p>\n<\/div>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Treasuries, Banks, and the Rest of the Accounts<\/h3>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/journals\/add\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Add Entry<\/strong><\/a>.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Choose the start date and write &#8220;Opening entry&#8221; in the description.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">For each treasury or bank: debit the treasury account with the balance.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Add the rest of the balances (loans, capital, prepaid expenses&#8230;) in the same entry.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Make the difference in the <strong style=\"color: #111827;\">Opening Balance<\/strong> account or the capital account as suits your accountant, then save.<\/li>\n<\/ol>\n<div style=\"display: flex; gap: 10px; background: #fff8eb; border-left: 4px solid #d97706; border-radius: 6px; padding: 14px 16px; margin: 0 0 18px;\">\n<p><span style=\"flex: 0 0 auto; font-size: 18px; line-height: 1.6;\">\u26a0<\/span><\/p>\n<p style=\"margin: 0; line-height: 1.9; font-size: 16px; color: #1f2430;\"><strong style=\"color: #111827;\">Warning:<\/strong> Don&#8217;t repeat the clients&#8217;, suppliers&#8217;, and inventory balances in the opening entry because they were already recorded in the previous steps.<\/p>\n<\/div>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Fixed Assets<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Add each asset from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/assets\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Assets<\/strong><\/a> with its purchase date and value, and choose in <strong style=\"color: #111827;\">Cash Account<\/strong> the <strong style=\"color: #111827;\">Opening Balance<\/strong> account so its price isn&#8217;t deducted from the treasury.<\/p>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Step 9: Review<\/h2>\n<ol style=\"margin: 0 0 16px; padding-left: 26px;\">\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Open the trial balance with the start date, and make sure the <strong style=\"color: #111827;\">Opening Balance<\/strong> account&#8217;s balance is logical (approximately equals the net equity).<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Review the account statement of a number of clients and suppliers.<\/li>\n<li style=\"margin-bottom: 10px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Review the inventory balances report.<\/li>\n<\/ol>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">After that you can close the previous period from <a style=\"color: #1a56db;\" href=\"https:\/\/go.daftra.com\/owner\/financial_years\/index\" target=\"_blank\" rel=\"noopener\"><strong style=\"color: #1a56db;\">Fiscal Years<\/strong><\/a> so the balances aren&#8217;t edited by mistake.<\/p>\n<h2 style=\"font-size: 22px; font-weight: bold; color: #111827; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3;\">Frequently Asked Questions<\/h2>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">I deleted the invoices but the next number is still big<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Deleting doesn&#8217;t change the numbering. Change the <strong style=\"color: #111827;\">Next Number<\/strong> from the numbering settings after the permanent deletion.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">I am in Saudi Arabia and e-invoicing is enabled. How do I cancel the test invoices?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">By issuing a credit note or a refund invoice with the same value for each invoice. They cannot be deleted.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">Can I restore an invoice I deleted by mistake?<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Yes, from the trash within 90 days with the <strong style=\"color: #111827;\">Restore<\/strong> button, unless you deleted it permanently.<\/p>\n<h3 style=\"font-size: 18px; font-weight: bold; color: #111827; margin: 24px 0 10px;\">I want to erase the whole account and start from zero<\/h3>\n<p style=\"margin: 0 0 14px; line-height: 1.9; font-size: 16px; color: #1f2430;\">Contact the support team to return the account to its initial state.<\/p>\n<\/div>\n","protected":false},"author":17,"featured_media":0,"template":"","categories":[2149,2155],"tags":[21956,21953,21952,21951,19556,19633,21954,21948,21949,21950,20857,21955],"class_list":["post-150631","tutorial","type-tutorial","status-publish","hentry","category-invoices-and-estimates","category-sales-invoice","tag-clearing-account-data","tag-deleting-an-e-invoice","tag-deleting-old-invoices","tag-deleting-test-invoices","tag-opening-balances","tag-opening-entry","tag-opening-stock-balance","tag-renumbering","tag-starting-fresh","tag-supplier-opening-balance","tag-trash","tag-why-cant-i-delete-the-invoice"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Deleting Test Invoices and Starting Fresh with Opening Balances - 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\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deleting Test Invoices and Starting Fresh with Opening Balances - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"If you tried the system at the beginning with test invoices and now want to erase them and start fresh with the real opening balances, this guide explains step by step: how to delete the old data, what may prevent you from deleting, and how to enter the opening balances the right way. \ud83d\udec8 Note: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-14T12:18:50+00:00\" \/>\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=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/docs.daftra.com\/#organization\",\"name\":\"Daftra\",\"url\":\"https:\/\/docs.daftra.com\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/#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\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"publisher\":{\"@id\":\"https:\/\/docs.daftra.com\/#organization\"},\"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\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/\",\"name\":\"Deleting Test Invoices and Starting Fresh with Opening Balances - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"datePublished\":\"2026-10-04T10:11:18+00:00\",\"dateModified\":\"2026-10-14T12:18:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deleting Test Invoices and Starting Fresh with Opening Balances\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Deleting Test Invoices and Starting Fresh with Opening Balances - 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\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/","og_locale":"en_US","og_type":"article","og_title":"Deleting Test Invoices and Starting Fresh with Opening Balances - Daftra Knowledge Base","og_description":"If you tried the system at the beginning with test invoices and now want to erase them and start fresh with the real opening balances, this guide explains step by step: how to delete the old data, what may prevent you from deleting, and how to enter the opening balances the right way. \ud83d\udec8 Note: [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2026-10-14T12:18:50+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/docs.daftra.com\/#organization","name":"Daftra","url":"https:\/\/docs.daftra.com\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/#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\/#logo"}},{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","publisher":{"@id":"https:\/\/docs.daftra.com\/#organization"},"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\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/#webpage","url":"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/","name":"Deleting Test Invoices and Starting Fresh with Opening Balances - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"datePublished":"2026-10-04T10:11:18+00:00","dateModified":"2026-10-14T12:18:50+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/tutorial\/deleting-test-invoices-and-starting-fresh-with-opening-balances\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Deleting Test Invoices and Starting Fresh with Opening Balances"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/150631","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\/17"}],"version-history":[{"count":2,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/150631\/revisions"}],"predecessor-version":[{"id":150633,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tutorial\/150631\/revisions\/150633"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=150631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=150631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=150631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}