Files
syops/docs/features/accounting-voucher-check/README.md
T

20 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 立账凭证检核(accounting-voucher-check)
| 文档 | 读者 | 路径 |
| --- | --- | --- |
| **需求说明** | 产品、业务、测试 | [demand.md](demand.md) |
| **技术设计** | 研发 | [technical-design.md](technical-design.md) |
| **技术规格** | 研发、测试 | [technical.md](technical.md) |
| **原型** | 产品、业务、测试 | [accounting-voucher-check-prototype.html](accounting-voucher-check-prototype.html) · [说明](accounting-voucher-check-prototype.md) · [最近一次检核卡片](accounting-voucher-check-latest-run-prototype.html) · [终态布局效果图](accounting-voucher-check-latest-run-layout-options.html) · [公共选人弹窗](user-picker-dialog-prototype.html)(已落地 `frontend/src/shared/components/UserPickerDialog.vue`) |
| **部署验收清单** | 运维、研发 | [ops-checklist.md](ops-checklist.md) |
| **PO 制式 PDF 样张 JSON** | 研发 | [po-order-sample.json](po-order-sample.json) · 入口 `python -m app.services.voucher_check.po_order --out-dir DIR --json FILE` |
| **ERP 采购单取数表字段** | 研发 | [technical-design.md §3.4](technical-design.md)(发票 HXJM、采购单 TGHX;`TRIM(oma99)=TRIM(pmm99)`;独立抓取已接线) |
| **OA 销货放行单(E10)** | 研发 | [oa-sales-release-e10.md](oa-sales-release-e10.md):`ft_xqqgsq` + OpenAPI `attList`/`download`;独立周批周二 05:30 已接线 |
**定位**:以业务方 Profile 驱动的批量资料检核;**每周二**增量处理上一个自然月。销售开票附件先落入文档库类型目录,再按 `invoice` 归入「所有归档」。
**要解决的问题**:不同业务方从 ERP、OA、固定目录等来源获取不同必检资料,统一检核、归档、汇总缺件并通知。
**检核内容**:只做必检文件的获取、存在性和归档结果;不做文件内容解析或金额、供应商等字段一致性核对。
**结果输出**:每批生成 Excel,区分缺件文件总数和缺件 `invoice` 数;企业微信按文件类型接收人拆成每人一封,完整明细以 Excel 与执行记录为准。
**状态**:销售一期需求以 [demand.md](demand.md) 为准;查询入口为 Chat builtin Agent「立账凭证」。采购二期及其它业务方通过新增 Profile 扩展。周任务已切到文档库引擎;旧共享盘扫描、Chatflow Tool 与一票一状态表已移除。PO 制式 PDF 由周二 05:00 独立排程生成并上传;销货放行单 PDF 由周二 05:30 独立排程从 E10 拉取并上传;06:00 检核只扫描目录。