iit-wage-withhold
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 "iit-wage-withhold" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f92d57ccb323cb3b830baaca09f1f87e3ad4ad48426ba581c917e3a4dcb6581e. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/pkra2026618 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
Simulate cumulative withholding prepayments of individual income tax on residents' wages and salaries according to the continued 2026 rules. Used to calculate individual income tax, post‑salary take‑home pay, cumulative withheld tax and special additional deductions. Note: this tool is not the official tax bureau filing system and is for reference only.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: iit-wage-withhold
slug: pkra2026618
displayName: 个税工资预扣试算
version: 1.0.0
summary: 按2026延续规则试算居民工资薪金累计预扣预缴个人所得税(非申报软件)。
license: MIT
description: 按2026延续规则试算居民工资薪金累计预扣预缴个人所得税。当用户要算个税、工资税后、累计预扣、专项附加扣除时使用。非税务局申报工具。个税工资预扣试算(2026)
原创本地试算:居民个人取得工资薪金,按累计预扣法估算本期应预扣税额。
不是增值税;不是官方 APP;结果仅供对账参考。
2026 年口径(延续现行,写死供对照)
| 项目 | 标准 |
|---|---|
| 基本减除费用 | 5000 元/月(年 60000) |
| 税率 | 综合所得七级超额累进 3%~45%(见下表) |
| 专项扣除 | 个人缴纳的基本养老/医疗/失业/公积金等(输入) |
| 专项附加扣除 | 按纳税人已填报额度按月累计(输入;见 reference 常用额) |
年度税率表(综合所得 / 累计预扣同表)
| 级数 | 累计应纳税所得额 | 税率 | 速算扣除数 |
|---|---|---|---|
| 1 | ≤36000 | 3% | 0 |
| 2 | ≤144000 | 10% | 2520 |
| 3 | ≤300000 | 20% | 16920 |
| 4 | ≤420000 | 25% | 31920 |
| 5 | ≤660000 | 30% | 52920 |
| 6 | ≤960000 | 35% | 85920 |
| 7 | >960000 | 45% | 181920 |
硬约束
- 累计预扣公式(居民工资薪金):
- 累计应纳税所得额 = 累计收入 − 累计免税收入 − 累计减除费用 − 累计专项扣除 − 累计专项附加扣除 − 累计其他扣除
- 累计应预扣预缴税额 = 累计应纳税所得额 × 税率 − 速算扣除数
- 本期应预扣 = 累计应预扣预缴税额 − 累计已预扣预缴税额
- 金额
round2(分);本期结果可为 0(累计已足额),不得为负时按 0(或按当地实务说明退税走汇算)。 - 必须展示:适用级数、税率、速算扣除数、累计应纳税所得额、本期税额。
- 标明:2026 年规则延续;政策若调整以税务总局为准;汇算清缴可能退补税。
- 禁止冒充「官方核定」;禁止给出偷逃税建议。
推荐实现
const BRACKETS = [
{ up: 36000, rate: 0.03, quick: 0 },
{ up: 144000, rate: 0.1, quick: 2520 },
{ up: 300000, rate: 0.2, quick: 16920 },
{ up: 420000, rate: 0.25, quick: 31920 },
{ up: 660000, rate: 0.3, quick: 52920 },
{ up: 960000, rate: 0.35, quick: 85920 },
{ up: Infinity, rate: 0.45, quick: 181920 },
]
export function pickBracket(taxableYtd: number) {
return BRACKETS.find((b) => taxableYtd <= b.up)!
}
export function calcWageWithhold(input: {
incomeYtd: number
expenseYtd: number // 累计减除费用 = 5000 * 月数
specialYtd: number
additionalYtd: number
otherYtd?: number
taxPaidYtd: number // 累计已预扣
}) {
const taxable = Math.max(
0,
round2(input.incomeYtd - input.expenseYtd - input.specialYtd - input.additionalYtd - (input.otherYtd || 0)),
)
const b = pickBracket(taxable)
const taxYtd = round2(taxable * b.rate - b.quick)
const due = round2(Math.max(0, taxYtd - input.taxPaidYtd))
return { taxable, taxYtd, due, rate: b.rate * 100, quick: b.quick }
}
const round2 = (n: number) => +n.toFixed(2)
Agent 步骤
- 收集:本月收入、任职月份、专项、专项附加、累计已扣税。
- 按累计法计算并输出表格式结果 + 公式说明。
- 提醒年度汇算与专项附加需在个税 APP 填报。
附加
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供个税工资累计预扣试算功能,解决用户实际报税参考需求
- 受众明确(工薪阶层、财务人员),具备高频刚需属性
Highlights
- description 明确描述适用场景,覆盖多种变体,边界清晰
Highlights
- 文档结构完整,包含税率表、硬约束、推荐实现、Agent 步骤
- frontmatter 完整,单文件未超 500 行
Highlights
- 提供了 TypeScript 实现代码,参数定义清晰
- 覆盖主要异常(如税额不得为负),工具来源明确
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.
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.
User discussion
No verified reviews yet.