Audit log and undo
Somdul records every change to a company’s records automatically: who made it, when, and what changed. The Audit log lists those changes for the company you are in. Each document also has its own History, and some mistakes can be undone. This page explains all three, and which kind of undo to use.
Open in Somdul: Settings → Audit log
Before you start
Section titled “Before you start”- You need the Admin or Accountant role in the company. See Team and access.
- For a business, the audit log is part of the Business plan and above.
- There is nothing to switch on: changes are recorded from the first day. Nobody can edit or delete the record from Somdul.
- In a practice, changes to the practice’s own records (team tasks, the monthly checklist, fees, agreements and time on clients) are only shown to practice admins and people in the practice team.
Step by step: read the audit log
Section titled “Step by step: read the audit log”-
Switch to the company you want, then open Settings → Audit log. The newest changes are at the top.
-
To see one kind of record only, choose it in the menu at the top (it starts on All). See the list of names below.
-
Read across each row: when it happened, who did it, the kind of record, whether it was created, changed or deleted, and what changed.
-
The log shows 200 changes at a time. Click Show +200 at the bottom for older ones.
Every column explained
Section titled “Every column explained”| Column | What it shows |
|---|---|
| When | The date and time of the change. |
| Who | The person who made it, or “system” for changes Somdul made by itself rather than for a person, such as automatic jobs that run on their own. |
| Table | The kind of record, by its technical name, for example journal_entries or accounts (see below). |
| Actions | INSERT (created), UPDATE (changed) or DELETE (deleted). |
| Change | For a change: each field that changed, as field: old → new. For a record created or deleted: its values. If a reason was given (for example when cancelling or correcting a posted document), it shows as Reason: in bold. |
Names in the filter
Section titled “Names in the filter”| Name | What it is |
|---|---|
journal_entries, journal_lines |
Journal entries and their lines, including the entries documents post |
accounts |
The chart of accounts |
cost_centers |
Cost centres |
approval_rules, approval_rule_steps |
Approval rules and their steps (see Approvals and approval rules) |
company_members |
Who has access to the company, and their role |
companies |
Company settings |
branches |
Branches |
fiscal_periods |
Accounting periods: months opened and closed |
All also includes other records, such as customers, suppliers, products, sales and purchase documents, stock documents and payroll.
A document’s history
Section titled “A document’s history”Most sales, purchasing and stock documents, and expense claims, have a History section at the bottom for Admins and Accountants. Click it to open a short story of the document:
- Created, or Created as a correction for a copy made with Correct;
- Sent for approval and Returned to fix;
- Posted as with the document number;
- Changed, with what changed (for example the due date or the note);
- Cancelled and Deleted.
Each line has the date and time, the person, and the reason where one was given. It says “Nothing recorded yet.” for a new document. Journal entries show an Approval history card instead.
Undoing a mistake
Section titled “Undoing a mistake”There are three kinds of undo in Somdul. Which one you use depends on what went wrong.
| What happened | How to undo it | Who can |
|---|---|---|
| You deleted a draft by mistake | Click Undo in the message that appears. It stays for about seven seconds, and the draft isn’t really deleted until then. | Whoever deleted it |
| A customer, supplier, product, account, setting or similar was changed, added or deleted by mistake | Practice → Activity, then Undo on that change. See Activity. | People with Auditor ticked, in a practice |
| A posted document (invoice, receipt, bill, payment, stock document) is wrong | Open it and use Cancel document, or Correct where the document has it. Somdul posts a reversing entry and keeps both on record. | Admins and Accountants |

Posted documents are never undone by deleting them: the books keep both the original and its reversal, so the record stays complete. See Supplier bills for how Edit details, Correct and Cancel document work.
For businesses, mistakes in master data are fixed by editing the record again. The change and the fix both appear in the audit log.
Thai tax and legal notes
Section titled “Thai tax and legal notes”- Accounting records and supporting documents are generally kept for at least five years. Somdul keeps the audit log with the company’s books, but it doesn’t replace your own record-keeping duties.
- An issued tax invoice is generally not destroyed or deleted when it is wrong. It is cancelled, the cancelled copy is kept, and a new one or a credit or debit note is issued. Somdul’s Cancel document and Correct follow this approach.
Common mistakes
Section titled “Common mistakes”- Looking in the wrong company → the audit log shows only the company you are in. Switch company first.
- Searching for a change to a team task or fee in a client’s log → those are practice records. They show only to the practice team.
- Trying to delete a posted document to “undo” it → posted documents can’t be deleted. Use Cancel document or Correct.
- Missing the seven-second Undo after deleting a draft → the draft is gone. Make it again, or copy a similar document with Duplicate.
Questions
Section titled “Questions”Can anyone change or delete the audit log?
Section titled “Can anyone change or delete the audit log?”No. Entries are added automatically and nobody can edit or delete them from Somdul, not even an Admin.
Can I keep a copy of the audit log?
Section titled “Can I keep a copy of the audit log?”Yes. Settings → Export all data includes the audit log with the rest of the company’s data. See Importing and exporting.
Why does “Who” show “system”?
Section titled “Why does “Who” show “system”?”Some changes are made by Somdul itself, not by a signed-in person, for example by automatic jobs that run on their own. Changes made while someone is using Somdul, including posting, show that person’s name.