Files
syops/docs/features/accounting-voucher-check/README.md
T
sophie 9bcbf9d211 fix(contract): 优化合同审核方案
(cherry picked from commit bdb2c3113efe87604244a24258cd973955dce544)
2026-08-05 10:20:31 +08:00

18 lines
1.8 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)
| 文档 | 读者 | 路径 |
| --- | --- | --- |
| **需求与规格手册** | 产品、业务、测试 | [technical.md](technical.md) |
| **技术设计** | 研发、Dify、运维、测试 | [technical-design.md](technical-design.md) |
| **交互原型** | 产品、业务、测试 | [../../prototype/accounting-voucher-check-prototype.html](../../prototype/accounting-voucher-check-prototype.html) |
| **原型速览** | 产品、测试 | [../../prototype/accounting-voucher-check-prototype.md](../../prototype/accounting-voucher-check-prototype.md) |
**定位**:以企业 AI 工作台**对话为主入口**,**日批为主、会话可手动触发**。
**要解决的问题**:审计/复核时按发票号**快速确认共享盘配套资料在不在**(核价叫、采购单等)。
**检核内容**:只做必检材料**存在性 / 齐全性**;**不核对**金额、供应商等与 ERP 是否吻合。ERP **仅用于**取当月发票号清单。
**其它**:单票状态落 **HXOPS 库**(齐全且材料未变更可跳过);缺资料推企微 textcard;**不回写 ERP、不要求 ERP 终审**。
**实现规格(technical Part2)**:共享盘默认目录 `vouche/{YYYY}/{MM}/{invoice_no}/`,目录模板可配置;日批按 `apa09` 取**当前自然月发票清单**,仅处理 HXJM 套账,再按可配置文件名检查文件是否存在。文件内容不读取、不使用 LLM;共享盘不可用时整批失败并告警。ERP 已可连;凭据仅 env。
**状态**:业务需求、实现规格与技术设计已整理;默认必检文件为“核价叫.pdf”和“采购单.pdf”,文件名仍由配置维护。进入研发前仍需确认 `apa42` 作废码的有效值,以及 ERP 红冲、取消的实际字段和值。