Loading
保險
InsClaimItemService:claimCoverageValuation

InsClaimItemService:claimCoverageValuation

使用此服務可驗證使用者是否有權限在不同類型的財務活動中付款或批准金額。

財務授權工作流程在下列情況呼叫此服務:

  • 使用者嘗試發出索賠付款。

  • 上司為其小組成員設定批准金額上限。

  • 批准者嘗試將索賠的財務授權機構狀態更新為「已批准授權機構」。

類別:InsClaimItemService

方法:claimCoverageValuation

適用於:Salesforce 資料模型

運作方式

索賠涵蓋範圍評估服務使用輸入 JSON 和 userId 來判斷索賠財務金額是否超過使用者的最大批准金額。設定索賠付款流程,透過執行此服務來檢查使用者的財務授權機構。當索賠小組負責人批准財務授權要求時,批准動作會執行此服務來檢查批准者的財務授權機構。

服務:

  1. 接受一組 objectIds 作為輸入,無論是「索賠涵蓋範圍付款詳細資料識別碼」(ClaimCoveragePaymentDetailId 值) 或「索賠涵蓋範圍識別碼」(ClaimCoverageId 值)。

  2. 驗證 objectIds。

    • 服務無法混合處理「索賠涵蓋範圍付款詳細資料」和「索賠涵蓋範圍」記錄。

    • ClaimCoverageId 的輸入也必須包含「損失」或「費用」 的 claimFinancialType 值。

  3. 取得「索賠涵蓋範圍付款詳細資料」或「索賠涵蓋範圍」記錄詳細資料,以及登入使用者的使用者識別碼。

  4. 針對已登入的使用者檢取啟用的「使用者財務授權機構」記錄。

  5. 決定索賠涵蓋範圍評估金額。

    服務會計算新的索賠涵蓋範圍評估。

    如果 objectIds 是「索賠涵蓋範圍付款詳細資料識別碼」,則服務會將輸入詳細資料的總和加到已針對索賠涵蓋範圍支付的金額。或者,服務也會新增待處理付款金額。

  6. 確定新索賠涵蓋範圍評估金額是否超過使用者的批准金額上限。

    如果新估值金額超過使用者的最大批准金額,則服務會將使用者的財務授權機構評估為 false。

    服務會傳回「索賠涵蓋範圍付款詳細資料識別碼」或「索賠涵蓋範圍識別碼」失敗授權評估的詳細記錄。如果任何詳細資料無法評估,服務會傳回整個交易的假值。針對失敗評估的交易,服務會將狀態更新為為遠端選項指定的值。服務更新:

    • 所有相關「索賠涵蓋範圍識別碼」或「索賠涵蓋範圍付款詳細資料識別碼」的 狀態值。

    • 所有相關「索賠識別碼」的「財務授權機構狀態」值。

範例:Judith 是索賠協調員,可支付或批准索賠涵蓋範圍損失,最多 $10,000。她想要針對房屋擁有者保單的「住宅保險」付款 $3,000。

  • 如果尚未發出或待處理的其他付款,則 Judith 可以發出 $3,000 付款,而無須要求批准。

  • 如果已支付 $8,000 的「住宅」涵蓋範圍,則需要批准另一個 $3,000 的付款,因為總計 $11,000 的涵蓋範圍付款會讓 Judith 超過 $10,000 的財務授權限制。

  • 如果除了已支付的「住宅」涵蓋範圍 $6,000 之外,未在相關交易中還要支付 $2,000 的「住宅」涵蓋範圍付款,則 $3,000 的付款會將「已付款」和「待處理」總金額增加到 $11,000。由於 $11,000 大於 Judith 的財務授權限制,因此她的付款預設需要獲得批准。如果服務設定為設定為 false 的 includePendingPayments,則 Judith 可以發出 $3,000 付款,因為當服務排除非相關交易中的 $2,000 待處理付款時,總涵蓋範圍付款僅為 $9,000。$9,000 低於 Judith 的 $10,000 限制。

顯示過去和待處理付款對使用者財務授權機構影響的表格

遠端選項

選項

描述

objectIds

必要。

「索賠涵蓋範圍付款詳細資料識別碼」(ClaimCoveragePaymentDetailId 值) 或「索賠涵蓋範圍識別碼」(ClaimCoverageId 值) 的陣列。

claimFinancialType

如果 objectIds 是 claimCoverageId 值,則為必要。

授權要求中的財務交易類型。可能的值包括:損失、費用。

includePendingPayments

選擇性。

針對「索賠涵蓋範圍付款詳細資料識別碼」輸入,true (預設值) 將待處理付款包含在已針對涵蓋範圍進行的付款計算中,或false 將其排除。

requestedCoverageAmount

如果 objectIds 是 claimCoverageId 值,則為必要。

AuthorityFailClaimStatus,

AuthorityFailClaimCoverageStatus,

AuthorityFailClaimCoveragePaymentDetailStatus

選擇性。

