Files
X-Financial/server/rules/risk-rules/risk.travel.low.application_fields_missing.json

139 lines
3.8 KiB
JSON
Raw Normal View History

{
"schema_version": "2.0",
"rule_code": "risk.travel.low.application_fields_missing",
"name": "差旅申请基础信息不完整低风险",
"description": "费用申请环节缺少差旅地点、事由、起止时间或预计金额等基础信息时,提示经办人补充。",
"enabled": true,
"requires_attachment": false,
"risk_dimension": "travel_reimbursement_control",
"risk_category": "差旅费-申请信息",
"ontology_signal": "travel_application_fields_missing",
"evaluator": "template_rule",
"finance_rule_code": "rule.expense.company_travel_expense_reimbursement",
"finance_rule_sheet": "公司差旅费报销规则",
"business_stage": [
"expense_application"
],
"expense_types": [
"travel"
],
"applies_to": {
"domains": [
"expense",
"travel"
],
"expense_types": [
"travel"
],
"business_stages": [
"expense_application"
]
},
"inputs": {
"fields": [
{
"key": "claim.reason",
"label": "报销/申请事由",
"type": "text",
"source": "claim"
},
{
"key": "claim.location",
"label": "申报地点",
"type": "text",
"source": "claim"
},
{
"key": "claim.trip_start_date",
"label": "出差开始日期",
"type": "date",
"source": "claim"
},
{
"key": "claim.trip_end_date",
"label": "出差结束日期",
"type": "date",
"source": "claim"
},
{
"key": "claim.amount",
"label": "申报金额",
"type": "number",
"source": "claim"
}
]
},
"params": {
"field_keys": [
"claim.reason",
"claim.location",
"claim.trip_start_date",
"claim.trip_end_date",
"claim.amount"
],
"required_fields": [
"claim.reason",
"claim.location",
"claim.trip_start_date",
"claim.trip_end_date",
"claim.amount"
],
"condition_summary": "差旅申请缺少事由、地点、起止时间或预计金额。",
"message_template": "差旅申请基础信息不完整,请补充地点、事由、起止时间和预计金额。",
"template_key": "field_required_v1"
},
"outcomes": {
"pass": {
"severity": "none",
"action": "continue"
},
"fail": {
"severity": "low",
"action": "warning",
"risk_score": 42
}
},
"metadata": {
"owner": "admin",
"stability": "admin_configured",
"source_ref": "差旅费报销风险规则库 / admin 手工配置",
"created_at": "2026-05-26T07:06:27.746703+00:00",
"created_by": "admin",
"risk_score": 42,
"risk_level": "low",
"rule_title": "差旅申请基础信息不完整低风险",
"finance_rule_code": "rule.expense.company_travel_expense_reimbursement",
"finance_rule_sheet": "公司差旅费报销规则",
"business_stage": [
"expense_application"
],
"expense_types": [
"travel"
],
"implementation_note": "使用当前规则中心 JSON 风险规则执行器可识别的字段与模板配置。",
"risk_level_label": "低风险",
"risk_score_model": "risk_score_v3",
"risk_score_detail": {
"score": 42,
"level": "low",
"level_label": "低风险",
"model": "risk_score_v3",
"source": "admin_manual_travel_risk_catalog",
"reason": "按差旅费报销高/中/低风险分层手工设定。"
}
},
"severity": "low",
"risk_score": 42,
"risk_level": "low",
"template_key": "field_required_v1",
"risk_level_label": "低风险",
"risk_score_detail": {
"score": 42,
"level": "low",
"level_label": "低风险",
"model": "risk_score_v3",
"source": "admin_manual_travel_risk_catalog",
"reason": "按差旅费报销高/中/低风险分层手工设定。"
}
}