Receipt explorer
Inspect the record. Try changing a value.
A neutral example on synthetic values. Your browser recomputes three hashes from the file — the input hash, the output hash and the hash of the preceding evidence event — without a key. Change a value and the row that depends on it shows a mismatch. The receipt stays in your browser.
Synthetic sample
- What has been recomputed
- Recomputing…
- Input hash
- —Recomputing…
- Output hash
- —Recomputing…
- Evidence hash
- —Recomputing…
Edit any value and the three checks follow along as you type.
Example receipt in the production format: synthetic values, no real interaction.
What Audact checked
As recorded in this example file: read, not recomputed.
- Decision
- —
- Policy version
- —
- Configuration version
- —
- Input and output
- Recorded as hashes, not words
What you can recompute
Three values, without a key, in your own browser.
- Input hashRecomputing…
SHA-256 over the raw UTF-8 text of sample_texts.input.
- Recomputed here
- —
- In the receipt
- —
- Output hashRecomputing…
SHA-256 over the raw UTF-8 text of sample_texts.output. Verdict rule (F21): ALLOW: output equals input; MODIFY or BLOCK: output differs.
- Recomputed here
- —
- In the receipt
- —
- Evidence hashRecomputing…
SHA-256 over the pipe-delimited pre-image of preceding_event: event_id, call_id, sequence, event_type, timestamp, canonicalJSON(data), previous_hash.
- Recomputed here
- —
- In the receipt
- —
What needs other evidence
A matching hash shows the file is consistent with itself. These four questions need something else.
- Who issued itIssuer not established
The authentication code (HMAC-SHA256) needs the symmetric key held by Audact, and whoever can check it can also produce it.
- Inclusion in a Merkle rootMerkle inclusion not checked
This example file carries no inclusion proof. For a real call, the proof is in its Article 50 report and is set against the published root.
- The export as a wholeNot in this receipt
The ECDSA-P256 signature belongs to an export container, with its public key at /v1/keys/{kid}. A single receipt does not carry it.
- Whether the business outcome happenedBusiness outcome not established
A payment, refund or booking is confirmed by the system that carries it out, not by a receipt.
Or edit any value yourself: the row that depends on it stops matching.
Without this page
The same three checks in a terminal.
The same three checks in a terminal. It prints ok three times against this file.
The canonical form is the part people miss: two JSON texts that mean the same thing can be different bytes, and then the hashes differ while nothing has changed. Keys sorted, no whitespace — that is the RFC 8785 ordering for this file's value types (strings and integers). It is written out at /sample-receipt-readme.txt together with the three recomputations and what cannot be checked.
import { createHash } from "node:crypto";
import { readFileSync } from "node:fs";
const r = JSON.parse(readFileSync("sample-receipt.json", "utf8"));
const sha = (s) => createHash("sha256").update(s).digest("hex");
// Canonical form: RFC 8785 (JCS), prefixed `audact-receipt-version:<receipt_format_version>\n` for the authentication code.
const canon = (v) => {
if (v === null || typeof v !== "object") return JSON.stringify(v) ?? "null";
if (Array.isArray(v)) return "[" + v.map(canon).join(",") + "]";
const keys = Object.keys(v).sort();
return "{" + keys.map((k) => JSON.stringify(k) + ":" + canon(v[k])).join(",") + "}";
};
const e = r.preceding_event;
const evidenceHash = sha(
[e.event_id, e.call_id, e.sequence, e.event_type, e.timestamp, canon(e.data), e.previous_hash].join("|")
);
const results = [
["input_hash", sha(r.sample_texts.input), r.receipt.input_hash],
["output_hash", sha(r.sample_texts.output), r.receipt.output_hash],
["evidence_hash", evidenceHash, r.receipt.evidence_hash],
].map(([name, got, want]) => { console.log(`${got === want ? "ok " : "FAIL"} ${name}`); return [name, got === want]; });
process.exitCode = results.every(([, ok]) => ok) ? 0 : 1;Where this fits
A receipt is what a governed interaction leaves behind.
For governed interactions, a receipt is visible in the product: a hash of what went in, a hash of what was released, the verdict, the policy version, and the hash of the preceding evidence event. The chain is append-only; a later edit or reordering shows up when the chain is recomputed against the stored commitment.
Article 50 of the EU AI Act has applied since 2 August 2026. It is a transparency duty: people are told they are dealing with an AI system. The evidence chain is how you show, afterwards, the approved disclosure text and when its audio finished being sent, the policy version in force, and the decision — with the input and the output stored as hashes rather than words.
Next
What each check shows — and what it does not.
Seven checks side by side: the sample hashes, the receipt's HMAC, Merkle roots, the signed export, the RFC 3161 timestamp, C2PA and the external outcome.