91 lines
3.3 KiB
JSON
91 lines
3.3 KiB
JSON
|
|
{
|
||
|
|
"schema_version": "2.0",
|
||
|
|
"rule_code": "risk.expense.generated_20260523010818",
|
||
|
|
"name": "住宿城市必须出现在本次差旅行程城市中风险规则",
|
||
|
|
"description": "当报销业务满足“住宿城市必须出现在本次差旅行程城市中,如果酒店发票城市与申报目的地或交通票行程城市都不一致,则判定为高风险,并要求补充差旅说明。”时,系统会按高风险进行提示,并要求经办人或审核人补充核对依据。",
|
||
|
|
"enabled": true,
|
||
|
|
"risk_dimension": "natural_language_rule",
|
||
|
|
"risk_category": "报销",
|
||
|
|
"ontology_signal": "natural_language_risk",
|
||
|
|
"evaluator": "template_rule",
|
||
|
|
"template_key": "field_compare_v1",
|
||
|
|
"applies_to": {
|
||
|
|
"domains": [
|
||
|
|
"expense"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"inputs": {
|
||
|
|
"fields": [
|
||
|
|
{
|
||
|
|
"key": "claim.reason",
|
||
|
|
"label": "报销事由",
|
||
|
|
"type": "text",
|
||
|
|
"source": "claim"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "claim.location",
|
||
|
|
"label": "申报地点",
|
||
|
|
"type": "text",
|
||
|
|
"source": "claim"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "attachment.hotel_city",
|
||
|
|
"label": "住宿城市",
|
||
|
|
"type": "text",
|
||
|
|
"source": "attachment"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "attachment.route_cities",
|
||
|
|
"label": "行程城市",
|
||
|
|
"type": "list",
|
||
|
|
"source": "attachment"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"params": {
|
||
|
|
"template_key": "field_compare_v1",
|
||
|
|
"field_keys": [
|
||
|
|
"claim.reason",
|
||
|
|
"claim.location",
|
||
|
|
"attachment.hotel_city",
|
||
|
|
"attachment.route_cities"
|
||
|
|
],
|
||
|
|
"condition_summary": "对比报销事由、申报地点、住宿城市之间是否一致或存在交集",
|
||
|
|
"natural_language": "住宿城市必须出现在本次差旅行程城市中,如果酒店发票城市与申报目的地或交通票行程城市都不一致,则判定为高风险,并要求补充差旅说明。",
|
||
|
|
"conditions": [
|
||
|
|
{
|
||
|
|
"left": "claim.reason",
|
||
|
|
"operator": "overlap",
|
||
|
|
"right": "claim.location"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"outcomes": {
|
||
|
|
"pass": {
|
||
|
|
"severity": "none",
|
||
|
|
"action": "continue"
|
||
|
|
},
|
||
|
|
"fail": {
|
||
|
|
"severity": "high",
|
||
|
|
"action": "manual_review"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"metadata": {
|
||
|
|
"owner": "WangMin",
|
||
|
|
"stability": "generated_draft",
|
||
|
|
"source_ref": "自然语言风险规则",
|
||
|
|
"created_at": "2026-05-23T01:08:18.310751+00:00",
|
||
|
|
"created_by": "WangMin",
|
||
|
|
"natural_language": "住宿城市必须出现在本次差旅行程城市中,如果酒店发票城市与申报目的地或交通票行程城市都不一致,则判定为高风险,并要求补充差旅说明。",
|
||
|
|
"business_explanation": "当报销业务满足“住宿城市必须出现在本次差旅行程城市中,如果酒店发票城市与申报目的地或交通票行程城市都不一致,则判定为高风险,并要求补充差旅说明。”时,系统会按高风险进行提示,并要求经办人或审核人补充核对依据。",
|
||
|
|
"condition_summary": "对比报销事由、申报地点、住宿城市之间是否一致或存在交集",
|
||
|
|
"flow": {
|
||
|
|
"start": "报销单据提交",
|
||
|
|
"evidence": "读取报销事由、申报地点、住宿城市",
|
||
|
|
"decision": "对比报销事由、申报地点、住宿城市之间是否一致或存在交集",
|
||
|
|
"pass": "未命中风险,继续业务流转",
|
||
|
|
"fail": "命中高风险,提示复核"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|