sx_build_bill_payload
Assembles and validates bill data into Kingdee's official dataJsonStr for manual review, without sending any request.
Instructions
【只组装不发送】把单据 dict 校验并序列化成官方 dataJsonStr,供人工核对。
bill 形如: {"billFormId":"bdi_fillinworkinghours","billId":"0","billNo":"", "fields":[{"fType":"text","fKey":"billno","fValue":"..."}, {"fType":"bd","fFormId":"bdi_projectfile","fKey":"projectfiles","fValue":"..."}, {"fType":"entry","fKey":"entryworkinghours", "fEntities":[{"entryId":"0","entryFields":[...]}]}]} 本工具不调用任何接口,只读环境下也可放心使用。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bill": "<bill>"
},
"name": "sx_build_bill_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes |