Archive, export and delete a client
This guide ends the work for a client cleanly: you archive it, secure its data in an export, and only then delete it permanently.
Before you start
- Archiving is open to owners and partners. Reactivating, exporting and deleting are for owners only.
- You open everything from the client list with Manage, in the Archive section.
- About 10 minutes plus the time the export takes. For a large client that can be long.
Step 1: Archive the client
- Open the client list and click Manage on the client.
- In the Archive section, click Archive.
- Answer the question “Archive name? The client becomes read-only and isn’t billed at the next renewal.” with Confirm.

If the client has Shopify invoices, Hive Engine first saves a copy of each one while archiving. For a large shop this can take a while. The client stays usable meanwhile, the Archive section says “Being archived – saving Shopify invoices”, and Archive, Reactivate, changing the plan and editing are locked. You can leave the page open: it reloads by itself until the client is archived. If the client’s database can’t be reached right now, the message reads “The client’s database can’t be reached right now. Please try again later.” Try again later then.
After that the client is archived.
Read-only means you can open the client and look at everything, but you can no longer change, book or send anything. Nothing is written in the background either, and the client’s automatic jobs stop. It shows in the switcher under Archived (n) and has a grey band saying “Archived since …”. Assignments and history are kept.
An archived client is no longer billed, but there is no credit for the period already paid (see Packs and prices).
Reactivate the client
As long as you have not deleted it, you can bring a client back: Manage, Archive section, Reactivate. The question reads: “Reactivate name? Months of the contract year not yet paid will be charged.”
- If you reactivate within the period already paid, it costs nothing.
- Otherwise the months until the next renewal are charged, started months in full.
- It is refused while an export is running: wait until it is done.
After reactivating, the client can be edited as before. An earlier export no longer counts toward a later deletion: after archiving again you need a new one.
Step 2: Create the export
An archived client shows the Create export button in the Export section. The note beside it reads: “The export holds all data and documents of this client. It is kept for 30 days and needed before the client can be deleted.”
- Click Create export.
- It says “The export is being created. This can take a while.” You can close the page, the export keeps running on the server.
- When it is done: “Export ready: size, available until date.”

What the export holds
The export is a ZIP file with:
- all stored documents as PDF (invoices, receipts, payslips), including the copies of the Shopify invoices saved while archiving. Every invoice copy keeps the VAT registration the invoice was issued with, even if MWST-pflichtig (VAT registered) has been changed since (as reminders, dunning letters and resent invoices do),
- tables as CSV files, semicolon separated, readable in Excel: journal, chart of accounts, receivables, payments, payables, bank, VAT periods, CRM contacts, and people, payroll, time tracking and absences,
- a copy of the client’s database, from which it can technically be restored.
Documents Hive Engine could not read are not included. They are listed in the file FEHLENDE_DOKUMENTE.txt inside the export, and the panel says: “n documents could not be included in the export.” Fix the cause and create a new one with Create a new export. An incomplete export is only enough for deleting with a written reason (see step 4).
If a Shopify invoice could not be fetched, the Export section also says: “A Shopify invoice couldn’t be fetched. Reactivate the client, connect Shopify and export again.” Delete stays locked (message “The export is incomplete: some documents are missing. Create a new export.”). To fix it, reactivate the client, connect Shopify again, archive it once more and create a new export.
The 30 days
The export file stays on the server for 30 days and is then removed. The panel then says “The last export has expired.” You can create a new one at any time while the client is archived. Save the file somewhere that fits your retention rules.
Step 3: Download the export
- In the Export section, click Download.
- Confirm with your password opens: “The export holds sensitive data. Enter your own password to download it.”
- Enter your password in Your password and confirm. “The download has started.” appears.

