Files
X-Financial/server/rules/risk-rules/risk.reimbursement.period_outside_application.json

180 lines
4.3 KiB
JSON
Raw Permalink Normal View History

{
"schema_version": "2.0",
"rule_code": "risk.reimbursement.period_outside_application",
"name": "报销发生期间超出申请期间",
"description": "费用发生日期不在已审批申请的起止日期范围内。",
"enabled": true,
"requires_attachment": false,
"risk_dimension": "expense_control_demo",
"risk_category": "报销偏差",
"ontology_signal": "period_outside_application",
"evaluator": "template_rule",
"template_key": "keyword_match_v1",
"finance_rule_code": "application.reimbursement.linkage.policy",
"finance_rule_sheet": "申请报销关联规则",
"business_stage": [
"reimbursement"
],
"expense_types": [
"all"
],
"budget_required": true,
"applies_to": {
"domains": [
"expense"
],
"expense_types": [
"all"
],
"business_stages": [
"reimbursement"
]
},
"inputs": {
"fields": [
{
"key": "claim.amount",
"label": "报销金额",
"type": "number",
"source": "claim"
},
{
"key": "claim.expense_type",
"label": "费用类型",
"type": "enum",
"source": "claim"
},
{
"key": "claim.department_name",
"label": "部门",
"type": "text",
"source": "claim"
},
{
"key": "claim.reason",
"label": "事由",
"type": "text",
"source": "claim"
},
{
"key": "item.item_reason",
"label": "明细说明",
"type": "text",
"source": "item"
},
{
"key": "application.id",
"label": "申请单",
"type": "text",
"source": "application"
},
{
"key": "application.status",
"label": "申请状态",
"type": "enum",
"source": "application"
},
{
"key": "application.approved_amount",
"label": "申请审批金额",
"type": "number",
"source": "application"
},
{
"key": "application.expense_type",
"label": "申请费用类型",
"type": "enum",
"source": "application"
},
{
"key": "application.department_name",
"label": "申请部门",
"type": "text",
"source": "application"
},
{
"key": "application.start_date",
"label": "申请开始日期",
"type": "date",
"source": "application"
},
{
"key": "application.end_date",
"label": "申请结束日期",
"type": "date",
"source": "application"
}
]
},
"params": {
"template_key": "keyword_match_v1",
"field_keys": [
"claim.amount",
"claim.expense_type",
"claim.department_name",
"claim.reason",
"item.item_reason",
"application.id",
"application.status",
"application.approved_amount",
"application.expense_type",
"application.department_name",
"application.start_date",
"application.end_date"
],
"search_fields": [
"claim.reason",
"item.item_reason",
"claim.expense_type"
],
"keywords": [
"期间不一致",
"超出申请期间",
"日期偏差"
],
"condition_summary": "发生日期超出申请有效期间时触发。",
"finance_rule_code": "application.reimbursement.linkage.policy",
"finance_rule_sheet": "申请报销关联规则",
"business_stage": [
"reimbursement"
],
"expense_types": [
"all"
],
"budget_required": true
},
"outcomes": {
"pass": {
"severity": "none",
"action": "continue"
},
"fail": {
"severity": "medium",
"action": "manual_review",
"risk_score": 70
}
},
"metadata": {
"owner": "风控与审计部",
"stability": "platform",
"source_ref": "费用管控 Demo 风险规则库",
"created_at": "2026-05-31T00:10:41.859728+00:00",
"created_by": "system",
"risk_score": 70,
"risk_level": "medium",
"rule_title": "报销发生期间超出申请期间",
"finance_rule_code": "application.reimbursement.linkage.policy",
"finance_rule_sheet": "申请报销关联规则",
"business_stage": [
"reimbursement"
],
"expense_types": [
"all"
],
"budget_required": true
},
"severity": "medium",
"risk_score": 70,
"risk_level": "medium"
}