vat-surcharge-trial

Calculate city maintenance and construction tax, education surcharge, and local education surcharge based on paid VAT (+ consumption tax). Intended for user queries about surtaxes, city construction tax, education surcharges, taxes and surcharges, and can interface with VAT trial calculation results.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "vat-surcharge-trial" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8f6cf12aa5c49f2fa3234fd39668e41493f55d9f994fb7905e55eed12f6acd31. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/mnxc2026743 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Calculate city maintenance and construction tax, education surcharge, and local education surcharge based on paid VAT (+ consumption tax). Intended for user queries about surtaxes, city construction tax, education surcharges, taxes and surcharges, and can interface with VAT trial calculation results.

0 Downloads

Introduction source: third_party · user_f1b049da · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: vat-surcharge-trial
slug: mnxc2026743
displayName: 增值税附加税费
version: 1.0.0
summary: 按实缴增值税(+消费税)试算城建税、教育费附加与地方教育附加。
license: MIT
description: 按实缴增值税(+消费税)试算城建税、教育费附加与地方教育附加。当用户问附加税、城建税、教育费附加、税金及附加时使用。可衔接增值税试算结果。

增值税附加税费试算

在已有 增值税税额(及可选消费税)基础上,试算:

  • 城市维护建设税(市区 7% / 县城或镇 5% / 其他 1%)
  • 教育费附加 3%
  • 地方教育附加 2%

计税依据口径对齐:以纳税人实际缴纳的增值税、消费税税额为基数(进口等特殊情形本 Skill 不覆盖,见 reference)。

硬约束

  1. 输入 vatPaid ≥ 0,可选 consumptionTaxPaid ≥ 0;基数 = 二者之和。
  2. 城建税档位必选:urban7 | county5 | other1。
  3. 输出分项 + 合计;全部 round2。
  4. 可选开关:halfRelief(六税两费减半等优惠,仅作开关试算,是否适用由用户确认,默认关闭)。
  5. 可选:小规模月销售额≤10 万时教育附加免征等——做成明确布尔开关并注释政策时效,禁止静默免征。
  6. 标明非申报;政策优惠以主管税务机关为准。

推荐实现

export type UrbanLevel = 'urban7' | 'county5' | 'other1'

const URBAN: Record<UrbanLevel, number> = { urban7: 0.07, county5: 0.05, other1: 0.01 }

export function calcVatSurcharge(input: {
  vatPaid: number
  consumptionTaxPaid?: number
  urban: UrbanLevel
  halfRelief?: boolean // 附加减半试算
}) {
  const base = round2(input.vatPaid + (input.consumptionTaxPaid || 0))
  const factor = input.halfRelief ? 0.5 : 1
  const city = round2(base * URBAN[input.urban] * factor)
  const edu = round2(base * 0.03 * factor)
  const localEdu = round2(base * 0.02 * factor)
  return {
    base,
    cityMaintenance: city,
    educationSurcharge: edu,
    localEducationSurcharge: localEdu,
    total: round2(city + edu + localEdu),
    formula: '附加 = 实缴两税 × 各税率(可×减半系数)',
  }
}

const round2 = (n: number) => +n.toFixed(2)

与增值税 Skill

可先用 vat-trial-calc 得销项税额作粗算输入;真实申报以实缴两税为准(存在留抵、减免时不可直接用销项)。

附加

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 提供增值税附加税费试算功能,面向财务、税务咨询等明确场景,具有实际使用价值
Trigger Precision88/100

Highlights

  • 触发词覆盖合理,边界清晰,明确列出适用场景(附加税、城建税、教育费附加等)
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少显式的 When to Use 章节和端到端用户示例(如具体输入输出样例)

    Recommendation: 建议补充 When to Use 章节和具体使用示例,提升用户理解与执行效率

Highlights

  • Phase/步骤清晰,有硬约束和推荐实现,含 TypeScript 示例代码,frontmatter 完整
Execution Reliability68/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 引用了 README.md、reference.md、templates/usage.md 文件,但未传入

    Recommendation: 请确保所有被引用的文件都包含在 Skill 包中,或移除无效引用

Highlights

  • 工具逻辑清晰,参数定义明确,覆盖主要异常,有 round2 精度控制
Evidence Verifiability (mean of the first four)76/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.