DSH Plugins Marketplace

DSH Plugins

Plugins

/

Workflow & Automation

/

dsh-einvoice

d

dsh-einvoice

Manifest valid

Chinese e-invoice (OFD/XML) inbox: ingest, parse, deduplicate, queue for review, record receipts and archive locally — 10 `invoice.*` tools, nothing uploaded.

hasBundlePatch

dsh-einvoice

Official repository. The only official repository of this package, maintained by PerryLink. Same-name repositories under other accounts are not affiliated. Apache-2.0.

npm CI License dsh-plugin docs Gitee dshfind DSH Market Node npm downloads

File-level Chinese e-invoice (OFD/XML) ingest, parse, dedup and local archive.

Status: alpha / public-synthetic / partial / not counted / not GA. No customer evidence, customer data, or production-readiness claim.

English · 简体中文 · Español · Português · हिन्दी

dsh plugin --profile <profile> add dsh-einvoice

⭐ If this helps, a star makes it easier for the next person to find it. Nothing is gated behind it.

Workflow diagram for dsh-einvoice: local input, plugin, local output.

Workflow: local input → plugin → local output. No model call is required.

Real dsh-einvoice terminal output

Real local test run; no model or network call.

Install

Install and verify:

dsh plugin --profile <profile> add dsh-einvoice
dsh --profile <profile> --dump-config | grep dsh-einvoice

Uninstall:

dsh plugin --profile <profile> remove dsh-einvoice

Install channels

npm is the recommended channel; the others are for pinning or offline use.

  • npm (recommended): dsh plugin --profile <profile> add dsh-einvoice
  • git channel: dsh plugin --profile <profile> add github:PerryLink/dsh-einvoice
  • tarball: pnpm pack then dsh plugin --profile <profile> add ./dsh-einvoice-<version>.tgz
  • 1024 store: npm i -g dsh1024 then dsh1024 plugin --profile <profile> add dsh-einvoice

What it does

File-level Chinese e-invoice (OFD/XML) ingest, parse, dedup and local archive. Runs locally on DeepSeek Harness. The table below is the exact tool surface; the examples use the real command surface.

Input and output stay local; nothing is uploaded.

Tools

Tool names and descriptions are kept in English to match the runtime output.

ToolPurposeRisk
invoice.ingestIngest one local OFD/XML, compute SHA-256, store the original, idempotent by bytesR1 local write
invoice.parseParse old OFD Attachs/original_invoice.xml or 数电票 Tags/CustomTag.xml; return eight fields, lines, evidence and unknown fieldsR0
invoice.queryQuery the local pool by entity, period, lifecycle or textR0
invoice.dedupGroup duplicates by invoice number or seller + date + totalR0
invoice.review_queueQueue parsed invoices for manual local review; optional buyer-tax-id mismatch flagsR1 local write
invoice.record_receiptHash a local receipt, append it and move lifecycle; verification_source=local_receipt, tax_verified=falseR1 local write
invoice.redlinkBind a negative red invoice to its blue invoice and store deltasR1 local write
invoice.archiveBuild a manifest + originals + receipts ZIP under the local archive directoryR1 local write
invoice.checkVerify manifest/member hashes, missing files and traversalR0
invoice.restoreRestore a verified archive into the local restore rootR1 local write

Quick start

dsh plugin --profile <profile> add dsh-einvoice
dsh --profile <profile> --dump-config | grep dsh-einvoice

Examples

Fixture-backed example

Input: fixtures/public/mit/invoice-github-sample.xml

Command: pnpm test

Acceptance row:

req_idmetricthresholdactualpasssourcecounted
SKU-04-A01八字段完整率(S1 合成样本)>=0.981truepublic/syntheticfalse

This is a fixture-backed acceptance row, not a customer run; no output is invented.

Limits

  • Public/synthetic only; no customer data or customer evidence.
  • Alpha/partial, not counted, no GA or production-readiness claim.
  • No model or network call unless a tool explicitly says so.
  • The exact per-tool boundaries are in the table and ACCEPTANCE.csv.

Public sample

Public/synthetic fixtures live in fixtures/; ACCEPTANCE.csv records the public checks with counted=false.

Development

pnpm install --frozen-lockfile
pnpm build && pnpm lint && pnpm typecheck && pnpm test

Compatibility

SurfaceStatus
Harnessdsh >=0.2.1-rc.3 <0.3.0
Node>=24.9.0 <25
PlatformsAll; local files only
DataNo network, no model call, no upload

Permissions & data

  • Runs locally; no network, no model call, no upload.
  • Public/synthetic fixtures only; no customer data, no customer evidence.
  • Alpha/partial; not counted, no GA or production-readiness claim.

Related work

Sibling packages and family indexes: dsh-bankrec · dsh-ap-three-way · dsh-travel-recon · dsh-finops-suite

Related checkers

Each entry is a separate package with its own rule pack and version; install only the ones you need.

PackageWhy it is relevant
dsh-invoice-ledgerChecks the invoice ledger for duplicates, arithmetic, party and date anomalies after ingest.
dsh-excel-reconcileTwo-table reconciliation when the invoice pool must be compared with an external ledger.

Family

