{
  "base_url": "http://127.0.0.1:8094",
  "counts": {
    "blocked": 0,
    "executed": 11,
    "fail": 0,
    "pass": 11,
    "skip": 0
  },
  "database": "scola_t6b2_audit_20260817T094947Z",
  "identity": {
    "backend_application_tree_hash": "e890d376cd5340f4c492c9e8dd71f0c67d03cb7485b1d5106bedfd8273f8399d",
    "backend_git_commit_sha": "5e6be85291fd9c2827d92e964957c76634956e2b",
    "base_url": "http://127.0.0.1:8094",
    "database_name": "scola_t6b2_audit_20260817T094947Z",
    "database_uuid": "2bf5fd27-9390-11f1-9617-28e8d4be73f5",
    "frontend_application_commit_sha": "1adb581b669145339a2117e5b300ee2defbf116c",
    "frontend_application_tree_hash": "d830aebc506ae187269548f190a2f138b22fd1ba31cb6660dd975f8aa7b2e7c2",
    "frontend_git_commit_sha": "1adb581b669145339a2117e5b300ee2defbf116c",
    "golden_fixture_checksum": "40bc6c2762d27692e7947b6e41b1446c890e833c76728ba0fe640916a2deec96",
    "golden_fixture_version": "gt-core-b1.1",
    "harness_worktree_git_commit_sha": "b2cabfbe914a50f50efdc43cd43631b979948f23",
    "runtime_application_tree_hash": "e890d376cd5340f4c492c9e8dd71f0c67d03cb7485b1d5106bedfd8273f8399d",
    "served_frontend_identity": {
      "build_run_id": "fe-build-5bebc1b475dd-mtdstizd",
      "builtAt": "2026-08-29T03:07:15.954Z",
      "frontend_git_commit_sha": "5bebc1b475ddd088b4ee29f3d59aae83a135b67a",
      "version": "5bebc1b475dd+mtdstizd"
    }
  },
  "results": [
    {
      "case": "RT-W10-POS-01",
      "evidence": {
        "activate": true,
        "activate_body": {
          "data": {
            "id": 42,
            "w10_state": "active"
          },
          "success": true,
          "timestamp": "2026-08-29T14:11:23+00:00"
        },
        "bill_id": 39,
        "bill_partial": true,
        "billed": true,
        "enroll": true,
        "has_receipts": true,
        "parent_body": {
          "data": {
            "amount": 100000.0,
            "id": 39,
            "remaining": 60000.0,
            "rule_version": 1,
            "state": "partially_paid",
            "student_id": 383,
            "verified_amount": 40000.0
          },
          "success": true
        },
        "parent_detail": true,
        "pay": true,
        "payment_id": 24,
        "receipt": true,
        "receipt_body": {
          "data": {
            "amount": 40000.0,
            "id": 24,
            "issued_at": "2026-08-29 14:11:33",
            "number": "fees:33:rcpt:24",
            "payment_id": 24
          },
          "success": true,
          "timestamp": "2026-08-29T14:11:33+00:00"
        },
        "rule_create": true,
        "rule_id": 42,
        "self_activate_denied": true,
        "self_bill_denied": true,
        "self_verify_denied": true,
        "student_body": {
          "data": {
            "amount": 100000.0,
            "id": 39,
            "remaining": 60000.0,
            "rule_version": 1,
            "state": "partially_paid",
            "student_id": 383,
            "verified_amount": 40000.0
          },
          "success": true
        },
        "student_detail": true,
        "verify": true
      },
      "result": "PASS"
    },
    {
      "case": "RT-W10-NEG-01",
      "evidence": {
        "admin_verify": {
          "capability": [
            "finance.billing.verify",
            "finance.billing.refund"
          ],
          "error": "capability_denied",
          "message": "Insufficient permissions for this API route.",
          "path": "/api/v1/fees/w10/payments/transition",
          "success": false
        },
        "unlinked": {
          "error": "not_found",
          "message": "Data tidak ditemukan.",
          "success": false,
          "timestamp": "2026-08-29T14:11:36+00:00"
        },
        "viewer": {
          "capability": "finance.billing.configure",
          "error": "capability_denied",
          "message": "Insufficient permissions for this API route.",
          "path": "/api/v1/fees/w10/rules/save",
          "success": false
        }
      },
      "result": "PASS"
    },
    {
      "case": "RT-W10-SCP-01",
      "evidence": "direct write denied; guessed bill hidden",
      "result": "PASS"
    },
    {
      "case": "RT-W10-TEN-01",
      "evidence": {
        "cross": {
          "error": "not_found",
          "message": "Data tidak ditemukan.",
          "success": false,
          "timestamp": "2026-08-29T14:11:36+00:00"
        },
        "list_has_t1_bill": true
      },
      "result": "PASS"
    },
    {
      "case": "RT-W10-VAL-01",
      "evidence": {
        "bad_proof": {
          "error": "proof_denied",
          "message": "Tanda tangan file tidak valid.",
          "success": false,
          "timestamp": "2026-08-29T14:11:36+00:00"
        },
        "gateway": {
          "error": "channel_denied",
          "message": "Kanal pembayaran tidak termasuk T6B.1.",
          "success": false,
          "timestamp": "2026-08-29T14:11:36+00:00"
        },
        "infected": {
          "error": "proof_infected",
          "message": "Bukti terdeteksi berbahaya dan ditolak.",
          "success": false,
          "timestamp": "2026-08-29T14:11:47+00:00"
        },
        "infected_stored": {
          "count": 0,
          "ids": [],
          "proof_names": []
        },
        "overpay": {
          "error": "overpayment_denied",
          "message": "Kelebihan bayar ditolak.",
          "success": false,
          "timestamp": "2026-08-29T14:11:36+00:00"
        }
      },
      "result": "PASS"
    },
    {
      "case": "RT-W10-STA-01",
      "evidence": "SoD and skipped transition remain denied",
      "result": "PASS"
    },
    {
      "case": "RT-W10-IDM-01",
      "evidence": {
        "conflict": {
          "error": "invalid",
          "message": "Idempotency-Key dipakai ulang dengan payload berbeda.",
          "success": false,
          "timestamp": "2026-08-29T14:12:11+00:00"
        },
        "replay_id": 24
      },
      "result": "PASS"
    },
    {
      "case": "RT-W10-REC-01",
      "evidence": {
        "forced": {
          "id": 25,
          "state": "pending_reconciliation"
        },
        "recover": {
          "data": {
            "bill_state": "partially_paid",
            "payment_id": 25,
            "receipt_id": 25,
            "remaining": 40000.0,
            "state": "verified"
          },
          "success": true
        },
        "timeout_id": 25
      },
      "result": "PASS"
    },
    {
      "case": "RT-W10-XRP-01",
      "evidence": "receipt after verify; unlinked hidden; outbox present without blocking POS",
      "result": "PASS"
    },
    {
      "case": "RT-W10-XMD-01",
      "evidence": {
        "accounting": {
          "error": "accounting_excluded",
          "message": "Posting akuntansi bukan bagian SC-FEES V1.",
          "success": false
        },
        "callback": {
          "error": "gateway_excluded",
          "message": "Pembayaran gateway bukan bagian T6B.1.",
          "success": false
        },
        "gateway": {
          "error": "gateway_excluded",
          "message": "Pembayaran gateway bukan bagian T6B.1.",
          "success": false
        },
        "legacy": {
          "error": "feature_disabled",
          "message": "Gunakan lifecycle W10 /api/v1/fees/w10/.",
          "success": false
        }
      },
      "result": "PASS"
    },
    {
      "case": "RT-W10-UIA-01",
      "evidence": {
        "error": "feature_disabled",
        "feature_flag": "scola_fees",
        "message": "Feature is disabled for the current tenant.",
        "path": "/api/v1/fees/w10/rules/save",
        "success": false
      },
      "result": "PASS"
    }
  ],
  "run_code": "781004",
  "snapshot": {
    "bills": [
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 39,
        "remaining": 40000.0,
        "state": "partially_paid",
        "student_id": 383
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 38,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 382
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 37,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 377
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 36,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 370
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 35,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 365
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 34,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 361
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 33,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 356
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 32,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 355
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 31,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 350
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 30,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 346
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 29,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 341
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 28,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 334
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 27,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 329
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 26,
        "remaining": 40000.0,
        "state": "partially_paid",
        "student_id": 327
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 25,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 326
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 24,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 321
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 23,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 320
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 22,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 315
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 21,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 314
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 20,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 309
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 19,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 308
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 18,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 303
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 17,
        "remaining": 40000.0,
        "state": "partially_paid",
        "student_id": 301
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 16,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 297
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 15,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 292
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 14,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 291
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 13,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 286
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 12,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 285
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 11,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 280
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 10,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 279
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 9,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 274
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 8,
        "remaining": 40000.0,
        "state": "partially_paid",
        "student_id": 269
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 7,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 268
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 6,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 263
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 5,
        "remaining": 40000.0,
        "state": "partially_paid",
        "student_id": 258
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 4,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 257
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 3,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 252
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 2,
        "remaining": 0.0,
        "state": "paid",
        "student_id": 246
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 1,
        "remaining": 125000.0,
        "state": "billed",
        "student_id": 241
      }
    ],
    "enrollments": [
      {
        "company_id": 33,
        "id": 13,
        "state": "billed"
      },
      {
        "company_id": 33,
        "id": 18,
        "state": "billed"
      },
      {
        "company_id": 33,
        "id": 35,
        "state": "billed"
      },
      {
        "company_id": 33,
        "id": 52,
        "state": "billed"
      },
      {
        "company_id": 33,
        "id": 77,
        "state": "billed"
      }
    ],
    "outbox": [
      {
        "id": 1,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 2,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 3,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 4,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 5,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 6,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 7,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 8,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 9,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 10,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 11,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 12,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 13,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 14,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 15,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 16,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 17,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 18,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 19,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 20,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 21,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 22,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 23,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 24,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 25,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 26,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 27,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 28,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 29,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 30,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 31,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 32,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 33,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 34,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 35,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 36,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 37,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 38,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 39,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 40,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 41,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 42,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 43,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 44,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 45,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 46,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 47,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 48,
        "operation": "notify_receipt",
        "state": "pending"
      },
      {
        "id": 49,
        "operation": "notify_payment",
        "state": "pending"
      },
      {
        "id": 50,
        "operation": "notify_receipt",
        "state": "pending"
      }
    ],
    "payments": [
      {
        "amount": 20000.0,
        "company_id": 33,
        "id": 25,
        "state": "verified"
      },
      {
        "amount": 40000.0,
        "company_id": 33,
        "id": 24,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 23,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 22,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 21,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 20,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 19,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 18,
        "state": "verified"
      },
      {
        "amount": 20000.0,
        "company_id": 33,
        "id": 17,
        "state": "verified"
      },
      {
        "amount": 40000.0,
        "company_id": 33,
        "id": 16,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 15,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 14,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 13,
        "state": "verified"
      },
      {
        "amount": 20000.0,
        "company_id": 33,
        "id": 12,
        "state": "verified"
      },
      {
        "amount": 40000.0,
        "company_id": 33,
        "id": 11,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 10,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 9,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 8,
        "state": "verified"
      },
      {
        "amount": 20000.0,
        "company_id": 33,
        "id": 7,
        "state": "verified"
      },
      {
        "amount": 40000.0,
        "company_id": 33,
        "id": 6,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 5,
        "state": "verified"
      },
      {
        "amount": 20000.0,
        "company_id": 33,
        "id": 4,
        "state": "verified"
      },
      {
        "amount": 40000.0,
        "company_id": 33,
        "id": 3,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 2,
        "state": "verified"
      },
      {
        "amount": 125000.0,
        "company_id": 29,
        "id": 1,
        "state": "verified"
      }
    ],
    "receipts": [
      {
        "amount": 125000.0,
        "id": 1,
        "payment_id": 1
      },
      {
        "amount": 125000.0,
        "id": 2,
        "payment_id": 2
      },
      {
        "amount": 40000.0,
        "id": 3,
        "payment_id": 3
      },
      {
        "amount": 20000.0,
        "id": 4,
        "payment_id": 4
      },
      {
        "amount": 125000.0,
        "id": 5,
        "payment_id": 5
      },
      {
        "amount": 40000.0,
        "id": 6,
        "payment_id": 6
      },
      {
        "amount": 20000.0,
        "id": 7,
        "payment_id": 7
      },
      {
        "amount": 125000.0,
        "id": 8,
        "payment_id": 8
      },
      {
        "amount": 125000.0,
        "id": 9,
        "payment_id": 9
      },
      {
        "amount": 125000.0,
        "id": 10,
        "payment_id": 10
      },
      {
        "amount": 40000.0,
        "id": 11,
        "payment_id": 11
      },
      {
        "amount": 20000.0,
        "id": 12,
        "payment_id": 12
      },
      {
        "amount": 125000.0,
        "id": 13,
        "payment_id": 13
      },
      {
        "amount": 125000.0,
        "id": 14,
        "payment_id": 14
      },
      {
        "amount": 125000.0,
        "id": 15,
        "payment_id": 15
      },
      {
        "amount": 40000.0,
        "id": 16,
        "payment_id": 16
      },
      {
        "amount": 20000.0,
        "id": 17,
        "payment_id": 17
      },
      {
        "amount": 125000.0,
        "id": 18,
        "payment_id": 18
      },
      {
        "amount": 125000.0,
        "id": 19,
        "payment_id": 19
      },
      {
        "amount": 125000.0,
        "id": 20,
        "payment_id": 20
      },
      {
        "amount": 125000.0,
        "id": 21,
        "payment_id": 21
      },
      {
        "amount": 125000.0,
        "id": 22,
        "payment_id": 22
      },
      {
        "amount": 125000.0,
        "id": 23,
        "payment_id": 23
      },
      {
        "amount": 40000.0,
        "id": 24,
        "payment_id": 24
      },
      {
        "amount": 20000.0,
        "id": 25,
        "payment_id": 25
      }
    ],
    "rules": [
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 8,
        "state": "active"
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 29,
        "state": "active"
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 5,
        "state": "active"
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 42,
        "state": "active"
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 11,
        "state": "active"
      },
      {
        "amount": 100000.0,
        "company_id": 33,
        "id": 20,
        "state": "active"
      }
    ]
  },
  "suite": "PKG-FEES-W10"
}