Skip to main content

Audit Log

The audit log records every change in the system: who did what and when. This provides full traceability for compliance, troubleshooting and internal oversight.

Quick Overview​

Via Settings → Audit log you see a chronological overview of all create, update and delete actions in your company environment. Every record change is captured with its before and after state, so you can precisely reconstruct what was changed.

Getting Started — Consulting the Audit Log​

  1. Go to Settings → Audit log.
  2. The overview shows the most recent actions at the top.
  3. Use the filters at the top to search:
    • Entity type — e.g. order, invoice, stock_item, customer
    • User — filter on a specific staff member
    • Date range — choose a start and end date
  4. Tap a row in the overview to see the full details, including the before and after values.

Fields per Log Entry​

FieldDescription
Actioncreate, update or delete
Entity typeThe type of object that was changed (e.g. order, customer, product)
Entity IDThe unique ID of the changed object
BeforeJSON snapshot of the values before the change (empty for create)
AfterJSON snapshot of the values after the change (empty for delete)
IP addressThe IP address from which the action was performed
UserThe staff member who performed the action
TimestampDate and time of the action (UTC)

In Depth​

Before and After Comparison​

For an update action, the audit log shows a diff of the changed fields. Unchanged fields are not included in the before/after JSON, so you can immediately see what was modified.

Example of an update action on an order:

{
"action": "update",
"entity_type": "order",
"entity_id": "ord-abc-123",
"before": {
"status": "confirmed"
},
"after": {
"status": "prepared"
},
"user": "john@rentalcompany.com",
"ip_address": "192.168.1.10",
"occurred_at": "2026-04-29T09:15:42Z"
}

Which Actions are Logged?​

The audit log records all create, update and delete actions on the following entities:

  • Orders and order lines
  • Customers and contacts
  • Products and stock items
  • Invoices and payments
  • Damage reports and inspections
  • Users and role changes
  • Settings (webhooks, SSO, pricing rules)
System actions

Automatic system actions (e.g. creating a checklist run on status transition) are also logged, but with user = system instead of a staff member name.

Exporting​

Tap Export in the top right of the audit log screen to download a CSV export of the filtered results. This is useful for audits, compliance reports or external analysis.

Retention period

Audit log entries are retained for 12 months by default. After this period old entries are automatically deleted. If your organisation requires a longer retention period, contact Rentstuff support.