Runs / p8-42-invoice-tolerance-2pct · P8 / Inputs & outputs
Stage approve_payment · inputs and outputs
step 3 of 3 · p8-42-invoice-tolerance-2pct · c0eeaf2cdfae
sha256:84566ae6a0ff…
sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6What is shown: Outputs are stored and shown after checking; inputs from outside the run are fingerprinted, not stored.
Gated step approve_payment
Decision 1: verdict
permit, requestp8-42-invoice-tolerance-2pct/approve_payment- format
onedoor-decision-ref/1 - issuer
https://payments-approver.example/issuer - decision digest
sha256:63435222cc23…
sha256:63435222cc2395c1cec24aa8c1e0cab0c70c52b0f648e6fd78d37d0778db56de
Permit, as its payload states it (signed with EdDSA; its signature is not shown here):
- issuer
https://payments-approver.example/issuer - subject not stated in the permit
- allows the action with digest
sha-256=:eyW3c0qF7kpUVoar2qnS71ESnIcaBMJXmAXnnPBYWow=: - validity from: not stated in the permit; until (1794873607)
The action, by its digest:sha-256=:eyW3c0qF7kpUVoar2qnS71ESnIcaBMJXmAXnnPBYWow=:- format
The span context the app reported, as the run recorded it. onetrace does not check it.
- trace id
e96dfcefcb49d521af766bdb527808f1 - span id
fbc1925a066c9e70
Inputs
| Recorded as | What's kept |
|---|---|
| match's recorded output · operator-authored | Verified matches the stored receipt of match sha256:038eb9f227a4…sha256:038eb9f227a417f9293234048014dfcf41d20b7a326513194fba1040560bc347 |
| match.json · operator-authored | Verified matches the stored output of match {
"amount": "512.00",
"matched": false,
"order": "PO-501",
"problems": [
"unit price 12.80 is 2.40% over the order's 12.50, past the tolerance of 2.00%"
]
}sha256:5b0f7e319dbf…sha256:5b0f7e319dbf74f98bfc0e3b4d6b4af1b804c6b110c7507e4af754805d68d197 |
A fingerprint shows whether an input changed between runs. This page shows an input's content only where its bytes match a stored output of an earlier stage.
Outputs
- payment.json · · 130 bytes
sha256:c81ae2d9213c…
sha256:c81ae2d9213c86278d0fe3164c0aa5a9cf3c025011ae21e67e00e72f726c0fcaVerified
{ "amount": "512.00", "decision": "hold", "problems": [ "unit price 12.80 is 2.40% over the order's 12.50, past the tolerance of 2.00%" ] }
This step in the other runs
Each other run of P8, newest first, with this step as its own receipt records it; where a run recorded the step more than once, its last attempt. "Same as this run" marks a value equal to this run's, by exact equality. Inputs are not compared across runs: an input that is an earlier step's receipt holds that run's own receipt, so it differs in every run.
| Run | Outcome | Settings | Instrument | Outputs |
|---|---|---|---|---|
| p8-50-invoice-permit-other-amount · 853a5ed6391f | Completed. | none recorded | payment-approval 1.0.0sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6 | payment.json sha256:5ddbe392361b…sha256:5ddbe392361bc1b118603c507a1a66b18b5c8e0270b519d049b0ddb566dc2fea |
| p8-49-invoice-paid-on-deny · b02e8e4d1a5f | Completed. | none recorded | payment-approval 1.0.0sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6 | payment.json sha256:5ddbe392361b…sha256:5ddbe392361bc1b118603c507a1a66b18b5c8e0270b519d049b0ddb566dc2fea |
| p8-45-invoice-over-limit-declined · c05d7e2fc3ff | declined — an invoice of 3840.00 is over the approver's limit of 2500.00 | none recorded | payment-approval 1.0.0sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6 | none recorded |
| p8-44-invoice-quantity-changed · 894b38a232b0 | Completed. | none recorded | payment-approval 1.0.0sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6 | payment.json sha256:447bf00a0fc3…sha256:447bf00a0fc38c9a2c47437befc046a6b19b72dd56a7f1c71f36f5ae85641066 |
| p8-43-invoice-tolerance-5pct · 67d1f2a5a5e6 | Completed. | none recorded | payment-approval 1.0.0sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6 | payment.json sha256:5ddbe392361b…sha256:5ddbe392361bc1b118603c507a1a66b18b5c8e0270b519d049b0ddb566dc2fea |
| Signed by a known recorder | Yes · demo key (public seed: proves the record wasn't changed since signing, not who signed it)· sha256:6e20550ae0dc…sha256:6e20550ae0dc6b4471d54336d09d74d14f3f623b735045eddd053c444ec3b14c |
| Committed by a known time | Not anchored · no anchor beside the chain |