PerryLink/dsh-customs-doc-check ↗★ 0
dsh-customs-doc-check
报关单证一致性核对(按公开的报关单填制规范核对单证间字段一致性,仅提示差异,不作出定性结论) 适合跨境贸易与报关业务,按填制规范核对单证间字段一致性并提示差异。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-customs-doc-checkREADME
Read the full README ↗Configuration
| Key | Type | Default | Description |
|---|---|---|---|
rulesFile | string | rules/customs-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:
CD-002pattern— the commodity-code shape; the default demands ten digits. Change it when the tariff changes its digit count.CD-003pattern— 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-005relation— the comparison between gross and net weight,gteby default.CD-007terms— the placeholders to look for.