Runs / p8-50-invoice-permit-other-amount · P8 / Inputs & outputs

Stage approve_payment · inputs and outputs

step 3 of 3 · p8-50-invoice-permit-other-amount · 853a5ed6391f

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.

Gated step approve_payment

  1. Decision 1: verdict permit, request p8-50-invoice-permit-other-amount/approve_payment

    • format onedoor-decision-ref/1
    • issuer https://payments-approver.example/issuer
    • decision digest
      sha256:3c6bb6245fe1…sha256:3c6bb6245fe120d1fe86e1fcbe6752e1909dd2416b7a8be139783e049e6b6d84

    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=:Ew+nMhKwdPAPCZHJEwtZRHDCNvBLaVQ1zcQ4WpQuM5c=:
    • validity from: not stated in the permit; until (1794873607)
    The action, by its digest: sha-256=:kIMR6yVg/u9h3SsZ1ANjwKOf/r0zGswglq9lrAt/Lyc=:

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

  • trace id 461ab486f8bd7050447af4969a5f5099
  • span id f8d74fe9040e1737

Inputs

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

Verified matches the stored receipt of match

sha256:e76ada437e14…sha256:e76ada437e14db27b071d6862d99185b7f6d7ba318a15eceeec989739afa14fa
· 1731 bytes
match.json · operator-authored

Verified matches the stored output of match

{
  "amount": "512.00",
  "matched": true,
  "order": "PO-501",
  "problems": []
}
sha256:e61819271007…sha256:e6181927100767645812a10fda49cce16ef62ebe38a3c34612e882546b65ed2c
· 65 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:5ddbe392361b…sha256:5ddbe392361bc1b118603c507a1a66b18b5c8e0270b519d049b0ddb566dc2fea
    · 50 bytes

    Verified

    {
      "amount": "512.00",
      "decision": "pay",
      "problems": []
    }

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-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
same as this run
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-44-invoice-quantity-changed · 894b38a232b0Completed.none recordedpayment-approval 1.0.0
sha256:84566ae6a0ff…sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6
same as this run
payment.json
sha256:447bf00a0fc3…sha256:447bf00a0fc38c9a2c47437befc046a6b19b72dd56a7f1c71f36f5ae85641066
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
same as this run
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