weaver-work-cli 0.1.60 → 0.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{archive-4SQAVTIB.js → archive-S2VKZWQ3.js} +2 -2
- package/dist/chunks/{archive-oa-W2UEJ67L.js → archive-oa-HEDSIUUY.js} +2 -2
- package/dist/chunks/{asset-EGZEABBI.js → asset-HYH4W357.js} +2 -2
- package/dist/chunks/{asset-idle-EBUZBB6M.js → asset-idle-N7REBNGL.js} +2 -2
- package/dist/chunks/{attachment-content-I6WHKGR2.js → attachment-content-VYYA75FR.js} +3 -3
- package/dist/chunks/{blog-2YKMWOWI.js → blog-SLMZZICV.js} +2 -2
- package/dist/chunks/{caizhilian-5NM4X5HG.js → caizhilian-RV43KKBT.js} +4 -4
- package/dist/chunks/{calendar-H4QTJCUY.js → calendar-DMVZ4OLY.js} +2 -2
- package/dist/chunks/{chunk-VLL6JOB4.js → chunk-6XSSAUNW.js} +4 -4
- package/dist/chunks/{chunk-VQWPQTEY.js → chunk-BIA2NKUG.js} +4 -4
- package/dist/chunks/{chunk-VMCCRWFO.js → chunk-BQYX2UX5.js} +2 -2
- package/dist/chunks/{chunk-XF7S6FQW.js → chunk-DTCQFTHW.js} +1 -1
- package/dist/chunks/{chunk-CPG6NLN4.js → chunk-E5YD5JWR.js} +1 -1
- package/dist/chunks/{chunk-PH7N4UFT.js → chunk-EGANE35F.js} +1 -1
- package/dist/chunks/{chunk-Z4IPY5GV.js → chunk-H6YOMI3U.js} +2 -2
- package/dist/chunks/{chunk-HHH4K3YY.js → chunk-ILALC2N6.js} +1 -1
- package/dist/chunks/{chunk-WINR2Q6K.js → chunk-KXJA42EA.js} +86 -19
- package/dist/chunks/{chunk-CQ4OVCKG.js → chunk-KY3R42RS.js} +2 -2
- package/dist/chunks/{chunk-WVH5ESDA.js → chunk-NRYDJN4J.js} +1 -1
- package/dist/chunks/{chunk-TGM7BWEH.js → chunk-P6TXQK75.js} +2 -2
- package/dist/chunks/{chunk-6YWHRXEQ.js → chunk-QBDXJS2W.js} +119 -9
- package/dist/chunks/{chunk-2IGZUMNG.js → chunk-SHX7XBYR.js} +180 -18
- package/dist/chunks/{chunk-P7RXQDCA.js → chunk-T2KVJFWJ.js} +4 -4
- package/dist/chunks/{chunk-FMNCSYIG.js → chunk-TEZHIB6T.js} +2 -2
- package/dist/chunks/{chunk-HMIIVM2L.js → chunk-UBGWIXU3.js} +97 -45
- package/dist/chunks/{chunk-5N222HK6.js → chunk-UBRWONP4.js} +2 -2
- package/dist/chunks/{chunk-7U5YHCW7.js → chunk-UQFPF4EX.js} +2 -2
- package/dist/chunks/{chunk-4GG72JAT.js → chunk-V2LASYKO.js} +2 -2
- package/dist/chunks/{chunk-BDBTZVYA.js → chunk-VBFBMM7G.js} +55 -55
- package/dist/chunks/{chunk-YHSOCGKO.js → chunk-VNYOUAWV.js} +11 -11
- package/dist/chunks/{chunk-SFM3M2L3.js → chunk-WIWDVETN.js} +19 -3
- package/dist/chunks/{chunk-44KJ7WFA.js → chunk-XT77MP54.js} +2 -2
- package/dist/chunks/{chunk-JFKMPRZB.js → chunk-YI2YMW5N.js} +50 -3
- package/dist/chunks/{conflict-QMDLS2EW.js → conflict-GFJRS6I7.js} +2 -2
- package/dist/chunks/{contract-LLRKMLQQ.js → contract-U3ZGNRWB.js} +2 -2
- package/dist/chunks/{cowork-2RDFBZWB.js → cowork-EX7PKIDK.js} +2 -2
- package/dist/chunks/{create-flow-5ODJ7WJO.js → create-flow-EJZD434E.js} +6 -6
- package/dist/chunks/{data-LVDFIRNG.js → data-FOODGAMF.js} +278 -121
- package/dist/chunks/{ebuilder-form-7WA6X6ZI.js → ebuilder-form-I2EOKODG.js} +3 -3
- package/dist/chunks/{ehr-52GBKNJR.js → ehr-TE4RFNID.js} +2 -2
- package/dist/chunks/{entry-mode-73BJML22.js → entry-mode-ZOLSXEGX.js} +9 -5
- package/dist/chunks/{env-OHFS76HV.js → env-TID5NFR6.js} +2 -2
- package/dist/chunks/{esb-HJSXCEOM.js → esb-7L6MHYLB.js} +4 -4
- package/dist/chunks/{factory-FRTA2LP4.js → factory-OG7BPMH5.js} +1 -1
- package/dist/chunks/{fna-OBACRT3J.js → fna-6V2ENR3Y.js} +2 -2
- package/dist/chunks/{group-chat-KBFRPCR2.js → group-chat-5DKPWIHL.js} +3 -3
- package/dist/chunks/{host-TTSGY5NZ.js → host-3DLYA54R.js} +3 -3
- package/dist/chunks/{host-KJT3G5D2.js → host-GOJHHTPY.js} +3 -3
- package/dist/chunks/{host-KOWUMNAY.js → host-OGBHL75G.js} +3 -3
- package/dist/chunks/{host-MFXRA2MY.js → host-ONZC6AE7.js} +3 -3
- package/dist/chunks/{host-W4JCNRFS.js → host-TJ5VVHM7.js} +3 -3
- package/dist/chunks/{host-2BKMPWDH.js → host-VTPAWDZV.js} +3 -3
- package/dist/chunks/{hrm-AK3WGBMN.js → hrm-2N7NFQDZ.js} +3 -3
- package/dist/chunks/{im-JZSBPO4Z.js → im-XCH47ZBN.js} +3 -3
- package/dist/chunks/{invoice-6XDMPCWB.js → invoice-5KJ7T774.js} +198 -331
- package/dist/chunks/{jiuchuanhui-K4EQU6GK.js → jiuchuanhui-PL6DRPBM.js} +2 -2
- package/dist/chunks/{lazy-dispatch-GCA6HDOB.js → lazy-dispatch-UATEN7H7.js} +5 -5
- package/dist/chunks/{mail-IKVCQCVZ.js → mail-Q7Z4CQ4D.js} +2 -2
- package/dist/chunks/{meeting-ARHVWK7G.js → meeting-5E3BNARL.js} +13 -13
- package/dist/chunks/{minute-doc-547KSYKR.js → minute-doc-NXRE5C77.js} +4 -4
- package/dist/chunks/{okr-KV43FPPX.js → okr-3O3XNYOK.js} +2 -2
- package/dist/chunks/{operations-6NXJ7RTE.js → operations-EZWG72FH.js} +4 -4
- package/dist/chunks/performance-Y7CPNSOR.js +1295 -0
- package/dist/chunks/{plan-WOYR4WEG.js → plan-BLGPZF5M.js} +2 -2
- package/dist/chunks/{project-CQJKBUIL.js → project-6MZMLJMP.js} +2 -2
- package/dist/chunks/{reception-MPBU3JXC.js → reception-F2VT2X52.js} +2 -2
- package/dist/chunks/{recruit-stage-USTTRHOX.js → recruit-stage-4ETIBMIW.js} +2 -2
- package/dist/chunks/{registry-GURQG4ZV.js → registry-3FYSWV3U.js} +3 -3
- package/dist/chunks/{registry-SS5J2FZQ.js → registry-7RS74TCK.js} +4 -4
- package/dist/chunks/{registry-H5HQ5QNH.js → registry-I4DVPDMU.js} +11 -11
- package/dist/chunks/{room-recommend-3UBROMZE.js → room-recommend-GWCVKCXW.js} +4 -4
- package/dist/chunks/{schedule-FTUQML6O.js → schedule-6AN63MJQ.js} +4 -4
- package/dist/chunks/{smart-extract-APX2PNIN.js → smart-extract-SR4SJJKN.js} +3 -3
- package/dist/chunks/{workflow-WMPW3WSB.js → workflow-KF7FA2UQ.js} +7 -7
- package/dist/cmd/refs/index.js +124 -4
- package/dist/core/output.js +199 -26
- package/dist/core/refs.js +36 -0
- package/dist/index.js +38 -33
- package/dist/internal/e10/auth/xiaoe.js +25 -3
- package/dist/shortcuts/caizhilian/operations/files.js +86 -15
- package/dist/shortcuts/data/index.js +12 -2
- package/dist/shortcuts/data/manifest.js +4 -2
- package/dist/shortcuts/data/operations/attribution.js +229 -0
- package/dist/shortcuts/data/operations/ds.js +87 -90
- package/dist/shortcuts/data/operations/index.js +3 -1
- package/dist/shortcuts/index.js +5 -0
- package/dist/shortcuts/invoice/manifest.js +30 -62
- package/dist/shortcuts/invoice/operations/registry.js +2 -2
- package/dist/shortcuts/invoice/operations/reim-customer.js +111 -0
- package/dist/shortcuts/invoice/operations/shared.js +0 -204
- package/dist/shortcuts/meeting/operations/eb/create-flow.js +84 -16
- package/dist/shortcuts/meeting/operations/eb/entry-mode.js +61 -7
- package/dist/shortcuts/performance/continuation.js +74 -0
- package/dist/shortcuts/performance/errors.js +65 -0
- package/dist/shortcuts/performance/host.js +105 -0
- package/dist/shortcuts/performance/index.js +109 -0
- package/dist/shortcuts/performance/manifest.js +30 -0
- package/dist/shortcuts/performance/operations/hrm-resolve.js +114 -0
- package/dist/shortcuts/performance/operations/registry.js +44 -0
- package/dist/shortcuts/performance/operations/scheme-detail.js +70 -0
- package/dist/shortcuts/performance/operations/scheme-draft.js +116 -0
- package/dist/shortcuts/performance/operations/scheme-publish.js +158 -0
- package/dist/shortcuts/performance/operations/types.js +32 -0
- package/dist/shortcuts/performance/scheme-validate.js +307 -0
- package/dist/shortcuts/performance/shared.js +158 -0
- package/docs/agent-invoice.md +1 -1
- package/docs/agent-io-channel-design.md +67 -3
- package/docs/data.md +2 -1
- package/docs/invoice.md +0 -2
- package/package.json +1 -1
- package/scripts/xiaoe_env.py +6 -1
- package/skill-template/business-info.json +19 -0
- package/skill-template/domains/performance.md +18 -0
- package/skill-template/domains/yepiaotong.md +0 -1
- package/skills/weaver-e10-caizhilian/SKILL.md +1 -1
- package/skills/weaver-e10-data/references/datasource.md +2 -1
- package/skills/weaver-e10-meeting/SKILL.md +5 -3
- package/skills/weaver-e10-performance/SKILL.md +202 -0
- package/skills/weaver-e10-performance/agents/openai.yaml +74 -0
- package/skills/weaver-e10-performance/references/default-assembly.md +108 -0
- package/skills/weaver-e10-performance/references/entity-resolution.md +69 -0
- package/skills/weaver-e10-performance/references/enums-and-normalization.md +80 -0
- package/skills/weaver-e10-performance/references/examples.md +146 -0
- package/skills/weaver-e10-performance/references/extraction-guide.md +144 -0
- package/skills/weaver-e10-performance/references/scheme-edit-req-fields.md +185 -0
- package/skills/weaver-e10-performance/references/scheme-setting-page.md +62 -0
- package/skills/weaver-e10-performance/scripts/parse_appraisal_doc.py +483 -0
- package/skills/weaver-e10-shared/references/json-output-contract.md +5 -0
- package/skills/weaver-e10-yepiaotong/SKILL.md +16 -9
- package/skills/weaver-e10-yepiaotong/references/invoice-reim-relation.md +9 -7
- package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +15 -11
- package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +29 -25
- package/skills/weaver-e10-yepiaotong/references/reim-customer-search.md +89 -0
- package/skills/weaver-e10-yepiaotong/references/reim-examples.md +35 -37
- package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +66 -63
- package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +50 -71
- package/skills/weaver-e10-yepiaotong/references/source-manifest.json +34 -95
- package/dist/shortcuts/invoice/operations/browse-field.js +0 -17
- package/skills/weaver-e10-yepiaotong/references/invoice-browse-field-data.md +0 -204
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
# 发票浏览按钮字段数据
|
|
2
|
-
|
|
3
|
-
## 什么时候读取
|
|
4
|
-
|
|
5
|
-
用户要把业票通发票填入 E10 流程表单的发票浏览按钮控件,或要求"生成发票字段结构化数据""流程填单发票对象数据"时读取本文件。
|
|
6
|
-
|
|
7
|
-
## Operation
|
|
8
|
-
|
|
9
|
-
| Operation | 风险 | 输入 |
|
|
10
|
-
| --- | --- | --- |
|
|
11
|
-
| `invoice.browse-field.data` | read | `fid`、`fids` 或已取得的 `detail` 响应三选一 |
|
|
12
|
-
|
|
13
|
-
## 业务用途
|
|
14
|
-
|
|
15
|
-
E10 流程填单时,发票字段使用浏览按钮控件,填值必须传入包含完整票面信息的 JSON 对象,不能传简单文本。CLI 根据 `fid` 自动完成详情查询和 JSON 转换。
|
|
16
|
-
|
|
17
|
-
## 命令
|
|
18
|
-
|
|
19
|
-
Windows PowerShell:
|
|
20
|
-
|
|
21
|
-
```powershell
|
|
22
|
-
weaver-work-cli --json invoice run invoice.browse-field.data --input-json '{"fid":"12345"}'
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
macOS/Linux(bash/zsh):
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
weaver-work-cli --json invoice run invoice.browse-field.data --input-json '{"fid":"12345"}'
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
多张发票:
|
|
32
|
-
|
|
33
|
-
Windows PowerShell:
|
|
34
|
-
|
|
35
|
-
```powershell
|
|
36
|
-
weaver-work-cli --json invoice run invoice.browse-field.data --input-json '{"fids":["12345","67890"]}'
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
macOS/Linux(bash/zsh):
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
weaver-work-cli --json invoice run invoice.browse-field.data --input-json '{"fids":["12345","67890"]}'
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## 目标 JSON 结构
|
|
46
|
-
|
|
47
|
-
下表定义每个发票对象的字段。`D` 代指发票详情响应中的 `infos[].info`。
|
|
48
|
-
|
|
49
|
-
| 键 | 类型 | 来源 | 说明 |
|
|
50
|
-
|---|---|---|---|
|
|
51
|
-
| `optionId` / `id` / `fid` | string | `D.fid` | 三者取相同值,发票唯一标识。 |
|
|
52
|
-
| `type` | integer | `D.comm_info.pro.type` | 票种编码。 |
|
|
53
|
-
| `typeName` | string | `D.comm_info.pro.cname`;缺失时按 `type` 查[票种名称表](#票种编码与名称) | 票种中文名称。 |
|
|
54
|
-
| `number` | string | `D.number` | 发票号码。 |
|
|
55
|
-
| `code` | string | `D.code` | 发票代码;无代码票种取空串。 |
|
|
56
|
-
| `content` / `name` | string | `"{typeName}-{number}"` 拼接 | 显示用摘要,两者取相同值。 |
|
|
57
|
-
| `total` | string | `D.comm_info.price.total` | 价税合计,单位元。 |
|
|
58
|
-
| `ttax` | string | `D.ext` → `ttax` | 票面税额。 |
|
|
59
|
-
| `seller` | string | `D.comm_info.payer.company` | 销售方名称。 |
|
|
60
|
-
| `sellerId` | string | `D.comm_info.payer.tcode` | 销售方税号。 |
|
|
61
|
-
| `buyer` | string | `D.comm_info.buyer.company` | 购买方名称。 |
|
|
62
|
-
| `buyerId` | string | `D.comm_info.buyer.tcode` | 购买方税号。 |
|
|
63
|
-
| `incDate` | string | `D.comm_info.pro.date` | 开票日期 `yyyy-MM-dd`。 |
|
|
64
|
-
| `incDateTimestamp` | integer | `incDate` 转 UTC+8 零时毫秒时间戳 | 空时取 `0`。 |
|
|
65
|
-
| `validStatus` | string | `D.comm_info.pro.valid` 查[查验状态表](#查验状态) | 查验状态文本。 |
|
|
66
|
-
| `source` | string | `D.modify_info.source` 查[录入来源表](#录入来源) | 录入来源文本。 |
|
|
67
|
-
| `invoiceStatus` | integer | `D.comm_info.pro.status` | 发票状态;`0` 正常。 |
|
|
68
|
-
| `del` | integer | `D.modify_info.del` | 删除状态;`0` 正常。 |
|
|
69
|
-
| `currency` / `currencyName` | string | `D.currency` / `D.currencyName` | 默认 `"CNY"` / `"人民币"`。 |
|
|
70
|
-
| `taxRate` | string | `D.ext` → `taxRate` 或 `products[0].taxRate` | 税率,如 `"13.000"`。 |
|
|
71
|
-
| `consumeContent` | string | `D.ext` → `products` 各项 `productName` 拼接 | 消费内容。 |
|
|
72
|
-
| `fylx` | string | `D.fylx` | 费用类型 ID;缺失取 `"0"`。 |
|
|
73
|
-
| `inputDate` | string | `D.modify_info.createDate` | 录入日期 `yyyy-MM-dd HH:mm:ss`。 |
|
|
74
|
-
| `incTotal` | integer | 固定 `0` | 预留字段。 |
|
|
75
|
-
| `reimingMoney` | string | `D.comm_info.price.reimingMoney` | 报销中金额;缺失取空串。 |
|
|
76
|
-
| `reimedMoney` | string | `D.comm_info.price.reimedMoney` | 已报销金额;缺失取空串。 |
|
|
77
|
-
| `notReimMoney` | string | `total - reimedMoney - reimingMoney` | 无报销数据时等于 `total`。 |
|
|
78
|
-
| `reimDate` | string | 报销日期 | 缺失取空串。 |
|
|
79
|
-
| `reimProcess` | string | 报销流程 ID | 缺失取空串。 |
|
|
80
|
-
|
|
81
|
-
缺失字段统一按类型填充:字符串用空串 `""`,数值用 `0`。
|
|
82
|
-
|
|
83
|
-
## 枚举映射表
|
|
84
|
-
|
|
85
|
-
### 票种编码与名称
|
|
86
|
-
|
|
87
|
-
优先使用详情响应中的 `cname`。仅当 `cname` 缺失时按以下表查找。
|
|
88
|
-
|
|
89
|
-
| `type` | `typeName` |
|
|
90
|
-
|---:|---|
|
|
91
|
-
| 1 | 增值税专用发票 |
|
|
92
|
-
| 2 | 增值税普通发票 |
|
|
93
|
-
| 3 | 增值税电子普通发票 |
|
|
94
|
-
| 4 | 卷式发票 |
|
|
95
|
-
| 5 | 通行费增值税电子普通发票 |
|
|
96
|
-
| 6 | 机动车销售统一发票 |
|
|
97
|
-
| 7 | 定额发票 |
|
|
98
|
-
| 8 | 客运汽车票 |
|
|
99
|
-
| 9 | 航空运输电子客票行程单 |
|
|
100
|
-
| 10 | 火车票 |
|
|
101
|
-
| 11 | 出租车票 |
|
|
102
|
-
| 12 | 其他 |
|
|
103
|
-
| 13 | 汽车通行费发票 |
|
|
104
|
-
| 14 | 船票 |
|
|
105
|
-
| 22 | 二手车销售统一发票 |
|
|
106
|
-
| 28 | 增值税电子专用发票 |
|
|
107
|
-
| 32 | 电子发票(增值税专用发票) |
|
|
108
|
-
| 33 | 电子发票(普通发票) |
|
|
109
|
-
| 47 | 医疗收费票据 |
|
|
110
|
-
| 48 | 财政非税收入统一票据 |
|
|
111
|
-
| 49 | 海关进口增值税专用缴款书 |
|
|
112
|
-
| 50 | 电子发票服务平台纸质普票 |
|
|
113
|
-
| 52 | 完税凭证 |
|
|
114
|
-
| 53 | 国际小票 |
|
|
115
|
-
| 54 | 银行回单 |
|
|
116
|
-
| 56 | 代扣代缴税收缴款凭证 |
|
|
117
|
-
|
|
118
|
-
未匹配的 `type` 使用 `"未知票种"`。
|
|
119
|
-
|
|
120
|
-
### 查验状态
|
|
121
|
-
|
|
122
|
-
| `valid` | `validStatus` |
|
|
123
|
-
|---:|---|
|
|
124
|
-
| 0 | 未查验 |
|
|
125
|
-
| 1 | 有效已查验 |
|
|
126
|
-
| 2 | 有效未查验 |
|
|
127
|
-
| 3 | 查验失败 |
|
|
128
|
-
| 4 | 发票无效 |
|
|
129
|
-
| 5 | 票面校验不一致 |
|
|
130
|
-
|
|
131
|
-
### 录入来源
|
|
132
|
-
|
|
133
|
-
| `source` | 文本 |
|
|
134
|
-
|---:|---|
|
|
135
|
-
| 1 | 微信 |
|
|
136
|
-
| 2 | 支付宝 |
|
|
137
|
-
| 4 | 邮箱 |
|
|
138
|
-
| 5 | 拍照 |
|
|
139
|
-
| 6 | 扫码 |
|
|
140
|
-
| 7 | 手动 |
|
|
141
|
-
| 9 | 查验录入 |
|
|
142
|
-
| 10 | 企业微信 |
|
|
143
|
-
| 11 | 公众号 |
|
|
144
|
-
| 12 | 企业台账 |
|
|
145
|
-
| 13 | 文件 |
|
|
146
|
-
| 14 | Excel |
|
|
147
|
-
| 15 | 短信 |
|
|
148
|
-
| 16 | 链接录入 |
|
|
149
|
-
|
|
150
|
-
未匹配的 `source` 使用空串。
|
|
151
|
-
|
|
152
|
-
## 输出示例
|
|
153
|
-
|
|
154
|
-
```json
|
|
155
|
-
{
|
|
156
|
-
"optionId": "1307869223054704650",
|
|
157
|
-
"id": "1307869223054704650",
|
|
158
|
-
"fid": "1307869223054704650",
|
|
159
|
-
"type": 32,
|
|
160
|
-
"typeName": "电子发票(增值税专用发票)",
|
|
161
|
-
"number": "26932000001429154341",
|
|
162
|
-
"code": "",
|
|
163
|
-
"content": "电子发票(增值税专用发票)-26932000001429154341",
|
|
164
|
-
"name": "电子发票(增值税专用发票)-26932000001429154341",
|
|
165
|
-
"total": "368269.14",
|
|
166
|
-
"ttax": "42367.25",
|
|
167
|
-
"seller": "宁波市北仑亮峰精密机械制造有限公司",
|
|
168
|
-
"sellerId": "91330206744967935K",
|
|
169
|
-
"buyer": "宁波海伯集团有限公司",
|
|
170
|
-
"buyerId": "913302041443146316",
|
|
171
|
-
"incDate": "2026-08-25",
|
|
172
|
-
"incDateTimestamp": 1787587200000,
|
|
173
|
-
"validStatus": "有效已查验",
|
|
174
|
-
"source": "邮箱",
|
|
175
|
-
"invoiceStatus": 0,
|
|
176
|
-
"del": 0,
|
|
177
|
-
"currency": "CNY",
|
|
178
|
-
"currencyName": "人民币",
|
|
179
|
-
"taxRate": "13.000",
|
|
180
|
-
"consumeContent": "*金属制品*主齿轮",
|
|
181
|
-
"fylx": "0",
|
|
182
|
-
"inputDate": "2026-08-26 10:40:33",
|
|
183
|
-
"incTotal": 0,
|
|
184
|
-
"reimingMoney": "",
|
|
185
|
-
"reimedMoney": "",
|
|
186
|
-
"notReimMoney": "368269.14",
|
|
187
|
-
"reimDate": "",
|
|
188
|
-
"reimProcess": ""
|
|
189
|
-
}
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
## 输出处理
|
|
193
|
-
|
|
194
|
-
成功时 `data.items` 是浏览按钮可用对象数组。如果批量详情中有部分发票失败,operation 返回 `meta.status="PARTIAL"`,成功项仍在 `data.items`,失败项在 `data.errors`。Agent 回复用户时只展示成功数量、失败数量和关键发票字段;不要粘贴完整大 JSON。
|
|
195
|
-
|
|
196
|
-
## 边界与错误处理
|
|
197
|
-
|
|
198
|
-
- 详情查询固定 `mask=0`、`userFlag=1`、`isDelFlag=1`。
|
|
199
|
-
- `ext` 为 JSON 字符串,解析失败时 `ttax`、`taxRate`、`consumeContent` 取空串,不中断记录生成。
|
|
200
|
-
- 批量 fid 中部分查询失败时,成功项正常输出,失败项出现在 `errors` 数组中。
|
|
201
|
-
|
|
202
|
-
## 注意
|
|
203
|
-
|
|
204
|
-
该 operation 由 CLI 封装,Agent 只需调用 `invoice.browse-field.data` 或 `invoice.get`,不能直接 `curl` E10 接口,也不需要运行旧源码里的 Python 脚本。
|