Execution receipt
An execution receipt is the entry that records, after an agent action, what was executed and references the related decision and mandate.
Only the receipt connects the permission to what actually happened. If it references a different decision or mandate, the execution is not covered. Receipts are chained so that none can go missing or change unnoticed.
Example
After an order, the agent writes a receipt: action, amount, merchant, time and a reference to the decision. The receipt goes into a chain, so nothing can be changed unnoticed later.
How it differs
A log entry is a line in one's own system; an execution receipt is a signed, chained piece of evidence that third parties can verify. The merchant's invoice proves the payment, the execution receipt the link to mandate and decision.
In practice
- Write the receipt right after execution and with the actual values, not the planned ones. Only then does comparing it with the decision reveal real deviations.
- Reference decision and mandate in the receipt by their identifiers, so a verifying party can trace the chain from permission to execution without gaps.
- Append every receipt to a receipt chain and anchor the chain regularly with a timestamp, so the point in time can be proven independently.
Role in KYA
KYA checks whether the receipt matches the permitted action, such as amount and counterparty, and whether it references the correct decision.
Related check: Execution receipt (execution_binding). Does the receipt reference exactly this decision and this mandate?
Frequently asked questions
What is an execution receipt?
Signed evidence of what an agent actually carried out, with a reference to the decision and the mandate.
Why is a receipt needed if there is a decision?
The decision says what was allowed, the receipt what happened. Only comparing them shows whether execution matched the decision.
Where are receipts kept?
In a receipt chain in which every entry contains the hash of the previous one. Optionally, a timestamp anchors the time independently.
What belongs in an execution receipt?
The executed action with its actual values, such as amount and counterparty, the time, the reference to decision and mandate, and the hash of the previous receipt.
Can a receipt be corrected afterwards?
Not unnoticed. A correction is appended as a new receipt that references the original one. This keeps the history complete and verifiable.
Who signs the execution receipt?
The system that carried out the action, such as the gateway or the agent's service. What matters is that its key is known to the verifying party, so the receipt can be attributed to a responsible party.