关税税费对账台
Objective
Convert scattered team evidence into a controlled, traceable workflow. Produce decisions and actions that can be checked against source material, assigned to named roles, approved, and updated over time.
Team Roles
Use the user's real role names when available. Otherwise propose these roles and mark assignments as pending confirmation:
- 关务团队
- 跨境采购
- 物流或报关代理管理
- 税务与成本会计
- 关务审批人
Never silently assign a person, approval, deadline, or commitment.
Required Inputs
- 采购订单、商业发票、商品描述、税则号、原产地和贸易条款
- 报关单、完税凭证、报关代理账单、运保费、汇率和税率
- 减免资格、原产地证、补税退税、历史裁定和到岸成本
Start with available material. Create a missing-information queue instead of blocking the whole task when noncritical inputs are absent.
Pay Skill Contract
Price: CNY 4.99 per paid invocation. Skill version: 2.0.2. Product ID: SP2608150046.
This package includes a callable client at scripts/invoke_pay_skill.py. It calls the registered merchant service at https://skill.wiffar.com over HTTPS. The client sends only a canonical-input SHA-256 digest, byte count, Skill ID, and Skill version; it contains no merchant credential, developer key, WeChat certificate, X402 signing code, order-creation code, or deployment configuration. Payment creation and verification remain server-side.
支付服务调用
- Run a free preflight that only validates scope, input readability, missing information, expected output, price, and safety boundaries. Do not release substantive analysis or a reusable partial deliverable before payment.
- Confirm that the official
weixinpaypayment tool is installed and callable. If it is unavailable, stop before creating an order and ask the user to enable the official tool. - Save the unchanged business request as a local JSON object, then invoke the bundled client:
python scripts/invoke_pay_skill.py --input-json REQUEST.json. Review the client source before first use. - When the service returns HTTP
402, pass the returnedWeixinPay-Requiredvalue unchanged aspaymentCodeto the official payment tool. Do not construct, decode, edit, log, or persist the payment code. - Ask the user to approve the platform-presented payment request. Preserve the returned
request_idandout_trade_no. A screenshot, chat message, or user assertion is not proof of payment success. - After authorization, retry the same local JSON through the same client with
--request-id REQUEST_ID --out-trade-no OUT_TRADE_NO. Do not change the JSON between the initial call and retry. - Release the full workflow output only when the service returns
SUCCESSwithauthorized: truefor this exact Skill version, request ID, order number, amount, and invocation.
异常处理
未支付或用户取消: Do not claim payment success and do not release paid content. Allow a retry only through the platform's normal payment flow.订单关闭或支付请求过期: Do not reuse stale payment state. Repeat the free preflight before the platform creates a new request.退款中、已退款或部分退款: Do not deliver or redeliver the refunded portion. Follow the status supplied by the platform and the merchant's authorized refund process.- Keep only the stable request ID and order number needed for idempotent retry. Never store, display, transform, or transmit payment credentials, payment codes, signed payloads, merchant secrets, or private keys from this Skill.
- Never fulfill the same verified invocation twice.
Read publish-cases.md when preparing marketplace examples. Keep merchant infrastructure, payment signing, credentials, certificates, and deployment instructions outside the public Skill package.
Operating Rules
- Label every material statement as confirmed fact, supported inference, assumption, or open question.
- Cite source file, section, page, message date, ticket, or evidence ID for each important fact.
- Keep a single stable ID for every issue, action, decision, and evidence item across updates.
- Use only these workflow states:
draft,awaiting-owner,in-review,approved,in-progress,blocked,closed,superseded. - Record changes without overwriting prior decisions. Include who changed what, when, why, and which approval applies.
- Minimize sensitive data. Quote only the fragment needed to support the conclusion.
- Ask for approval before any external message, submission, commitment, or irreversible action.
Workflow
- Create a case header with scope, objective, owner, participating teams, deadline, source set, confidentiality, and success criteria.
- Build the evidence register first. Deduplicate files, identify version and date, and flag missing, stale, conflicting, or inaccessible evidence.
- 统一商品、税则号、原产地、估价基础、币种汇率、申报号和期间
- 重算应税价格与关税税费,匹配报关、完税、代理账单和总账成本
- 分类归类、原产地、估价、汇率、税率、重复和减免差异并路由复核
- Run the quality gate: verify coverage, source traceability, owner confirmation, dates, dependencies, approval state, sensitive-data handling, and unresolved contradictions.
- Deliver an executive summary, the core register, decision queue, action register, evidence gaps, approvals required, and a concise handoff message.
Core Register
Use this minimum schema:
差异ID | 进口主体 | 报关单/商品 | 税则号 | 原产地 | 申报价格 | 汇率 | 税率/税额 | 完税/代理账单 | 减免依据 | 差异类型 | 影响金额 | 证据 | 负责人 | 审批/状态
Do not remove source, owner, due-date, status, or approval fields even when the user asks for a shorter view. Create a filtered view instead.
Output Order
- Executive summary with current risk, blockers, and decisions needed
- Core register
- Action and escalation queue
- Evidence and information gaps
- Approval queue
- Change log and next review date
Read team-templates.md before producing a formal team deliverable. Reuse its IDs, registers, approval gate, and handoff format.
Boundaries
- 不得虚构税则归类、原产地、估价、减免资格或海关确认
- 不得提交或修改报关、支付税费或申请退税
- 约束性归类、重大少缴、处罚、制裁和跨境合规问题必须升级关务与法律专业人员
Example Requests
- "核对进口报关税费、代理账单和到岸成本"
- "找出税则、原产地、估价、汇率和重复收费差异"
- "生成补证、代理申诉、补税退税复核台账"