kingdee_create_and_audit
Automates the three-step process of saving, submitting, and auditing a Kingdee bill in a single call. Returns success or identifies the halted step with a recovery hint.
Instructions
一次性走完 Save → Submit → Audit 三步,避免 AI 漏掉中间步骤。
任意一步失败即停止(不自动重试),返回 halted_at 和 recovery_hint 告诉 AI 从哪里手动接手。失败日志按整体 op="create_and_audit" 记录一次(不会三倍膨胀)。
适用场景:明确要"一条龙"创建并使单据生效,没有中间审批/校验需求。 需要中间步骤校验时,请改用手工链路 kingdee_save_bill → kingdee_submit_bills → kingdee_audit_bills。
Returns: str: JSON。成功:success=true、halted_at=null、steps 三条均 success。 失败:success=false、halted_at 指出卡点、recovery_hint 给出下一步建议。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |