{
  "result": {
    "marker": "FEISHU_CALLBACK_RETEST_20260609_172725",
    "draft_id": "drf_1780997251449_b1128701",
    "order_no": "RB20260609-EC8EECD6",
    "approval_instance_id": "E28AB56E-5CD0-4787-8C79-CE2EC6C0AD1B",
    "serial_number": "202606090004",
    "feishu_status": "PENDING",
    "created_at": "2026-06-09T17:27:25.738054",
    "proof_path": "/Users/bot1/Volumes/root_for_ai/AI工作区/公司财务_业务梳理_报销走账系统重构_20260603_2006/docs/runtime/FEISHU_CALLBACK_RETEST_20260609_172725.txt"
  },
  "submit": {
    "ok": true,
    "submitted": true,
    "draft_id": "drf_1780997251449_b1128701",
    "commit": {
      "committed": true,
      "local_trial_only": false,
      "database_commit": true,
      "event": {
        "id": "evt_1780997254232_b5479e2f",
        "draft_id": "drf_1780997251449_b1128701",
        "intent": "record_reimbursement",
        "submitted_at": "2026-06-09T09:27:34.232Z",
        "approved_by": null,
        "status": "APPROVAL_SUBMITTING",
        "created_records": [
          {
            "type": "reimbursement_order",
            "id": "rmb_1780997254221_ec8eecd6",
            "order_no": "RB20260609-EC8EECD6"
          },
          {
            "type": "attachment",
            "id": "att_1780997254225_f582b522",
            "target_id": "rmb_1780997254221_ec8eecd6"
          },
          {
            "type": "reimbursement_item",
            "id": "rmi_1780997254226_682ebefb"
          },
          {
            "type": "attachment",
            "id": "att_1780997254228_fd6a3e59",
            "target_id": "rmi_1780997254226_682ebefb"
          }
        ]
      },
      "order": {
        "id": "rmb_1780997254221_ec8eecd6",
        "order_no": "RB20260609-EC8EECD6",
        "applicant_subject_id": "sub_qianliyun",
        "payee_subject_id": "sub_qianliyun",
        "default_owner_subject_id": "sub_wanwuyouling",
        "status": "APPROVAL_SUBMITTING",
        "total_amount": "0.01",
        "submitted_at": "2026-06-09T09:27:34.221Z",
        "approved_at": null,
        "source_draft_id": "drf_1780997251449_b1128701",
        "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
        "created_at": "2026-06-09T09:27:34.221Z",
        "updated_at": "2026-06-09T09:27:34.221Z",
        "approval_provider": null,
        "approval_code": null,
        "approval_instance_id": null
      },
      "created_records": [
        {
          "type": "reimbursement_order",
          "id": "rmb_1780997254221_ec8eecd6",
          "order_no": "RB20260609-EC8EECD6"
        },
        {
          "type": "attachment",
          "id": "att_1780997254225_f582b522",
          "target_id": "rmb_1780997254221_ec8eecd6"
        },
        {
          "type": "reimbursement_item",
          "id": "rmi_1780997254226_682ebefb"
        },
        {
          "type": "attachment",
          "id": "att_1780997254228_fd6a3e59",
          "target_id": "rmi_1780997254226_682ebefb"
        }
      ],
      "draft": {
        "id": "drf_1780997251449_b1128701",
        "intent": "record_reimbursement",
        "status": "APPROVAL_SUBMITTING",
        "normalized_payload": {
          "items": [
            {
              "amount": "0.01",
              "project_id": "proj_wanwuyouling_base_operation",
              "attachments": [
                {
                  "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
                  "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
                  "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
                  "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
                  "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                  "file_size": 259,
                  "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                  "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                  "content_type": "text/plain; charset=utf-8",
                  "storage_bucket": "studio-cloud-1257633934",
                  "storage_region": "ap-nanjing",
                  "attachment_type": "proof",
                  "storage_provider": "tencent_cos"
                }
              ],
              "description": "飞书审批回调自动同步复测：清理旧 App 变量后验证自动回调。测试标识 FEISHU_CALLBACK_RETEST_20260609_172725",
              "occurred_at": "2026-06-09",
              "invoice_type": "无票",
              "invoice_status": "NO_INVOICE",
              "owner_subject_id": "sub_wanwuyouling",
              "advancer_subject_id": "sub_qianliyun",
              "source_category_code": "reimbursement_no_invoice",
              "expense_category_code": "test",
              "personal_ledger_effect": false
            }
          ],
          "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
          "attachments": [
            {
              "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
              "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
              "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
              "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
              "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
              "file_size": 259,
              "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
              "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
              "content_type": "text/plain; charset=utf-8",
              "storage_bucket": "studio-cloud-1257633934",
              "storage_region": "ap-nanjing",
              "attachment_type": "proof",
              "storage_provider": "tencent_cos"
            }
          ],
          "idempotency_key": "callback-retest-988134e02880",
          "payee_subject_id": "sub_qianliyun",
          "applicant_subject_id": "sub_qianliyun",
          "default_owner_subject_id": "sub_wanwuyouling"
        },
        "validation": {
          "ok": true,
          "intent": "record_reimbursement",
          "warnings": [
            {
              "flag": "无发票",
              "level": "warning"
            }
          ],
          "risk_flags": [
            "无发票"
          ],
          "rule_version": "0.1.0",
          "missing_fields": [],
          "normalized_draft": {
            "items": [
              {
                "amount": "0.01",
                "project_id": "proj_wanwuyouling_base_operation",
                "attachments": [
                  {
                    "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
                    "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
                    "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
                    "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
                    "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                    "file_size": 259,
                    "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                    "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                    "content_type": "text/plain; charset=utf-8",
                    "storage_bucket": "studio-cloud-1257633934",
                    "storage_region": "ap-nanjing",
                    "attachment_type": "proof",
                    "storage_provider": "tencent_cos"
                  }
                ],
                "description": "飞书审批回调自动同步复测：清理旧 App 变量后验证自动回调。测试标识 FEISHU_CALLBACK_RETEST_20260609_172725",
                "occurred_at": "2026-06-09",
                "invoice_type": "无票",
                "invoice_status": "NO_INVOICE",
                "owner_subject_id": "sub_wanwuyouling",
                "advancer_subject_id": "sub_qianliyun",
                "source_category_code": "reimbursement_no_invoice",
                "expense_category_code": "test",
                "personal_ledger_effect": false
              }
            ],
            "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
            "attachments": [
              {
                "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
                "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
                "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
                "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
                "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                "file_size": 259,
                "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                "content_type": "text/plain; charset=utf-8",
                "storage_bucket": "studio-cloud-1257633934",
                "storage_region": "ap-nanjing",
                "attachment_type": "proof",
                "storage_provider": "tencent_cos"
              }
            ],
            "idempotency_key": "callback-retest-988134e02880",
            "payee_subject_id": "sub_qianliyun",
            "applicant_subject_id": "sub_qianliyun",
            "default_owner_subject_id": "sub_wanwuyouling"
          }
        },
        "preview": {
          "ok": true,
          "intent": "record_reimbursement",
          "risk_flags": [
            "无发票"
          ],
          "will_create": [
            "intake_draft",
            "reimbursement_order",
            "reimbursement_item",
            "approval_instance?"
          ],
          "preview_text": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
          "human_summary": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
          "missing_fields": [],
          "commit_boundary": "审批或人工确认后才创建正式 reimbursement_order/reimbursement_item；付款发生后再用 fund_transaction + reimbursement_payment 核销。",
          "will_not_create_yet": [
            "fund_transaction",
            "reimbursement_payment"
          ]
        },
        "preview_text": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
        "human_summary": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
        "risk_flags": [
          "无发票"
        ],
        "created_records": [
          {
            "id": "rmb_1780997254221_ec8eecd6",
            "type": "reimbursement_order",
            "order_no": "RB20260609-EC8EECD6"
          },
          {
            "id": "att_1780997254225_f582b522",
            "type": "attachment",
            "target_id": "rmb_1780997254221_ec8eecd6"
          },
          {
            "id": "rmi_1780997254226_682ebefb",
            "type": "reimbursement_item"
          },
          {
            "id": "att_1780997254228_fd6a3e59",
            "type": "attachment",
            "target_id": "rmi_1780997254226_682ebefb"
          }
        ],
        "created_by_agent": "finance-backend-postgresql",
        "operator_subject_id": null,
        "approval_instance_id": null,
        "idempotency_key": "callback-retest-988134e02880",
        "created_at": "2026-06-09T09:27:31.449Z",
        "updated_at": "2026-06-09T09:27:34.221Z"
      }
    },
    "approval": {
      "provider": "feishu",
      "approval_code": "04E7B2B1-DCD7-44E1-84DA-7590CDD3DFE1",
      "approval_instance_id": "E28AB56E-5CD0-4787-8C79-CE2EC6C0AD1B",
      "raw": {
        "instance_code": "E28AB56E-5CD0-4787-8C79-CE2EC6C0AD1B"
      },
      "request_uuid": "FEISHU-CALLBACK-RETEST-FEISHU_CALLBACK_RETEST_20260609_172725"
    },
    "approval_applicant": {
      "source": "request_context",
      "used_user_id": true,
      "used_open_id": true
    },
    "linked": {
      "draft": {
        "id": "drf_1780997251449_b1128701",
        "intent": "record_reimbursement",
        "status": "APPROVAL_PENDING",
        "normalized_payload": {
          "items": [
            {
              "amount": "0.01",
              "project_id": "proj_wanwuyouling_base_operation",
              "attachments": [
                {
                  "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
                  "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
                  "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
                  "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
                  "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                  "file_size": 259,
                  "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                  "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                  "content_type": "text/plain; charset=utf-8",
                  "storage_bucket": "studio-cloud-1257633934",
                  "storage_region": "ap-nanjing",
                  "attachment_type": "proof",
                  "storage_provider": "tencent_cos"
                }
              ],
              "description": "飞书审批回调自动同步复测：清理旧 App 变量后验证自动回调。测试标识 FEISHU_CALLBACK_RETEST_20260609_172725",
              "occurred_at": "2026-06-09",
              "invoice_type": "无票",
              "invoice_status": "NO_INVOICE",
              "owner_subject_id": "sub_wanwuyouling",
              "advancer_subject_id": "sub_qianliyun",
              "source_category_code": "reimbursement_no_invoice",
              "expense_category_code": "test",
              "personal_ledger_effect": false
            }
          ],
          "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
          "attachments": [
            {
              "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
              "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
              "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
              "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
              "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
              "file_size": 259,
              "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
              "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
              "content_type": "text/plain; charset=utf-8",
              "storage_bucket": "studio-cloud-1257633934",
              "storage_region": "ap-nanjing",
              "attachment_type": "proof",
              "storage_provider": "tencent_cos"
            }
          ],
          "idempotency_key": "callback-retest-988134e02880",
          "payee_subject_id": "sub_qianliyun",
          "applicant_subject_id": "sub_qianliyun",
          "default_owner_subject_id": "sub_wanwuyouling"
        },
        "validation": {
          "ok": true,
          "intent": "record_reimbursement",
          "warnings": [
            {
              "flag": "无发票",
              "level": "warning"
            }
          ],
          "risk_flags": [
            "无发票"
          ],
          "rule_version": "0.1.0",
          "missing_fields": [],
          "normalized_draft": {
            "items": [
              {
                "amount": "0.01",
                "project_id": "proj_wanwuyouling_base_operation",
                "attachments": [
                  {
                    "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
                    "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
                    "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
                    "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
                    "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                    "file_size": 259,
                    "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                    "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                    "content_type": "text/plain; charset=utf-8",
                    "storage_bucket": "studio-cloud-1257633934",
                    "storage_region": "ap-nanjing",
                    "attachment_type": "proof",
                    "storage_provider": "tencent_cos"
                  }
                ],
                "description": "飞书审批回调自动同步复测：清理旧 App 变量后验证自动回调。测试标识 FEISHU_CALLBACK_RETEST_20260609_172725",
                "occurred_at": "2026-06-09",
                "invoice_type": "无票",
                "invoice_status": "NO_INVOICE",
                "owner_subject_id": "sub_wanwuyouling",
                "advancer_subject_id": "sub_qianliyun",
                "source_category_code": "reimbursement_no_invoice",
                "expense_category_code": "test",
                "personal_ledger_effect": false
              }
            ],
            "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
            "attachments": [
              {
                "etag": "\"0811dbbaf034f678ba349f0568be052d\"",
                "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
                "sha256": "e1c0714801a0308f2efa4b53d16213783e29b5d8b4cc536c22c3721f089afb65",
                "file_name": "FEISHU_CALLBACK_RETEST_20260609_172725.txt",
                "file_path": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                "file_size": 259,
                "file_token": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                "storage_key": "finance/proofs/2026/06/proof_20260609T092728Z_837a5115.txt",
                "content_type": "text/plain; charset=utf-8",
                "storage_bucket": "studio-cloud-1257633934",
                "storage_region": "ap-nanjing",
                "attachment_type": "proof",
                "storage_provider": "tencent_cos"
              }
            ],
            "idempotency_key": "callback-retest-988134e02880",
            "payee_subject_id": "sub_qianliyun",
            "applicant_subject_id": "sub_qianliyun",
            "default_owner_subject_id": "sub_wanwuyouling"
          }
        },
        "preview": {
          "ok": true,
          "intent": "record_reimbursement",
          "risk_flags": [
            "无发票"
          ],
          "will_create": [
            "intake_draft",
            "reimbursement_order",
            "reimbursement_item",
            "approval_instance?"
          ],
          "preview_text": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
          "human_summary": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
          "missing_fields": [],
          "commit_boundary": "审批或人工确认后才创建正式 reimbursement_order/reimbursement_item；付款发生后再用 fund_transaction + reimbursement_payment 核销。",
          "will_not_create_yet": [
            "fund_transaction",
            "reimbursement_payment"
          ]
        },
        "preview_text": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
        "human_summary": "本次将形成一条报销/个人垫付草稿，金额约 0.01 元，包含 1 条明细，关键字段已齐，可以进入确认/审批边界。",
        "risk_flags": [
          "无发票"
        ],
        "created_records": [
          {
            "id": "rmb_1780997254221_ec8eecd6",
            "type": "reimbursement_order",
            "order_no": "RB20260609-EC8EECD6"
          },
          {
            "id": "att_1780997254225_f582b522",
            "type": "attachment",
            "target_id": "rmb_1780997254221_ec8eecd6"
          },
          {
            "id": "rmi_1780997254226_682ebefb",
            "type": "reimbursement_item"
          },
          {
            "id": "att_1780997254228_fd6a3e59",
            "type": "attachment",
            "target_id": "rmi_1780997254226_682ebefb"
          }
        ],
        "created_by_agent": "finance-backend-postgresql",
        "operator_subject_id": null,
        "approval_instance_id": "E28AB56E-5CD0-4787-8C79-CE2EC6C0AD1B",
        "idempotency_key": "callback-retest-988134e02880",
        "created_at": "2026-06-09T09:27:31.449Z",
        "updated_at": "2026-06-09T09:27:35.257Z"
      },
      "order": {
        "id": "rmb_1780997254221_ec8eecd6",
        "order_no": "RB20260609-EC8EECD6",
        "applicant_subject_id": "sub_qianliyun",
        "payee_subject_id": "sub_qianliyun",
        "default_owner_subject_id": "sub_wanwuyouling",
        "status": "APPROVAL_PENDING",
        "total_amount": "0.01",
        "submitted_at": "2026-06-09T09:27:34.221Z",
        "approved_at": null,
        "source_draft_id": "drf_1780997251449_b1128701",
        "remark": "飞书审批回调自动同步复测 FEISHU_CALLBACK_RETEST_20260609_172725",
        "created_at": "2026-06-09T09:27:34.221Z",
        "updated_at": "2026-06-09T09:27:35.257Z",
        "approval_provider": "feishu",
        "approval_code": "04E7B2B1-DCD7-44E1-84DA-7590CDD3DFE1",
        "approval_instance_id": "E28AB56E-5CD0-4787-8C79-CE2EC6C0AD1B"
      },
      "status": "APPROVAL_PENDING"
    },
    "status": "APPROVAL_PENDING"
  }
}