Runs / p8-44-invoice-quantity-changed · P8 / Inputs & outputs

Stage approve_payment · inputs and outputs

step 3 of 3 · p8-44-invoice-quantity-changed · 894b38a232b0

Recorded with the stage: instrument payment-approval (policy) 1.0.0 · its configuration's fingerprint
sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6

What is shown: Outputs are stored and shown after checking; inputs from outside the run are fingerprinted, not stored.

Differs from p8-43-invoice-tolerance-5pct · 67d1f2a5a5e6

Gated step approve_payment

  1. Decision 1: verdict permit, request p8-44-invoice-quantity-changed/approve_payment

    • format onedoor-decision-ref/1
    • issuer https://payments-approver.example/issuer
    • decision digest
      sha256:70a255883829…sha256:70a2558838294f1ffb36260dad57fdb9de89ec44b7cf8bacd61ffb29372c45bf

    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=:63p9yXkepAu6ub+0kuEnc+bXneo6j7q6PHaYj8Ag0N8=:
    • validity from: not stated in the permit; until (1794873607)
    The action, by its digest: sha-256=:63p9yXkepAu6ub+0kuEnc+bXneo6j7q6PHaYj8Ag0N8=:

The span context the app reported, as the run recorded it. onetrace does not check it.

  • trace id c4156b19fec270946e0db5be5e7d9264
  • span id 5658a7001d1c3720

Inputs

Recorded asWhat's kept
match's recorded output · operator-authored

Verified matches the stored receipt of match

sha256:a432fdd0b1e8…sha256:a432fdd0b1e8becc3836c6fc0592944a9f503952941bb01ab2b139ba2fdd3040
· 1729 bytes
match.json · operator-authored

Verified matches the stored output of match

{
  "amount": "5120.00",
  "matched": false,
  "order": "PO-501",
  "problems": [
    "quantity invoiced 400, quantity received 40"
  ]
}
sha256:4ee97c400dce…sha256:4ee97c400dce0679d29506e072c72996d9485532e8cb2d952a71a5dc396e49b9
· 112 bytes

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 ·
    sha256:447bf00a0fc3…sha256:447bf00a0fc38c9a2c47437befc046a6b19b72dd56a7f1c71f36f5ae85641066
    · 97 bytes

    Verified

    {
      "amount": "5120.00",
      "decision": "hold",
      "problems": [
        "quantity invoiced 400, quantity received 40"
      ]
    }

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.

RunOutcomeSettingsInstrumentOutputs
p8-50-invoice-permit-other-amount · 853a5ed6391fCompleted.none recordedpayment-approval 1.0.0
sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6
same as this run
payment.json
sha256:5ddbe392361b…sha256:5ddbe392361bc1b118603c507a1a66b18b5c8e0270b519d049b0ddb566dc2fea
p8-49-invoice-paid-on-deny · b02e8e4d1a5fCompleted.none recordedpayment-approval 1.0.0
sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6
same as this run
payment.json
sha256:5ddbe392361b…sha256:5ddbe392361bc1b118603c507a1a66b18b5c8e0270b519d049b0ddb566dc2fea
p8-45-invoice-over-limit-declined · c05d7e2fc3ffdeclined — an invoice of 3840.00 is over the approver's limit of 2500.00none recordedpayment-approval 1.0.0
sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6
same as this run
none recorded
p8-43-invoice-tolerance-5pct · 67d1f2a5a5e6Completed.none recordedpayment-approval 1.0.0
sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6
same as this run
payment.json
sha256:5ddbe392361b…sha256:5ddbe392361bc1b118603c507a1a66b18b5c8e0270b519d049b0ddb566dc2fea
p8-42-invoice-tolerance-2pct · c0eeaf2cdfaeCompleted.none recordedpayment-approval 1.0.0
sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6
same as this run
payment.json
sha256:c81ae2d9213c…sha256:c81ae2d9213c86278d0fe3164c0aa5a9cf3c025011ae21e67e00e72f726c0fca
Signed by a known recorderYes · demo key (public seed: proves the record wasn't changed since signing, not who signed it) ·
sha256:6e20550ae0dc…sha256:6e20550ae0dc6b4471d54336d09d74d14f3f623b735045eddd053c444ec3b14c
Committed by a known timeNot anchored · no anchor beside the chain

The run, step by step