Good to know:
- The download link works for one download only and expires after a short time. If it fails, enter the password again.
- After 5 wrong passwords, downloads are locked for you for 15 minutes. Even the right password is refused during that time.
- A checksum (SHA-256) is shown beside the export: “Checksum (SHA-256) to compare after downloading:”. Calculate it for the downloaded file and compare. If it matches, the file is complete and unchanged. On Windows use
certutil -hashfile File.zip SHA256, on Mac and Linuxshasum -a 256 File.zip. - Afterwards it says “Downloaded on date.” Open the file once before you delete.
Step 4: Delete the client permanently
Deleting removes the client’s database, documents and files. This cannot be undone. The Delete permanently button is only active when all of the following are true. Otherwise the reason is shown beside it:
| Condition | Message when missing |
|---|---|
| The client is archived. | “Only an archived client can be deleted.” |
| An export exists that was made after the client was archived. | “Create an export first. It must be made after the client was archived.” |
| The export is complete. | “The export is incomplete: some documents are missing. Create a new export.” |
| You downloaded the export. | “Download the export once before deleting.” |
| No export is running. | “An export is still running. Wait until it is done.” |
If the incomplete export is the only reason, owners can still delete: the dialog then shows the tick “Delete despite missing documents” and the field “Reason (saved in the history)” with the hint “The missing documents will no longer be available. At least 20 characters.” Set the tick and write why the documents may be missing, for example where the records are kept instead. The reason is saved in the client’s history together with the number of missing documents. If it is too short, you see “Please give a reason of 20 to 1000 characters.” None of the other conditions can be overridden.
To delete:
- Click Delete permanently. Delete client permanently opens.
- Read the note “Retention duty OR 958f: 10 years — the responsibility lies with the firm”. Under Art. 958f of the Swiss Code of Obligations, business books and vouchers must be kept for 10 years. That duty lies with your firm, not with Hive Engine. The export helps you meet it but does not meet it by itself.
- Tick “I have saved the export file and opened it.”
- At “Type the name of the client to confirm: name”, type the name exactly.
- Click Delete permanently.

It says “Name is being deleted. This can take a few minutes.” Afterwards the client disappears from the list.
Deleted, export still available
Once a client is deleted, its export stays downloadable until the 30 days are over. You find it in the client list in the Deleted, export still available section, with “Available until date”, the size, the checksum and a Download button. Downloading works as in step 3. When it expires the row disappears and the file is gone.
History
As an owner you can see what has happened to a client. In Manage, the History section is at the bottom; for a deleted client, click History in its row under Deleted, export still available. The newest entries come first, each with the time and the user. The history shows the latest 500 entries at most.
- Archived shows how many Shopify invoice copies were saved, how many failed and how many were skipped.
- Archiving failed shows the error code.
- If you deleted with Delete despite missing documents, the entry Deleted despite missing documents shows your Reason word for word, and how many documents were missing from the export. The entry is highlighted and stays visible after the deletion.
Partners and staff do not see the history.
A client whose setup failed
A client with the status Setup failed has no data you need to secure. You can delete it without an export: Manage, Delete permanently, type the name. The tick for the export file does not apply.
Troubleshooting
| Message | Cause | Solution |
|---|---|---|
| “The export failed: …” | The server could not finish the export. The reason follows, for example “The server has no space left for the export.” | Fix the cause (if space is short, contact Hive Engine) and click Create a new export. The client stays archived and unchanged. |
| “The export failed: The database backup tool on this server doesn’t match the database version. Please contact support.” | The server’s backup tool and the database don’t match. | Contact Hive Engine. |
| “The export was interrupted.” | The server restarted or the work stopped. | Create a new export. |
| “The password is wrong.” | Wrong password on download. | Enter it again. After 5 failed tries: “Too many wrong passwords. Downloads are locked for 15 minutes.” |
| “The download link has expired. Enter your password again.” | The link works briefly and only once. | Click Download again. |
| “This export has expired and its file was removed.” | The 30 days are over. | If the client is not deleted yet, create a new export. |
| “This client is being archived. Please wait until that’s done.” | The Shopify invoices are still being saved. | Wait until the client is archived. |
| “The name does not match.” | The name you typed differs. | Type the name exactly as shown. |
| “Please confirm that you saved the export file.” | The tick is missing. | Tick the box. |
| “Deleting failed: …” | A step failed, for example “The database could not be removed.” | Click Try deleting again. If it persists, contact Hive Engine. |
| “This client is being deleted.” | Deleting is running. | Wait a few minutes. |