KontoCloud

Help / Control

Audit trail

A record of every action in the legal entity: who, when, what and with which data. Written by the database and cannot be changed.

On this page

The Audit trail screen (Control group) shows who did what and when in the legal entity. The trail is written by the database through triggers, on every new record. It is not written by the application and cannot be bypassed.

The trail cannot be changed or deleted. The database rejects any attempt to change or delete it with KC001.

What the screen shows

The screen shows the last 500 events, newest first.

Column What it contains
Time (UTC) When it happened, in UTC.
User Who performed the action.
Action The action code, for example entry.posted.
Record The record type and its number.
Details The record’s data in JSON.

The table is a standard table: you can search, filter by column and sort.

Common actions

Action What it means
entry.posted A posted entry.
entry.storno Reversal of an entry.
entry.closing, entry.opening Entries from year-end closing and the opening balance.
period.lock_changed Period lock changed.
membership.granted, membership.revoked Role granted or revoked.
invitation.created, invitation.accepted, invitation.cancelled Invitations.
close.done, close.not_applicable, close.auto Marks in month-end close.
deadline.generated, deadline.done, deadline.reopened, deadline.rule_set Deadlines and deadline rules.
responsible.recorded New record in the register of responsible persons.
year.closed, year.reopened Closing and reopening a year.
subscription.active, subscription.read_only Subscription change (see Read-only).
tenant.logo_set, tenant.logo_removed Logo set or removed (see Settings).
security.mfa_required, security.mfa_optional Required second step for members turned on or off (see Users).
contract.* Actions on contracts.

What is not recorded in the details

The trail is for traceability, not for copying sensitive data. That is why the database leaves out some fields:

  • passwords and their hashes;
  • the content of attachments (the file’s SHA-256 is recorded instead);
  • private keys and certificates for e-Invoice, signatures and payloads;
  • invitation codes;
  • the logo image itself;
  • the electronic signature (JWS) of contracts.

Personnel and payroll data are a special case. These are persons, employment contracts, payroll runs, allowances and deductions, payroll entries, MPIN, other income and salary payment orders. For them the trail keeps only identifiers: the record number, the person, the contract, the version, the period, the reason, who and when. Personal data and amounts are not recorded.

The full data stays in the books. Only the roles that are allowed can see it there.

Who can see it

All members of the legal entity can see the trail, in every role. Each user sees only the trail of the legal entities in which they have a role.

The trail in the archive

The archive contains the whole trail in the file podatoci/revizorska-traga.jsonl, one event per line.

From the command line

kc audit --limit 50 prints the latest events: time, user, action and record. By default 20 are printed. See kc CLI.

Something unclear or wrong? Write to us at [email protected].