PerryLink/dsh-customs-doc-check ↗★ 0

dsh-customs-doc-check

报关单证字段一致性与规范核对工具 适合跨境贸易与报关业务,按填制规范核对单证间字段一致性并提示差异。

包名
dsh-customs-doc-check
兼容性
待验证
Harness 依赖范围
>=0.1.2-rc.1 <0.2.0 || >=0.2.0-0 <0.3.0
Cordis 依赖范围
^4.0.2
版本
0.2.1
许可证
NOASSERTION
最近更新
2026年10月8日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-customs-doc-check

Configuration

KeyTypeDefaultDescription
rulesFilestringrules/customs-doc-check.yamlRule-pack path, relative to the package root
disabledRulesstring[][]Rule ids to stop running; each appears in skipped
onlyRulesstring[][]Run only these rule ids; empty runs every rule
skipNotesstring""Note appended to every skipped reason
timeoutMsnumber120000Cooperative tool timeout budget

Rule-level parameters worth knowing:

  • CD-002 pattern — the commodity-code shape; the default demands ten digits. Change it when the tariff changes its digit count.
  • CD-003 pattern — the currency shape; the default demands three upper-case letters. Tighten it to one spelling of the local currency if your house style fixes one.
  • CD-005 relation — the comparison between gross and net weight, gte by default.
  • CD-007 terms — the placeholders to look for.