[
  {
    "caseId": "BL-001",
    "category": "purchase",
    "description": "Canonical purchase derives exact integer subtotal.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "create_purchase",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "3",
        "unitAmountCents": "500",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "registrationVersion": "1",
        "taxAmountCents": "0",
        "registrationAuthorizationVersion": "1"
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "currency",
        "jurisdiction",
        "owner",
        "provider_calls",
        "quantity",
        "registration",
        "rollback",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:01:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-001",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000001"
    }
  },
  {
    "caseId": "BL-002",
    "category": "provider",
    "description": "Webhook quantity must match canonical purchase.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "2",
        "amountCents": "1500",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "2",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "INVALID_QUANTITY",
      "ledgerAppends": [],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:02:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-002",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000002"
    }
  },
  {
    "caseId": "BL-003",
    "category": "provider",
    "description": "Webhook amountCents must match canonical purchase.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1499",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1499",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "AMOUNT_MISMATCH",
      "ledgerAppends": [],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:03:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-003",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000003"
    }
  },
  {
    "caseId": "BL-004",
    "category": "provider",
    "description": "Webhook currency must match canonical purchase.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "currency": "EUR",
        "jurisdiction": "US-CA",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "EUR",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "CURRENCY_MISMATCH",
      "ledgerAppends": [],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:04:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-004",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000004"
    }
  },
  {
    "caseId": "BL-005",
    "category": "provider",
    "description": "Webhook jurisdiction must match canonical purchase.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "currency": "USD",
        "jurisdiction": "US-NY",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-NY",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "JURISDICTION_MISMATCH",
      "ledgerAppends": [],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:05:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-005",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000005"
    }
  },
  {
    "caseId": "BL-006",
    "category": "provider",
    "description": "Webhook ownerId must match canonical purchase.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.bob",
        "quantity": "3",
        "amountCents": "1500",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.bob",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "OWNER_MISMATCH",
      "ledgerAppends": [],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:06:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-006",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000006"
    }
  },
  {
    "caseId": "BL-007",
    "category": "provider",
    "description": "Valid webhook records receipt and economic claim separately.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [
          {
            "eventId": "event.pay1",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "payment.obj1",
            "eventType": "payment_webhook"
          }
        ],
        "claims": [
          {
            "objectId": "payment.obj1",
            "purchaseId": "purchase.p1",
            "effect": "payment_grant"
          }
        ],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:07:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-007",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000007"
    }
  },
  {
    "caseId": "BL-008",
    "category": "ordering",
    "description": "Same event id and same hash is an idempotent replay.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [
        {
          "eventId": "event.pay1",
          "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "objectId": "payment.obj1",
          "eventType": "payment_webhook"
        }
      ],
      "claims": [
        {
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "effect": "payment_grant"
        }
      ],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "noop",
      "error": null,
      "ledgerAppends": [],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [
          {
            "eventId": "event.pay1",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "payment.obj1",
            "eventType": "payment_webhook"
          }
        ],
        "claims": [
          {
            "objectId": "payment.obj1",
            "purchaseId": "purchase.p1",
            "effect": "payment_grant"
          }
        ],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:08:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-008",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000008"
    }
  },
  {
    "caseId": "BL-009",
    "category": "ordering",
    "description": "Same event id with a different payload hash is rejected.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [
        {
          "eventId": "event.pay1",
          "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "objectId": "payment.obj1",
          "eventType": "payment_webhook"
        }
      ],
      "claims": [
        {
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "effect": "payment_grant"
        }
      ],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "payment_webhook",
        "eventId": "event.pay1",
        "payloadHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "objectId": "payment.obj1",
        "purchaseId": "purchase.p1",
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "paymentState": "paid",
        "signatureVerified": true,
        "taxAmountCents": "0",
        "providerTruth": {
          "eventId": "event.pay1",
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "paid"
        }
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "EVENT_PAYLOAD_CONFLICT",
      "ledgerAppends": [],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [
          {
            "eventId": "event.pay1",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "payment.obj1",
            "eventType": "payment_webhook"
          }
        ],
        "claims": [
          {
            "objectId": "payment.obj1",
            "purchaseId": "purchase.p1",
            "effect": "payment_grant"
          }
        ],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:09:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-009",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000009"
    }
  },
  {
    "caseId": "BL-010",
    "category": "reversal",
    "description": "Reversal is allocated from cumulative refunded item subtotal with final residual.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [
        {
          "eventId": "event.pay1",
          "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "objectId": "payment.obj1",
          "eventType": "payment_webhook"
        }
      ],
      "claims": [
        {
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "effect": "payment_grant"
        }
      ],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "refund_webhook",
        "eventId": "event.ref10",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "refund.obj10",
        "purchaseId": "purchase.p1",
        "cumulativeRefundedItemSubtotalCents": "500",
        "kind": "refund",
        "signatureVerified": true,
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "taxAmountCents": "0",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "taxRefundedCents": "0",
        "providerTruth": {
          "eventId": "event.ref10",
          "objectId": "refund.obj10",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "refunded"
        }
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.ref10",
          "delta": "-1",
          "reason": "payment_refund_reversal",
          "ref": {
            "kind": "reversal",
            "id": "refund.obj10"
          }
        }
      ],
      "ledgerNet": "2",
      "spendableBalance": "2",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [
          {
            "eventId": "event.pay1",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "payment.obj1",
            "eventType": "payment_webhook"
          },
          {
            "eventId": "event.ref10",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "refund.obj10",
            "eventType": "refund_webhook"
          }
        ],
        "claims": [
          {
            "objectId": "payment.obj1",
            "purchaseId": "purchase.p1",
            "effect": "payment_grant"
          },
          {
            "objectId": "refund.obj10",
            "purchaseId": "purchase.p1",
            "effect": "refund_reversal"
          }
        ],
        "cycles": [],
        "adjustments": [],
        "refundStates": [
          {
            "purchaseId": "purchase.p1",
            "cumulativeRefundedItemSubtotalCents": "500",
            "reversedCredits": "1"
          }
        ]
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "cumulative_allocation",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:10:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-010",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000010"
    }
  },
  {
    "caseId": "BL-011",
    "category": "reversal",
    "description": "Reversal is allocated from cumulative refunded item subtotal with final residual.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        },
        {
          "key": "ledger.ref0",
          "delta": "-1",
          "reason": "payment_refund_reversal",
          "ref": {
            "kind": "reversal",
            "id": "refund.obj0"
          }
        }
      ],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [
        {
          "eventId": "event.pay1",
          "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "objectId": "payment.obj1",
          "eventType": "payment_webhook"
        },
        {
          "eventId": "event.ref0",
          "payloadHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
          "objectId": "refund.obj0",
          "eventType": "refund_webhook"
        }
      ],
      "claims": [
        {
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "effect": "payment_grant"
        },
        {
          "objectId": "refund.obj0",
          "purchaseId": "purchase.p1",
          "effect": "refund_reversal"
        }
      ],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [
        {
          "purchaseId": "purchase.p1",
          "cumulativeRefundedItemSubtotalCents": "500",
          "reversedCredits": "1"
        }
      ],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "refund_webhook",
        "eventId": "event.ref11",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "refund.obj11",
        "purchaseId": "purchase.p1",
        "cumulativeRefundedItemSubtotalCents": "1000",
        "kind": "refund",
        "signatureVerified": true,
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "taxAmountCents": "0",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "taxRefundedCents": "0",
        "providerTruth": {
          "eventId": "event.ref11",
          "objectId": "refund.obj11",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "refunded"
        }
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.ref11",
          "delta": "-1",
          "reason": "payment_refund_reversal",
          "ref": {
            "kind": "reversal",
            "id": "refund.obj11"
          }
        }
      ],
      "ledgerNet": "1",
      "spendableBalance": "1",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [
          {
            "eventId": "event.pay1",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "payment.obj1",
            "eventType": "payment_webhook"
          },
          {
            "eventId": "event.ref0",
            "payloadHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
            "objectId": "refund.obj0",
            "eventType": "refund_webhook"
          },
          {
            "eventId": "event.ref11",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "refund.obj11",
            "eventType": "refund_webhook"
          }
        ],
        "claims": [
          {
            "objectId": "payment.obj1",
            "purchaseId": "purchase.p1",
            "effect": "payment_grant"
          },
          {
            "objectId": "refund.obj0",
            "purchaseId": "purchase.p1",
            "effect": "refund_reversal"
          },
          {
            "objectId": "refund.obj11",
            "purchaseId": "purchase.p1",
            "effect": "refund_reversal"
          }
        ],
        "cycles": [],
        "adjustments": [],
        "refundStates": [
          {
            "purchaseId": "purchase.p1",
            "cumulativeRefundedItemSubtotalCents": "1000",
            "reversedCredits": "2"
          }
        ]
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "cumulative_allocation",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:11:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-011",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000011"
    }
  },
  {
    "caseId": "BL-012",
    "category": "reversal",
    "description": "Reversal is allocated from cumulative refunded item subtotal with final residual.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        },
        {
          "key": "ledger.ref0",
          "delta": "-2",
          "reason": "payment_refund_reversal",
          "ref": {
            "kind": "reversal",
            "id": "refund.obj0"
          }
        }
      ],
      "purchases": [
        {
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "unitAmountCents": "500",
          "itemSubtotalCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "registrationVersion": "1",
          "taxAmountCents": "0",
          "registrationAuthorizationVersion": "1"
        }
      ],
      "receipts": [
        {
          "eventId": "event.pay1",
          "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "objectId": "payment.obj1",
          "eventType": "payment_webhook"
        },
        {
          "eventId": "event.ref0",
          "payloadHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
          "objectId": "refund.obj0",
          "eventType": "refund_webhook"
        }
      ],
      "claims": [
        {
          "objectId": "payment.obj1",
          "purchaseId": "purchase.p1",
          "effect": "payment_grant"
        },
        {
          "objectId": "refund.obj0",
          "purchaseId": "purchase.p1",
          "effect": "refund_reversal"
        }
      ],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [
        {
          "purchaseId": "purchase.p1",
          "cumulativeRefundedItemSubtotalCents": "1000",
          "reversedCredits": "2"
        }
      ],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "refund_webhook",
        "eventId": "event.ref12",
        "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "objectId": "refund.obj12",
        "purchaseId": "purchase.p1",
        "cumulativeRefundedItemSubtotalCents": "1500",
        "kind": "refund",
        "signatureVerified": true,
        "ownerId": "owner.alice",
        "quantity": "3",
        "amountCents": "1500",
        "taxAmountCents": "0",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "taxRefundedCents": "0",
        "providerTruth": {
          "eventId": "event.ref12",
          "objectId": "refund.obj12",
          "purchaseId": "purchase.p1",
          "ownerId": "owner.alice",
          "quantity": "3",
          "amountCents": "1500",
          "currency": "USD",
          "jurisdiction": "US-CA",
          "taxAmountCents": "0",
          "paymentState": "refunded"
        }
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.ref12",
          "delta": "-1",
          "reason": "payment_refund_reversal",
          "ref": {
            "kind": "reversal",
            "id": "refund.obj12"
          }
        }
      ],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [
          {
            "purchaseId": "purchase.p1",
            "ownerId": "owner.alice",
            "quantity": "3",
            "unitAmountCents": "500",
            "itemSubtotalCents": "1500",
            "currency": "USD",
            "jurisdiction": "US-CA",
            "registrationVersion": "1",
            "taxAmountCents": "0",
            "registrationAuthorizationVersion": "1"
          }
        ],
        "receipts": [
          {
            "eventId": "event.pay1",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "payment.obj1",
            "eventType": "payment_webhook"
          },
          {
            "eventId": "event.ref0",
            "payloadHash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
            "objectId": "refund.obj0",
            "eventType": "refund_webhook"
          },
          {
            "eventId": "event.ref12",
            "payloadHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "objectId": "refund.obj12",
            "eventType": "refund_webhook"
          }
        ],
        "claims": [
          {
            "objectId": "payment.obj1",
            "purchaseId": "purchase.p1",
            "effect": "payment_grant"
          },
          {
            "objectId": "refund.obj0",
            "purchaseId": "purchase.p1",
            "effect": "refund_reversal"
          },
          {
            "objectId": "refund.obj12",
            "purchaseId": "purchase.p1",
            "effect": "refund_reversal"
          }
        ],
        "cycles": [],
        "adjustments": [],
        "refundStates": [
          {
            "purchaseId": "purchase.p1",
            "cumulativeRefundedItemSubtotalCents": "1500",
            "reversedCredits": "3"
          }
        ]
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "claim",
        "cumulative_allocation",
        "currency",
        "effect",
        "jurisdiction",
        "owner",
        "payload_hash",
        "provider_calls",
        "provider_event",
        "provider_object",
        "quantity",
        "rollback",
        "signature",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:12:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-012",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000012"
    }
  },
  {
    "caseId": "BL-013",
    "category": "conversion",
    "description": "customer funding creates explicit active cycle.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "conversion_accept",
        "cycleId": "cycle.customer",
        "ownerId": "owner.alice",
        "fundingKind": "customer",
        "debit": "1",
        "idempotencyKey": "submit.customer"
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.debit.customer",
          "delta": "-1",
          "reason": "conversion_debit",
          "ref": {
            "kind": "cycle",
            "id": "cycle.customer"
          }
        }
      ],
      "ledgerNet": "2",
      "spendableBalance": "2",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [
          {
            "cycleId": "cycle.customer",
            "ownerId": "owner.alice",
            "fundingKind": "customer",
            "state": "active",
            "debit": "1",
            "compensationEligible": true
          }
        ],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "effect",
        "owner",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:13:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-013",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000013"
    }
  },
  {
    "caseId": "BL-014",
    "category": "conversion",
    "description": "goodwill funding creates explicit active cycle.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "conversion_accept",
        "cycleId": "cycle.goodwill",
        "ownerId": "owner.alice",
        "fundingKind": "goodwill",
        "debit": "1",
        "idempotencyKey": "submit.goodwill"
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.debit.goodwill",
          "delta": "-1",
          "reason": "conversion_debit",
          "ref": {
            "kind": "cycle",
            "id": "cycle.goodwill"
          }
        }
      ],
      "ledgerNet": "2",
      "spendableBalance": "2",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [
          {
            "cycleId": "cycle.goodwill",
            "ownerId": "owner.alice",
            "fundingKind": "goodwill",
            "state": "active",
            "debit": "1",
            "compensationEligible": false
          }
        ],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "effect",
        "owner",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:14:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-014",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000014"
    }
  },
  {
    "caseId": "BL-015",
    "category": "conversion",
    "description": "Only eligible customer debit cycle is compensated once.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        },
        {
          "key": "ledger.debit.customer",
          "delta": "-1",
          "reason": "conversion_debit",
          "ref": {
            "kind": "cycle",
            "id": "cycle.customer"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [
        {
          "cycleId": "cycle.customer",
          "ownerId": "owner.alice",
          "fundingKind": "customer",
          "state": "active",
          "debit": "1",
          "compensationEligible": true
        }
      ],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "cycle_failed",
        "cycleId": "cycle.customer",
        "failureClass": "terminal"
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.comp.customer",
          "delta": "1",
          "reason": "cycle_failure_compensation",
          "ref": {
            "kind": "cycle",
            "id": "cycle.customer"
          }
        }
      ],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [
          {
            "cycleId": "cycle.customer",
            "ownerId": "owner.alice",
            "fundingKind": "customer",
            "state": "compensated",
            "debit": "1",
            "compensationEligible": true
          }
        ],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "effect",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:15:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-015",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000015"
    }
  },
  {
    "caseId": "BL-016",
    "category": "conversion",
    "description": "Goodwill retry failure cannot mint compensation.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [
        {
          "cycleId": "cycle.goodwill",
          "ownerId": "owner.alice",
          "fundingKind": "goodwill",
          "state": "active",
          "debit": "1",
          "compensationEligible": false
        }
      ],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "cycle_failed",
        "cycleId": "cycle.goodwill",
        "failureClass": "terminal"
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "CYCLE_NOT_ELIGIBLE",
      "ledgerAppends": [],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [
          {
            "cycleId": "cycle.goodwill",
            "ownerId": "owner.alice",
            "fundingKind": "goodwill",
            "state": "active",
            "debit": "1",
            "compensationEligible": false
          }
        ],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "effect",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:16:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-016",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000016"
    }
  },
  {
    "caseId": "BL-017",
    "category": "tax",
    "description": "Expired versioned registration fails closed.",
    "initial": {
      "ledgerBefore": [],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "200",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "201",
          "databaseNow": "201",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "201",
      "databaseNow": "201",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "201",
      "trustedTimeReceiptId": "time.receipt.201"
    },
    "events": [
      {
        "type": "create_purchase",
        "purchaseId": "purchase.p2",
        "ownerId": "owner.alice",
        "quantity": "1",
        "unitAmountCents": "500",
        "currency": "USD",
        "jurisdiction": "US-CA",
        "registrationVersion": "1",
        "taxAmountCents": "0",
        "registrationAuthorizationVersion": "1"
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "REGISTRATION_EXPIRED",
      "ledgerAppends": [],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "amount",
        "canonical_purchase",
        "currency",
        "jurisdiction",
        "owner",
        "provider_calls",
        "quantity",
        "registration",
        "rollback",
        "tax"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:17:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-017",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000017"
    }
  },
  {
    "caseId": "BL-018",
    "category": "adjustment",
    "description": "Authorized audited operator adjustment is append-only and idempotent.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [
        {
          "authorizationId": "auth.senior",
          "operatorId": "operator.senior",
          "version": "1",
          "validFrom": "100",
          "expiresAt": "300",
          "scopes": [
            "support_credit",
            "fraud_correction",
            "billing_correction"
          ],
          "source": "operator_authorization_registry",
          "sourceVersion": "7"
        }
      ],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "operator_adjustment",
        "adjustmentId": "adjustment.a18",
        "ownerId": "owner.alice",
        "delta": "2",
        "authorizedBy": "operator.senior",
        "reasonCode": "support_credit",
        "auditRecordId": "audit.a18",
        "idempotencyKey": "idem.a18",
        "authorizationId": "auth.senior",
        "authorizationVersion": "1",
        "authorizationSourceVersion": "7",
        "requestedAt": "200",
        "payloadHash": "bc1127cfb4b21ed414d0c6d14f6a55f172bb2e173fd7e2dfef8d7696cd2eccf3"
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.adjust.a18",
          "delta": "2",
          "reason": "operator_adjustment",
          "ref": {
            "kind": "adjustment",
            "id": "adjustment.a18"
          }
        }
      ],
      "ledgerNet": "5",
      "spendableBalance": "5",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [
          {
            "adjustmentId": "adjustment.a18",
            "ownerId": "owner.alice",
            "delta": "2",
            "authorizedBy": "operator.senior",
            "reasonCode": "support_credit",
            "auditRecordId": "audit.a18",
            "idempotencyKey": "idem.a18",
            "authorizationId": "auth.senior",
            "authorizationVersion": "1",
            "authorizationSourceVersion": "7",
            "requestedAt": "200",
            "payloadHash": "bc1127cfb4b21ed414d0c6d14f6a55f172bb2e173fd7e2dfef8d7696cd2eccf3",
            "auditOutcome": "accepted"
          }
        ],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "audit",
        "authorization",
        "effect",
        "payload_hash",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "accepted"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:18:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-018",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000018"
    }
  },
  {
    "caseId": "BL-019",
    "category": "adjustment",
    "description": "Authorized audited operator adjustment is append-only and idempotent.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [
        {
          "authorizationId": "auth.senior",
          "operatorId": "operator.senior",
          "version": "1",
          "validFrom": "100",
          "expiresAt": "300",
          "scopes": [
            "support_credit",
            "fraud_correction",
            "billing_correction"
          ],
          "source": "operator_authorization_registry",
          "sourceVersion": "7"
        }
      ],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "operator_adjustment",
        "adjustmentId": "adjustment.a19",
        "ownerId": "owner.alice",
        "delta": "-1",
        "authorizedBy": "operator.senior",
        "reasonCode": "billing_correction",
        "auditRecordId": "audit.a19",
        "idempotencyKey": "idem.a19",
        "authorizationId": "auth.senior",
        "authorizationVersion": "1",
        "authorizationSourceVersion": "7",
        "requestedAt": "200",
        "payloadHash": "a010c96473d78856b901bf90323b920c7c8b9130de15e2cf6b6bc93afb0b9654"
      }
    ],
    "expected": {
      "outcome": "accepted",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.adjust.a19",
          "delta": "-1",
          "reason": "operator_adjustment",
          "ref": {
            "kind": "adjustment",
            "id": "adjustment.a19"
          }
        }
      ],
      "ledgerNet": "2",
      "spendableBalance": "2",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [
          {
            "adjustmentId": "adjustment.a19",
            "ownerId": "owner.alice",
            "delta": "-1",
            "authorizedBy": "operator.senior",
            "reasonCode": "billing_correction",
            "auditRecordId": "audit.a19",
            "idempotencyKey": "idem.a19",
            "authorizationId": "auth.senior",
            "authorizationVersion": "1",
            "authorizationSourceVersion": "7",
            "requestedAt": "200",
            "payloadHash": "a010c96473d78856b901bf90323b920c7c8b9130de15e2cf6b6bc93afb0b9654",
            "auditOutcome": "accepted"
          }
        ],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "audit",
        "authorization",
        "effect",
        "payload_hash",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "accepted"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:19:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-019",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000019"
    }
  },
  {
    "caseId": "BL-020",
    "category": "adjustment",
    "description": "Adjustment replay by idempotency key is a no-op.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        },
        {
          "key": "ledger.adjust.a18",
          "delta": "2",
          "reason": "operator_adjustment",
          "ref": {
            "kind": "adjustment",
            "id": "adjustment.a18"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [
        {
          "adjustmentId": "adjustment.a18",
          "ownerId": "owner.alice",
          "delta": "2",
          "authorizedBy": "operator.senior",
          "reasonCode": "support_credit",
          "auditRecordId": "audit.a18",
          "idempotencyKey": "idem.a18",
          "authorizationId": "auth.senior",
          "authorizationVersion": "1",
          "authorizationSourceVersion": "7",
          "requestedAt": "200",
          "payloadHash": "bc1127cfb4b21ed414d0c6d14f6a55f172bb2e173fd7e2dfef8d7696cd2eccf3",
          "auditOutcome": "accepted"
        }
      ],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [
        {
          "authorizationId": "auth.senior",
          "operatorId": "operator.senior",
          "version": "1",
          "validFrom": "100",
          "expiresAt": "300",
          "scopes": [
            "support_credit",
            "fraud_correction",
            "billing_correction"
          ],
          "source": "operator_authorization_registry",
          "sourceVersion": "7"
        }
      ],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "operator_adjustment",
        "adjustmentId": "adjustment.a18",
        "ownerId": "owner.alice",
        "delta": "2",
        "authorizedBy": "operator.senior",
        "reasonCode": "support_credit",
        "auditRecordId": "audit.a18",
        "idempotencyKey": "idem.a18",
        "authorizationId": "auth.senior",
        "authorizationVersion": "1",
        "authorizationSourceVersion": "7",
        "requestedAt": "200",
        "payloadHash": "bc1127cfb4b21ed414d0c6d14f6a55f172bb2e173fd7e2dfef8d7696cd2eccf3"
      }
    ],
    "expected": {
      "outcome": "noop",
      "error": null,
      "ledgerAppends": [],
      "ledgerNet": "5",
      "spendableBalance": "5",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [
          {
            "adjustmentId": "adjustment.a18",
            "ownerId": "owner.alice",
            "delta": "2",
            "authorizedBy": "operator.senior",
            "reasonCode": "support_credit",
            "auditRecordId": "audit.a18",
            "idempotencyKey": "idem.a18",
            "authorizationId": "auth.senior",
            "authorizationVersion": "1",
            "authorizationSourceVersion": "7",
            "requestedAt": "200",
            "payloadHash": "bc1127cfb4b21ed414d0c6d14f6a55f172bb2e173fd7e2dfef8d7696cd2eccf3",
            "auditOutcome": "accepted"
          }
        ],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "audit",
        "authorization",
        "effect",
        "payload_hash",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "replay_same_hash_noop"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:20:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-020",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000020"
    }
  },
  {
    "caseId": "BL-021",
    "category": "adjustment",
    "description": "Unauthorized adjustment is rejected without audit or ledger mutation.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "operator_adjustment",
        "adjustmentId": "adjustment.bad",
        "ownerId": "owner.alice",
        "delta": "2",
        "authorizedBy": "operator.untrusted",
        "reasonCode": "support_credit",
        "auditRecordId": "audit.bad",
        "idempotencyKey": "idem.bad",
        "authorizationId": "auth.senior",
        "authorizationVersion": "1",
        "authorizationSourceVersion": "7",
        "requestedAt": "200",
        "payloadHash": "adca83a5a72d2f5827611aef8d1936f9e7ff64967e5388c8b7c420b8056e2a74"
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "ADJUSTMENT_UNAUTHORIZED",
      "ledgerAppends": [],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "audit",
        "authorization",
        "effect",
        "payload_hash",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "unauthorized_rejected"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:21:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-021",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000021"
    }
  },
  {
    "caseId": "BL-022",
    "category": "ordering",
    "description": "Competing final-credit requests have exactly one correlated winner.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.one",
          "delta": "1",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "conversion_accept",
        "cycleId": "cycle.race",
        "ownerId": "owner.alice",
        "fundingKind": "customer",
        "debit": "1",
        "idempotencyKey": "request.a"
      },
      {
        "type": "conversion_accept",
        "cycleId": "cycle.race",
        "ownerId": "owner.alice",
        "fundingKind": "customer",
        "debit": "1",
        "idempotencyKey": "request.b"
      }
    ],
    "expected": {
      "outcome": "correlated",
      "error": null,
      "ledgerAppends": [
        {
          "key": "ledger.race",
          "delta": "-1",
          "reason": "conversion_debit",
          "ref": {
            "kind": "cycle",
            "id": "cycle.race"
          }
        }
      ],
      "ledgerNet": "0",
      "spendableBalance": "0",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [
          {
            "cycleId": "cycle.race",
            "ownerId": "owner.alice",
            "fundingKind": "customer",
            "state": "active",
            "debit": "1",
            "compensationEligible": true
          }
        ],
        "adjustments": [],
        "refundStates": []
      },
      "winner": {
        "constraint": "exactly_one_correlated_winner",
        "alternatives": [
          {
            "label": "request.a",
            "outcome": "accepted",
            "cycleId": "cycle.race",
            "submissionId": "request.a",
            "jobId": "job.race",
            "effectKey": "ledger.race"
          },
          {
            "label": "request.b",
            "outcome": "rejected",
            "cycleId": null,
            "submissionId": "request.b",
            "jobId": null,
            "effectKey": null
          }
        ],
        "matchingWinner": "request.a",
        "jobId": "job.race",
        "effectKey": "ledger.race"
      },
      "assertions": [
        "amount",
        "effect",
        "owner",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "none"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:22:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-022",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000022"
    }
  },
  {
    "caseId": "BL-023",
    "category": "adjustment",
    "description": "Expired operator authorization is rejected with an exact audit outcome.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [
        {
          "authorizationId": "auth.expired",
          "operatorId": "operator.senior",
          "version": "1",
          "validFrom": "100",
          "expiresAt": "300",
          "scopes": [
            "support_credit"
          ],
          "source": "operator_authorization_registry",
          "sourceVersion": "7"
        }
      ],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "operator_adjustment",
        "adjustmentId": "adjustment.bad",
        "ownerId": "owner.alice",
        "delta": "2",
        "authorizedBy": "operator.senior",
        "reasonCode": "support_credit",
        "auditRecordId": "audit.bad",
        "idempotencyKey": "idem.bad",
        "authorizationId": "auth.expired",
        "authorizationVersion": "1",
        "authorizationSourceVersion": "7",
        "requestedAt": "400",
        "payloadHash": "1109d9f47d33796502f1ddca2cedbfa24759967cb9be4b1010c9eb4acaf50185"
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "ADJUSTMENT_UNAUTHORIZED",
      "ledgerAppends": [],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "audit",
        "authorization",
        "effect",
        "payload_hash",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "expired_rejected"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:23:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-023",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000023"
    }
  },
  {
    "caseId": "BL-024",
    "category": "adjustment",
    "description": "Malformed zero-delta adjustment is rejected with an exact audit outcome.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [
        {
          "authorizationId": "auth.senior",
          "operatorId": "operator.senior",
          "version": "1",
          "validFrom": "100",
          "expiresAt": "300",
          "scopes": [
            "support_credit"
          ],
          "source": "operator_authorization_registry",
          "sourceVersion": "7"
        }
      ],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "operator_adjustment",
        "adjustmentId": "adjustment.bad",
        "ownerId": "owner.alice",
        "delta": "0",
        "authorizedBy": "operator.senior",
        "reasonCode": "support_credit",
        "auditRecordId": "audit.bad",
        "idempotencyKey": "idem.bad",
        "authorizationId": "auth.senior",
        "authorizationVersion": "1",
        "authorizationSourceVersion": "7",
        "requestedAt": "200",
        "payloadHash": "5da0281526b60fed1fa27bca17b31ac108cd7e0689b0d135cb492f67917a3c2c"
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "ADJUSTMENT_INVALID",
      "ledgerAppends": [],
      "ledgerNet": "3",
      "spendableBalance": "3",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "audit",
        "authorization",
        "effect",
        "payload_hash",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "malformed_rejected"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:24:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-024",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000024"
    }
  },
  {
    "caseId": "BL-025",
    "category": "adjustment",
    "description": "Adjustment replay with same key and different payload hash is rejected and audited.",
    "initial": {
      "ledgerBefore": [
        {
          "key": "ledger.grant1",
          "delta": "3",
          "reason": "payment_grant",
          "ref": {
            "kind": "purchase",
            "id": "purchase.p1"
          }
        },
        {
          "key": "ledger.adjust.a18",
          "delta": "2",
          "reason": "operator_adjustment",
          "ref": {
            "kind": "adjustment",
            "id": "adjustment.a18"
          }
        }
      ],
      "purchases": [],
      "receipts": [],
      "claims": [],
      "registrations": [
        {
          "jurisdiction": "US-CA",
          "version": "1",
          "expiresAt": "999",
          "taxEvidenceId": "tax.ev1",
          "authenticatedBy": "tax.admin",
          "validFrom": "100",
          "evaluatedAt": "200",
          "databaseNow": "200",
          "authorizationSourceVersion": "1"
        }
      ],
      "cycles": [],
      "adjustments": [
        {
          "adjustmentId": "adjustment.a18",
          "ownerId": "owner.alice",
          "delta": "2",
          "authorizedBy": "operator.senior",
          "reasonCode": "support_credit",
          "auditRecordId": "audit.a18",
          "idempotencyKey": "idem.a18",
          "authorizationId": "auth.senior",
          "authorizationVersion": "1",
          "authorizationSourceVersion": "7",
          "requestedAt": "200",
          "payloadHash": "bc1127cfb4b21ed414d0c6d14f6a55f172bb2e173fd7e2dfef8d7696cd2eccf3",
          "auditOutcome": "accepted"
        }
      ],
      "evaluationAt": "200",
      "databaseNow": "200",
      "refundStates": [],
      "operatorAuthorizations": [
        {
          "authorizationId": "auth.senior",
          "operatorId": "operator.senior",
          "version": "1",
          "validFrom": "100",
          "expiresAt": "300",
          "scopes": [
            "support_credit",
            "fraud_correction",
            "billing_correction"
          ],
          "source": "operator_authorization_registry",
          "sourceVersion": "7"
        }
      ],
      "authoritativeJurisdictionTime": "200",
      "trustedTimeReceiptId": "time.receipt.200"
    },
    "events": [
      {
        "type": "operator_adjustment",
        "adjustmentId": "adjustment.a18",
        "ownerId": "owner.alice",
        "delta": "3",
        "authorizedBy": "operator.senior",
        "reasonCode": "support_credit",
        "auditRecordId": "audit.conflict",
        "idempotencyKey": "idem.a18",
        "authorizationId": "auth.senior",
        "authorizationVersion": "1",
        "authorizationSourceVersion": "7",
        "requestedAt": "200",
        "payloadHash": "00f94b0227792d584a082a9c28b716213c81595c465084b0f872766b40490c47"
      }
    ],
    "expected": {
      "outcome": "rejected",
      "error": "EVENT_PAYLOAD_CONFLICT",
      "ledgerAppends": [],
      "ledgerNet": "5",
      "spendableBalance": "5",
      "deficit": "0",
      "state": {
        "purchases": [],
        "receipts": [],
        "claims": [],
        "cycles": [],
        "adjustments": [
          {
            "adjustmentId": "adjustment.a18",
            "ownerId": "owner.alice",
            "delta": "2",
            "authorizedBy": "operator.senior",
            "reasonCode": "support_credit",
            "auditRecordId": "audit.a18",
            "idempotencyKey": "idem.a18",
            "authorizationId": "auth.senior",
            "authorizationVersion": "1",
            "authorizationSourceVersion": "7",
            "requestedAt": "200",
            "payloadHash": "bc1127cfb4b21ed414d0c6d14f6a55f172bb2e173fd7e2dfef8d7696cd2eccf3",
            "auditOutcome": "accepted"
          }
        ],
        "refundStates": []
      },
      "winner": null,
      "assertions": [
        "audit",
        "authorization",
        "effect",
        "payload_hash",
        "provider_calls",
        "rollback"
      ],
      "providerCalls": "0",
      "auditOutcome": "replay_different_hash_rejected"
    },
    "evidenceMetadata": {
      "observedAt": "2026-08-23T12:25:00Z",
      "sourceUri": "https://evidence.press.zone/billing/BL-025",
      "ownerEmail": "billing-owner@press.zone",
      "traceId": "00000000-0000-4000-8000-000000000025"
    }
  }
]
