PerryLink/dsh-lc-doc-check ↗★ 0
dsh-lc-doc-check
核对信用证单据种类、份数与期限 适合外贸单证员,用于核对信用证交单单据的自洽性。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-lc-doc-check說明文件
閱讀完整 README ↗Configuration
| Key | Type | Default | Description |
|---|---|---|---|
rulesFile | string | rules/lc-doc-check.yaml | Rule-pack path, relative to the package root |
disabledRules | string[] | [] | Rule ids to stop running; each appears in skipped |
onlyRules | string[] | [] | Run only these rule ids; empty runs every rule |
skipNotes | string | "" | Note appended to every skipped reason |
timeoutMs | number | 120000 | Cooperative tool timeout budget |
Rule-level parameters worth knowing:
LC-003/LC-004field/notAfterField— the date pair to compare. The expiry may live in the header; the reader looks in the row first and then the header, so a credit-wide expiry is found.LC-005values— your discrepancy vocabulary, e.g.[无不符点, 有不符点, 已接受, 已拒付]. Empty means no check.LC-007pattern— the currency shape, three upper-case letters by default.LC-008— document types must be unique. If your credit raises several requirements against one document type, distinguish the rows in the term-number column or disable the rule.