如果使用者沒有支付或批准要求金額的授權 (userFinancialAuthority = false),請將索賠、索賠涵蓋範圍或索賠涵蓋範圍付款詳細資料的「狀態」設定為每個選項指定的值。

預設:Pending Authority

ClaimCovPaymentDetailStatusBypassFinancialAuthorityValuation

選擇性。

如果「狀態」符合此值,請勿評估索賠涵蓋範圍付款詳細資料記錄的使用者財務授權機構。

預設:Authority Approved

如果您省略此選項,服務會評估所有索賠涵蓋範圍付款詳細資料,無論其「狀態」值為何。

輸入 JSON

此輸入 JSON 會傳遞付款詳細資料識別碼。用於驗證使用者在付款詳細資料中支付金額的授權。

{
  "objectIds": [
    "claimCovergePaymentDetailId4",
    "claimCovergePaymentDetailId2"
  ]
}

此輸入 JSON 會傳遞索賠涵蓋範圍識別碼。用於針對索賠涵蓋範圍損失要求 $10,000 的預先批准付款。

{
 "objectIds": "claimCoverageId_ABC",
 "claimFinanicalType": "Loss",
 "requestedCoverageAmount": "10000"
}

輸出 JSON

輸出 JSON 顯示:

關鍵字

值

passedItemIds 和 failedItemIds

屬於使用者財務授權機構的付款詳細資料,以及屬於否的付款詳細資料。

passedClaimCoverageIds 和 failedClaimCoverageIds

屬於使用者財務授權機構的索賠涵蓋範圍,以及屬於否的索賠涵蓋範圍。

userFinancialAuthority

服務對使用者在輸入中付款或批准所有交易的授權評估。如果為 true,則使用者已根據輸入參數通過財務授權機構評估的所有層面。如果為 false,則評估的一或多個層面會失敗。

claimCoverageDetails

每個評估的索賠涵蓋範圍詳細的會計,無論整個交易的整體財務授權機構狀態為何。針對每個交易,詳細資料會顯示:

  • 目前要求的金額。

  • 已支付損失與費用的費用。

  • 損失與費用的待處理付款 (如果 includePendingPayments 為 true)。

  • 使用者可支付或批准的損失與費用上限。

  • 服務對使用者支付或批准每個交易金額的授權評估。

AuthorityFailStatusUpdate

根據輸入 JSON 中 AuthorityFailClaimStatus、AuthorityFailClaimCoverageStatus 和 AuthorityFailClaimCoveragePaymentDetailStatus 遠端選項進行的狀態更新。

{
 "userId": "UserA",
 "userFinancialAuthority": false,
 "formattedErrorMessage": "User requested amount exceeded the maximum Authority amount",
 "failedItemIds": [
   "ClaimCoveragePaymentId1",
   "ClaimCoveragePaymentDetailId4"
 ],
 "passedItemIds": [
   "ClaimCoveragePaymentId3",
   "ClaimCoveragePaymentDetailId2"
 ],
 "failedClaimCoverageIds": [
   "ClaimCoverageCollision",
   "ClaimCoverageBodilyInjury"
 ],
 
 "claimCoveragesDetails": [
   {
     "userFinancialAuthority": false,
     "claimCoverageId": "ClaimCoverageCollision",
     "previousPaidLossAmount": "6000",
     "currentRequestedLossValuationAmount": "11000", // paid + pending items
     "maximumLossUserAuthorityAmount": "10000",
     "previousPaidExpenseAmount": "0",
     "currentRequestedExpenseValuationAmount": "100", // paid + pending items
     "maximumExpenseUserAuthorityAmount": "100",
     "claimCoveragePaymentDetails": [
       {
         "id": "ClaimCoveragePaymentId1",
         "name": "ClaimCoveragePayment1",
         "status": "Open",
         "adjustedAmount": "5000",
         "type": "loss"
       },
       {
         "id": "ClaimCoveragePaymentId3",
         "name": "ClaimCoveragePayment3",
         "status": "Open",
         "adjustedAmount": "50",
         "type": "expense"
       }
     ]
   },
   {
     "userFinancialAuthority": false,
     "claimCoverageId": "ClaimCoverageBodilyInjury",
     "previousPaidLossAmount": "0",
     "currentRequestedLossValuationAmount": "10000", // paid + pending items
     "maximumLossUserAuthorityAmount": "10000",
     "previousPaidExpenseAmount": "150",
     "currentRequestedExpenseValuationAmount": "250", // paid + pending items
     "maximumExpenseUserAuthorityAmount": "200",
     "claimCoveragePaymentDetails": [
       {
           "id": "ClaimCoveragePaymentDetailId2",
           "name": "ClaimCoveragePayment2",
           "status": "Open",
           "adjustedAmount": "10000",
           "type": "loss"
       },
       {
           "id": "ClaimCoveragePaymentDetailId4",
           "name": "ClaimCoveragePayment4",
           "status": "Open",
           "adjustedAmount": "100",
           "type": "expense"
        }
     ]
   }
 ]
}
 
正在載入
Salesforce Help | Article