{
  "ursId": "URS-074",
  "title": "Virtual kit pricing modes (fixed and component-sum)",
  "timestamp": "2026-09-29T02:30:56.789Z",
  "durationMs": 173452,
  "config": {
    "inboxUrl": "http://localhost:35225",
    "dbHost": "localhost",
    "dbPort": 40873,
    "dbName": "cc_repinbox_dev"
  },
  "setup": {
    "status": "pass"
  },
  "scenarios": [
    {
      "name": "Step 1: Fixed-price kit billing",
      "status": "pass",
      "description": "Step 1: Fixed-price kit billing",
      "screenshots": [
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-01-fixed-kit-product.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-01-fixed-kit-account-pricing.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-01-fixed-kit-selected.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-01-review.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-01-submitted.png"
      ],
      "explanation": "Documents that IK2025LL (LiraLock® Implant Kit) is configured with pricing_mode='fixed' on the ROSS account, and that a bill-only order charges the kit at the stored per-account approved price — not a computed sum. The billing order item unit_price is frozen at submission time.",
      "startedAt": "2026-09-29T02:31:06.087Z",
      "finishedAt": "2026-09-29T02:31:40.166Z",
      "videoPath": "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-01-fixed-price-kit-billing.webm"
    },
    {
      "name": "Step 2: Component-sum pricing",
      "status": "pass",
      "description": "Step 2: Component-sum pricing",
      "screenshots": [
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-02-cs-kit-product.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-02-cs-account-pricing.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-02-cs-kit-selected.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-02-review.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-02-submitted.png"
      ],
      "explanation": "Documents that IK2025CS (LiraLock® Surgical System CS) is configured with pricing_mode='component_sum' on the ROSS account. The account pricing page displays a read-only computed price equal to the sum of its component approved prices (LL516SNA $3,000 + NP019N1A $1,500 = $4,500). No stored price input is available. The bill-only order captures this computed sum as the kit unit_price.",
      "startedAt": "2026-09-29T02:31:47.119Z",
      "finishedAt": "2026-09-29T02:32:45.388Z",
      "videoPath": "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-02-component-sum-billing.webm"
    },
    {
      "name": "Step 3: Automatic recalculation",
      "status": "pass",
      "description": "Step 3: Automatic recalculation",
      "screenshots": [
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-03-price-before.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-03-price-after.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-03-review.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-03-updated-submitted.png"
      ],
      "explanation": "Shows that updating the LL516SNA component price on ROSS from $3,000 to $2,750 immediately changes the kit effective price from $4,500 to $4,250. A new bill-only order billed after the update captures $4,250. The original bill-only snapshot from Step 2 is unaffected — each billing order freezes the component-sum price at the moment of submission.",
      "startedAt": "2026-09-29T02:32:51.078Z",
      "finishedAt": "2026-09-29T02:33:18.083Z",
      "videoPath": "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-03-recalculated-billing.webm"
    },
    {
      "name": "Step 4: Missing component price blocks billing",
      "status": "pass",
      "description": "Step 4: Missing component price blocks billing",
      "screenshots": [
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-04-missing-component-price-warning.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-04-billing-no-cs-kit.png"
      ],
      "explanation": "Deactivating the NP019N1A approved pricing row on ROSS causes the kit pricing widget to display \"Missing component prices\" instead of a dollar amount. IK2025CS is absent from the bill-only product picker (or shown as unavailable) while a component lacks active pricing. Restoring the pricing row re-enables billing.",
      "startedAt": "2026-09-29T02:33:23.667Z",
      "finishedAt": "2026-09-29T02:33:39.199Z",
      "videoPath": "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-04-billing-blocked.webm"
    },
    {
      "name": "Step 5: Derived price not proposable",
      "status": "pass",
      "description": "Step 5: Derived price not proposable",
      "screenshots": [
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-05-account-pricing-before.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-05-proposal-form-no-price-input.png",
        "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/screenshots/step-05-product-settings-component-sum.png"
      ],
      "explanation": "The pricing proposal form for IK2025CS on the ROSS account shows no price-entry field — the kit price is derived from its components and cannot be stored. Only an enabled/disabled toggle is available. The product settings page confirms pricing_mode='component_sum'.",
      "startedAt": "2026-09-29T02:33:44.769Z",
      "finishedAt": "2026-09-29T02:33:50.004Z",
      "videoPath": "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-05-no-price-proposal.webm"
    }
  ],
  "dbValidations": [
    {
      "name": "IK2025LL has pricing_mode=fixed and an effective, enabled pricing row on ROSS",
      "query": "SELECT p.sku, p.pricing_mode,\n            ap.price, ap.status, ap.active AS pricing_active, ap.enabled\n     FROM org_products p\n     JOIN sales_account_approved_pricing ap\n       ON ap.org_product_id = p.id\n      AND ap.sales_account_id = $2\n      AND ap.active = true\n     WHERE p.id = $1",
      "status": "pass",
      "rows": [
        {
          "sku": "IK2025LL",
          "pricing_mode": "fixed",
          "price": "4750.00",
          "status": "effective",
          "pricing_active": true,
          "enabled": true
        }
      ],
      "assertion": "IK2025LL has pricing_mode='fixed', active pricing with status='effective' and enabled=true"
    },
    {
      "name": "Bill-only for IK2025LL records the stored approved price as unit_price",
      "query": "SELECT boi.unit_price, bo.status\n     FROM billing_orders bo\n     JOIN billing_order_items boi ON boi.billing_order_id = bo.id\n     WHERE boi.product_id = $1\n       AND bo.notes LIKE $2",
      "status": "pass",
      "rows": [
        {
          "unit_price": "4750.00",
          "status": "submitted"
        }
      ],
      "assertion": "IK2025LL billing order item unit_price matches the stored per-account approved price"
    },
    {
      "name": "IK2025CS has pricing_mode=component_sum and a two-component BOM",
      "query": "SELECT p.sku, p.pricing_mode, cp.sku AS component_sku, pc.quantity\n     FROM org_products p\n     JOIN product_components pc ON pc.composite_product_id = p.id\n     JOIN org_products cp ON cp.id = pc.component_product_id\n     WHERE p.id = $1\n     ORDER BY pc.sort_order",
      "status": "pass",
      "rows": [
        {
          "sku": "IK2025CS",
          "pricing_mode": "component_sum",
          "component_sku": "LL516SNA",
          "quantity": 1
        },
        {
          "sku": "IK2025CS",
          "pricing_mode": "component_sum",
          "component_sku": "NP019N1A",
          "quantity": 1
        }
      ],
      "assertion": "IK2025CS is a virtual_kit with pricing_mode='component_sum' and LL516SNA + NP019N1A in the BOM"
    },
    {
      "name": "First IK2025CS bill-only has unit_price = $4500 (= $3,000 + $1,500)",
      "query": "SELECT boi.unit_price, bo.status\n     FROM billing_orders bo\n     JOIN billing_order_items boi ON boi.billing_order_id = bo.id\n     WHERE boi.product_id = $1\n       AND bo.notes LIKE $2",
      "status": "pass",
      "rows": [
        {
          "unit_price": "4500.00",
          "status": "submitted"
        }
      ],
      "assertion": "IK2025CS bill-only unit_price = 4500 (sum of component approved prices)"
    },
    {
      "name": "Second IK2025CS bill-only has unit_price = $4250 after LL516SNA price update",
      "query": "SELECT boi.unit_price, bo.status\n     FROM billing_orders bo\n     JOIN billing_order_items boi ON boi.billing_order_id = bo.id\n     WHERE boi.product_id = $1\n       AND bo.notes LIKE $2",
      "status": "pass",
      "rows": [
        {
          "unit_price": "4250.00",
          "status": "submitted"
        }
      ],
      "assertion": "IK2025CS second bill-only unit_price = 4250 (computed from $2,750 + $1,500)"
    },
    {
      "name": "Original IK2025CS bill-only snapshot still shows $4500 after component price change",
      "query": "SELECT boi.unit_price\n     FROM billing_orders bo\n     JOIN billing_order_items boi ON boi.billing_order_id = bo.id\n     WHERE boi.product_id = $1\n       AND bo.notes LIKE $2",
      "status": "pass",
      "rows": [
        {
          "unit_price": "4500.00"
        }
      ],
      "assertion": "Unit price = 4500 (frozen at billing time, not recalculated after component update)"
    },
    {
      "name": "Attempting to bill IK2025CS with a missing component price creates no billing order line",
      "query": "SELECT boi.id, bo.notes\n     FROM billing_orders bo\n     JOIN billing_order_items boi ON boi.billing_order_id = bo.id\n     WHERE boi.product_id = $1\n       AND bo.notes LIKE $2",
      "status": "pass",
      "rows": [],
      "assertion": "No billing order line created for IK2025CS when a component price is missing (billing blocked)"
    },
    {
      "name": "LL516SNA pricing row on ROSS shows the recalculation price ($2750.00)",
      "query": "SELECT price, active FROM sales_account_approved_pricing\n     WHERE id = $1",
      "status": "pass",
      "rows": [
        {
          "price": "2750.00",
          "active": true
        }
      ],
      "assertion": "price = 2750.00 (set by scenario 3's component price update)"
    }
  ],
  "overallStatus": "pass",
  "outputDir": "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z",
  "auditStartTime": "2026-09-29T02:30:55.254Z",
  "auditEventEvidence": [
    {
      "createdAt": "2026-09-29T02:31:01.919Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "alex.admin@vantismedical.com",
      "userId": "f6a7b8c9-d0e1-2345-f123-456789012345",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "alex.admin@vantismedical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:31:13.113Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "blair.bennett@corvetasurgical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:31:25.020Z",
      "eventType": "decision",
      "action": "bill_only_order.duplicate_submission_block",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "fea7b8c9-d0e1-2345-0123-456789012345",
      "secondaryObjectId": null,
      "payload": {
        "step": "surgery",
        "reason": "no_same_day_candidates",
        "performed": false,
        "entityType": "sales_account",
        "vetoedCount": 0,
        "flaggedCount": 0,
        "candidateCount": 0,
        "matchedSignals": {
          "patientId": false,
          "surgeonName": false,
          "patientLastName": false
        },
        "unmatchedCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "decision",
      "action": "representatives.gate_rep_action",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_blocking_relationship",
        "orderType": null,
        "performed": false,
        "entityType": "organization",
        "gatedAction": "bill_only",
        "isOwnTrunkDestination": null,
        "requestingOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "decision",
      "action": "bill_only_order.duplicate_submission_block",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "fea7b8c9-d0e1-2345-0123-456789012345",
      "secondaryObjectId": null,
      "payload": {
        "step": "review",
        "reason": "no_same_day_candidates",
        "performed": false,
        "entityType": "sales_account",
        "vetoedCount": 0,
        "flaggedCount": 0,
        "candidateCount": 0,
        "matchedSignals": {
          "patientId": false,
          "surgeonName": false,
          "patientLastName": false
        },
        "unmatchedCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "decision",
      "action": "bill_only.link_purchase_order",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_purchase_order_selected",
        "performed": false,
        "entityType": "billing_order",
        "salesOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "manufacturerOrganizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "decision",
      "action": "representatives.gate_rep_action",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_blocking_relationship",
        "orderType": null,
        "performed": false,
        "entityType": "organization",
        "gatedAction": "bill_only",
        "isOwnTrunkDestination": null,
        "requestingOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "decision",
      "action": "bill_only_order.inventory_items_decrement",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
      "secondaryObjectId": null,
      "payload": {
        "reason": "inventory_items_decremented",
        "itemCount": 2,
        "performed": true,
        "entityType": "billing_order",
        "hasCaseToteItems": false
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "decision",
      "action": "bill_only_order.direct_po_import_on_create",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
      "secondaryObjectId": null,
      "payload": {
        "reason": "No uploaded PO documents",
        "performed": false,
        "entityType": "billing_order",
        "fileSourceOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "hasSelectedPurchaseOrderId": false,
        "purchaseOrderDocumentCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "billing_order",
      "action": "status_change",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
      "secondaryObjectId": null,
      "payload": {
        "reason": null,
        "toStatus": "submitted",
        "fromStatus": null,
        "automatedAction": false
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "decision",
      "action": "basicErp.deriveSalesOrder",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
      "secondaryObjectId": null,
      "payload": {
        "reason": "flag_disabled",
        "performed": false,
        "entityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd66-7796-91a8-40d5e6a8c42c",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-06T02:31:37.572Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd6e-7626-93c3-887377340a52",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-13T02:31:37.572Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:37.067Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd74-798d-a794-e8e3003454d1",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-20T02:31:37.572Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:38.706Z",
      "eventType": "decision",
      "action": "bill_only.notifications.cc_incident_recipients",
      "userEmail": null,
      "userId": null,
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
      "secondaryObjectId": null,
      "payload": {
        "reason": "order has no no-charge item with an incident reason",
        "performed": false,
        "entityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:39.240Z",
      "eventType": "transactional_email",
      "action": "new_bill_only",
      "userEmail": null,
      "userId": null,
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "01a0eb00-dd29-7c96-8b98-e02c81eee90b",
      "secondaryObjectId": null,
      "payload": {
        "to": [
          "blair.bennett@corvetasurgical.com"
        ],
        "s3Path": "email-audit/b2c3d4e5-f6a7-8901-bcde-f12345678901/01a0eb00-e3c5-7acc-88d8-f6f4a08ee456/",
        "subject": "New Bill-Only Order - 9/29/2026 - Vantis BO-1",
        "messageId": "dev-console-log",
        "relatedEntityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:31:43.917Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "alex.admin@vantismedical.com",
      "userId": "f6a7b8c9-d0e1-2345-f123-456789012345",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "alex.admin@vantismedical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:32:22.322Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "blair.bennett@corvetasurgical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:32:32.329Z",
      "eventType": "decision",
      "action": "bill_only_order.duplicate_submission_block",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "fea7b8c9-d0e1-2345-0123-456789012345",
      "secondaryObjectId": null,
      "payload": {
        "step": "surgery",
        "reason": "all_candidates_vetoed",
        "performed": false,
        "entityType": "sales_account",
        "vetoedCount": 1,
        "flaggedCount": 0,
        "candidateCount": 1,
        "matchedSignals": {
          "patientId": false,
          "surgeonName": false,
          "patientLastName": false
        },
        "unmatchedCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "decision",
      "action": "basicErp.deriveSalesOrder",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
      "secondaryObjectId": null,
      "payload": {
        "reason": "flag_disabled",
        "performed": false,
        "entityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "decision",
      "action": "bill_only.link_purchase_order",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_purchase_order_selected",
        "performed": false,
        "entityType": "billing_order",
        "salesOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "manufacturerOrganizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "decision",
      "action": "bill_only_order.duplicate_submission_block",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "fea7b8c9-d0e1-2345-0123-456789012345",
      "secondaryObjectId": null,
      "payload": {
        "step": "review",
        "reason": "all_candidates_vetoed",
        "performed": false,
        "entityType": "sales_account",
        "vetoedCount": 1,
        "flaggedCount": 0,
        "candidateCount": 1,
        "matchedSignals": {
          "patientId": false,
          "surgeonName": false,
          "patientLastName": false
        },
        "unmatchedCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd30-70bb-93da-14f355ebb220",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-20T02:32:43.047Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "decision",
      "action": "bill_only_order.inventory_items_decrement",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
      "secondaryObjectId": null,
      "payload": {
        "reason": "inventory_items_decremented",
        "itemCount": 2,
        "performed": true,
        "entityType": "billing_order",
        "hasCaseToteItems": false
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "decision",
      "action": "bill_only_order.direct_po_import_on_create",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
      "secondaryObjectId": null,
      "payload": {
        "reason": "No uploaded PO documents",
        "performed": false,
        "entityType": "billing_order",
        "fileSourceOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "hasSelectedPurchaseOrderId": false,
        "purchaseOrderDocumentCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "billing_order",
      "action": "status_change",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
      "secondaryObjectId": null,
      "payload": {
        "reason": null,
        "toStatus": "submitted",
        "fromStatus": null,
        "automatedAction": false
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd2c-7a0b-9431-91e574fcfb81",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-13T02:32:43.047Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd28-7733-8366-6b2d85c53217",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-06T02:32:43.047Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "decision",
      "action": "representatives.gate_rep_action",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_blocking_relationship",
        "orderType": null,
        "performed": false,
        "entityType": "organization",
        "gatedAction": "bill_only",
        "isOwnTrunkDestination": null,
        "requestingOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:42.959Z",
      "eventType": "decision",
      "action": "representatives.gate_rep_action",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_blocking_relationship",
        "orderType": null,
        "performed": false,
        "entityType": "organization",
        "gatedAction": "bill_only",
        "isOwnTrunkDestination": null,
        "requestingOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:43.893Z",
      "eventType": "decision",
      "action": "bill_only.notifications.cc_incident_recipients",
      "userEmail": null,
      "userId": null,
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
      "secondaryObjectId": null,
      "payload": {
        "reason": "order has no no-charge item with an incident reason",
        "performed": false,
        "entityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:44.400Z",
      "eventType": "transactional_email",
      "action": "new_bill_only",
      "userEmail": null,
      "userId": null,
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "01a0eb01-dd09-75fa-b85a-a764d60d7191",
      "secondaryObjectId": null,
      "payload": {
        "to": [
          "blair.bennett@corvetasurgical.com"
        ],
        "s3Path": "email-audit/b2c3d4e5-f6a7-8901-bcde-f12345678901/01a0eb01-e264-764b-a873-adf53f4225bb/",
        "subject": "New Bill-Only Order - 9/29/2026 - Vantis BO-2",
        "messageId": "dev-console-log",
        "relatedEntityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:32:48.330Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "alex.admin@vantismedical.com",
      "userId": "f6a7b8c9-d0e1-2345-f123-456789012345",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "alex.admin@vantismedical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:32:55.107Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "blair.bennett@corvetasurgical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:33:05.058Z",
      "eventType": "decision",
      "action": "bill_only_order.duplicate_submission_block",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "fea7b8c9-d0e1-2345-0123-456789012345",
      "secondaryObjectId": null,
      "payload": {
        "step": "surgery",
        "reason": "all_candidates_vetoed",
        "performed": false,
        "entityType": "sales_account",
        "vetoedCount": 2,
        "flaggedCount": 0,
        "candidateCount": 2,
        "matchedSignals": {
          "patientId": false,
          "surgeonName": false,
          "patientLastName": false
        },
        "unmatchedCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5ce4-7eaa-a4bb-4136d81d33ae",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-20T02:33:15.741Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "decision",
      "action": "representatives.gate_rep_action",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_blocking_relationship",
        "orderType": null,
        "performed": false,
        "entityType": "organization",
        "gatedAction": "bill_only",
        "isOwnTrunkDestination": null,
        "requestingOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "decision",
      "action": "representatives.gate_rep_action",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_blocking_relationship",
        "orderType": null,
        "performed": false,
        "entityType": "organization",
        "gatedAction": "bill_only",
        "isOwnTrunkDestination": null,
        "requestingOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "decision",
      "action": "bill_only_order.inventory_items_decrement",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
      "secondaryObjectId": null,
      "payload": {
        "reason": "inventory_items_decremented",
        "itemCount": 2,
        "performed": true,
        "entityType": "billing_order",
        "hasCaseToteItems": false
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "decision",
      "action": "bill_only_order.direct_po_import_on_create",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
      "secondaryObjectId": null,
      "payload": {
        "reason": "No uploaded PO documents",
        "performed": false,
        "entityType": "billing_order",
        "fileSourceOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "hasSelectedPurchaseOrderId": false,
        "purchaseOrderDocumentCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "billing_order",
      "action": "status_change",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
      "secondaryObjectId": null,
      "payload": {
        "reason": null,
        "toStatus": "submitted",
        "fromStatus": null,
        "automatedAction": false
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "decision",
      "action": "bill_only_order.duplicate_submission_block",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "fea7b8c9-d0e1-2345-0123-456789012345",
      "secondaryObjectId": null,
      "payload": {
        "step": "review",
        "reason": "all_candidates_vetoed",
        "performed": false,
        "entityType": "sales_account",
        "vetoedCount": 2,
        "flaggedCount": 0,
        "candidateCount": 2,
        "matchedSignals": {
          "patientId": false,
          "surgeonName": false,
          "patientLastName": false
        },
        "unmatchedCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "decision",
      "action": "bill_only.link_purchase_order",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
      "secondaryObjectId": null,
      "payload": {
        "reason": "no_purchase_order_selected",
        "performed": false,
        "entityType": "billing_order",
        "salesOrganizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "manufacturerOrganizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5ce1-7164-acef-76929b7b1a45",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-13T02:33:15.741Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "scheduled_task",
      "action": "scheduled_task.scheduled",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5cdd-7a09-b561-a0202b97edd9",
      "secondaryObjectId": null,
      "payload": {
        "entityId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
        "revision": 0,
        "taskKind": "bill_only_po_missing_followup",
        "entityType": "billing_order",
        "scheduledAt": "2026-10-06T02:33:15.741Z"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:15.655Z",
      "eventType": "decision",
      "action": "basicErp.deriveSalesOrder",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
      "secondaryObjectId": null,
      "payload": {
        "reason": "flag_disabled",
        "performed": false,
        "entityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:16.980Z",
      "eventType": "decision",
      "action": "bill_only.notifications.cc_incident_recipients",
      "userEmail": null,
      "userId": null,
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
      "secondaryObjectId": null,
      "payload": {
        "reason": "order has no no-charge item with an incident reason",
        "performed": false,
        "entityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:17.484Z",
      "eventType": "transactional_email",
      "action": "new_bill_only",
      "userEmail": null,
      "userId": null,
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "01a0eb02-5cbd-7483-89c5-3b8e1003addb",
      "secondaryObjectId": null,
      "payload": {
        "to": [
          "blair.bennett@corvetasurgical.com"
        ],
        "s3Path": "email-audit/b2c3d4e5-f6a7-8901-bcde-f12345678901/01a0eb02-63a0-79bb-8dd8-2dae1dce6d91/",
        "subject": "New Bill-Only Order - 9/29/2026 - Vantis BO-3",
        "messageId": "dev-console-log",
        "relatedEntityType": "billing_order"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:20.939Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "alex.admin@vantismedical.com",
      "userId": "f6a7b8c9-d0e1-2345-f123-456789012345",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "alex.admin@vantismedical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:33:26.521Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "blair.bennett@corvetasurgical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:33:36.495Z",
      "eventType": "decision",
      "action": "bill_only_order.duplicate_submission_block",
      "userEmail": "blair.bennett@corvetasurgical.com",
      "userId": "17b8c9d0-e1f2-3456-1234-567890123456",
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "fea7b8c9-d0e1-2345-0123-456789012345",
      "secondaryObjectId": null,
      "payload": {
        "step": "surgery",
        "reason": "all_candidates_vetoed",
        "performed": false,
        "entityType": "sales_account",
        "vetoedCount": 3,
        "flaggedCount": 0,
        "candidateCount": 3,
        "matchedSignals": {
          "patientId": false,
          "surgeonName": false,
          "patientLastName": false
        },
        "unmatchedCount": 0
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:33:42.074Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "alex.admin@vantismedical.com",
      "userId": "f6a7b8c9-d0e1-2345-f123-456789012345",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "alex.admin@vantismedical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    }
  ],
  "auditQuery": "SELECT\n    ae.created_at,\n    ae.event_type,\n    ae.action,\n    ae.user_id,\n    u.email AS user_email,\n    ae.organization_id,\n    o.name AS organization_name,\n    ae.object_id,\n    ae.secondary_object_id,\n    ae.payload,\n    ae.route,\n    ae.trace_id\n  FROM audit_events ae\n  LEFT JOIN users u ON u.id = ae.user_id\n  LEFT JOIN organizations o ON o.id = ae.organization_id\n  WHERE ae.created_at >= $1\n    AND ae.organization_id = ANY($2::uuid[])\n  ORDER BY ae.created_at ASC",
  "auditAssertions": [],
  "emailAssertions": [],
  "videoPaths": [
    "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-01-fixed-price-kit-config.webm",
    "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-02-component-sum-pricing.webm",
    "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-03-recalculation.webm",
    "/home/runner/_work/code/code/validation_test_results/urs-074-virtual-kit-pricing-modes/2026-09-29T02-30-56-789Z/videos/step-04-missing-component-price.webm"
  ]
}