DSH domain plugin family (15 packages + 2 suites)
Packagenpm
dsh-einvoicenpm
dsh-docx-redlinenpm
dsh-policy-ledgernpm
dsh-ghgnpm
dsh-bankrecnpm
dsh-ap-three-waynpm
dsh-ifc-qtonpm
dsh-qms-capanpm
dsh-legal-intakenpm
dsh-legal-clausenpm
dsh-freight-auditnpm
dsh-hs-candidatenpm
dsh-travel-reconnpm
dsh-pim-lintnpm
dsh-eval-packnpm
dsh-finops-suitenpm
dsh-contract-suitenpm
Mainline family — 92 current install specs
Packagenpm
dsh-aqua-input-checknpm
dsh-archive-checknpm
dsh-bid-ca-prechecknpm
dsh-bid-qual-checknpm
dsh-contract-stancenpm
dsh-customs-doc-checknpm
dsh-demurrage-ledgernpm
dsh-drill-script-checknpm
dsh-eia-guide-checknpm
dsh-emergency-plannpm
dsh-essay-rubric-checknpm
dsh-evidence-checknpm
dsh-export-ctl-checknpm
dsh-fmea-table-checknpm
dsh-forecast-penaltynpm
dsh-gongwen-flow-checknpm
dsh-gongwen-word-checknpm
dsh-guard-plan-qcnpm
dsh-hazchem-checknpm
dsh-hazplan-checknpm
dsh-hidden-risk-mapnpm
dsh-hs-classifynpm
dsh-icd-rule-checknpm
dsh-lawcite-adapternpm
dsh-lc-doc-checknpm
dsh-learning-gap-checknpm
dsh-medrec-qcnpm
dsh-nsfc-form-checknpm
dsh-nurse-record-checknpm
dsh-origin-rvc-checknpm
dsh-ota-review-checknpm
dsh-paper-doc-adapternpm
dsh-permit-report-checknpm
dsh-pipeline-checknpm
dsh-pleading-draftnpm
dsh-policy-brief-draftnpm
dsh-power-loss-splitnpm
dsh-power-ticket-checknpm
dsh-ppap-checknpm
dsh-protest-deadlinenpm
dsh-railway-windownpm
dsh-repair-order-qcnpm
dsh-review-reply-checknpm
dsh-rulefile-checknpm
dsh-safety-brief-checknpm
dsh-site-log-checknpm
dsh-soe-decision-checknpm
dsh-soilwater-checknpm
dsh-sop-sync-checknpm
dsh-spc-gbt-adapternpm
dsh-tender-extractnpm
dsh-tender-matrixnpm
dsh-warranty-calcnpm
dsh-auto-reviewnpm
dsh-autotiernpm
dsh-budgetnpm
dsh-cert-mcpnpm
dsh-checkpoint-rewindnpm
dsh-claude-movenpm
dsh-clicknpm
dsh-composer-historynpm
dsh-data-qualitynpm
dsh-defendnpm
dsh-doublechecknpm
dsh-drawnpm
dsh-fastnpm
dsh-fund-researchnpm
dsh-industry-researchnpm
dsh-layanpm
dsh-librarynpm
dsh-local-ainpm
dsh-lsp-actionsnpm
dsh-masknpm
dsh-mcp-panelnpm
dsh-mementonpm
dsh-observenpm
dsh-output-stylesnpm
dsh-permission-rulesnpm
dsh-plugin-guidenpm
dsh-plugin-upgradenpm
dsh-reachnpm
dsh-research-reportnpm
dsh-scorenpm
dsh-session-syncnpm
dsh-talknpm
dsh-test-drivenpm
dsh-translatenpm
npm
npm
npm
npm
npm

License

Apache-2.0. See LICENSE, NOTICE, THIRD-PARTY-NOTICES.

Comments

Loading…

Similar plugins

dsh-invoice-tools

by 988hj7tczd-oss

Parse Chinese e-invoice PDFs (XML attachment first, text-layer regex fallback) into structured JSON with amount cross-check, and generate expense reports (Markdown / xlsx).

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

↓ 95/wk

MIT

TypeScript

Aug 24, 2026

dsh plugin --profile web add dsh-invoice-tools

by EthanYoQ

电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。

Tools & CapabilitiesManifest valid

★ 532

↓ 234/wk

Apache-2.0

Python

Sep 25, 2026

dsh plugin --profile agent add @ethanyoq/dsh-invoice-downloader

Hosted tool server over MCP: invoice and bank-statement extraction with in-code arithmetic checks, ledger reconciliation in integer cents, PDF and table conversion, SQL dialect transpiling, and mainla

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

dsh plugin --profile web add dsh-netcafe

dsh 插件:把复制粘贴的链接、图片、文本、账密收进本地仓库,自动分类,能在对话里检索取回

Terminal & ClientsMemory & ContextManifest valid

★ 1

MIT

TypeScript

dsh plugin --profile web add @chance722/dsh-inbox

by ROBOHAPPYIY

DSH bundle plugin: make internal reasoning user-reviewable and keep every user-facing explanation in Simplified Chinese. Injected into every session system prompt.

Manifest valid

★ 0

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-zh-review-guard

by fufengyuan

Nine consolidated tools that give agents full access to the stool ops CLI: server management, database query/redis, log search/tail, CI/CD deploy and history, MFA codes, git operations, notes, todos,

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 2

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add dsh-stool-plugin