This is the standard we hold our own log to. We publish it because we think every system that lets an agent act on money should meet it, ours included.
Fig. 1: One line of the log, all seven fields
when 2026-03-13 09:40:33.214 CET
who Payables, on behalf of Halden GmbH
what queued 12 invoices, €48,210.00
why rule 2 · above €20k · waiting for Mira Haldensen
A log is a promise to a stranger
The person who reads an audit line is rarely the one who wrote it. It might be an auditor next spring, a new controller in two years, or a regulator who has never used the product. Write every line for that stranger. If they need to ask what it means, the line has failed.
That rules out a lot of what logs usually contain: internal ids with no names next to them, codes that only the product team understands, times without a time zone. Each of those saves a few bytes today and costs someone an afternoon later.
Seven fields on every line
Every line in the Pyxis log carries the same seven fields, whether an agent or a person made the move:
When, to the millisecond, with the time zone.
Who acted: the agent or the person, and on whose behalf.
What was done, with the amounts and the accounts.
Why: the rule that allowed it, quoted in its own words.
What the actor saw: the documents and data the decision used.
Who approved, if anyone, by name and at what time.
What came of it: posted, held, refused or reversed.
A line missing any of these is incomplete, and incomplete lines are where disputes start.
Record what the agent saw
For a person, we accept that the reason for a decision lives partly in their head. For an agent, there is no excuse. Record the inputs it used: the invoice, the purchase order, the bank line and the confidence score it reached. Months later, that is the difference between knowing why a payment was made and guessing.
Record the version of the agent too. Agents improve, and a decision made in March should be judged by the agent that made it, not by the one running in September.
Record who approved, by name
Approved by finance is not an approval. Record the person, the device and the time. If two approvals were required, record both, in order. If an approval was delegated, record who delegated it and when that delegation ends.
Every approval in the log should point at one human being who can be asked about it.
Never edit, only append
A log that can be edited is a draft. Once written, a line must never change. When something is corrected, the correction is a new line that points at the old one and says why. We keep the log in storage that cannot be overwritten, even by us, and check its integrity every night.
Keep it long enough
Most countries require financial records to be kept for six to ten years. The audit log is part of those records, so it should be kept at least as long, and it should outlive the product that wrote it. That means a format anyone can open without us: every customer can export their full log as plain files at any time, and we keep a copy for ten years after an account closes.
Make it readable by its readers
An audit log is usually designed for engineers and read by accountants. Ours is written in sentences first, with the structured data underneath for anyone who wants to export it. An auditor should be able to read a month of activity the way they would read a bank statement, and filter it by agent, rule or approver.
Test it before you need it
A log is only proven on the day someone needs it, which is the worst day to find a gap. Twice a year we pick ten payments at random and try to reconstruct each one from the log alone, without asking anyone. If we cannot say what happened, who allowed it and why, that is a bug, and it is fixed before anything else on the list. We recommend every finance team do the same with whatever system they use.