FinchContext
Run with

Build China Social Insurance (社会保险) + Housing Provident Fund (住房公积金) Contribution Data

Skill: Convert payroll into the social insurance and housing fund contribution file submitted to local 社保 / 公积金 systems

Region: China (中国) Category: Payroll — 社会保险 (social insurance) + 住房公积金 (housing provident fund) Does: Takes a period's payroll and maps each employee onto the monthly social insurance (社会保险) and housing provident fund (住房公积金) contribution declaration — the 五险一金 (five insurances + the fund) — submitted to the local social-security bureau (社保) and housing-fund centre (公积金) systems. System: Local 社保经办机构 / 税务局 (五险) + 住房公积金管理中心 (一金) online systems — administered city by city

Contributions are portal-mediated and highly localized: the contribution bases (缴费基数), rates (缴费比例) and the base ceiling/floor (上限/下限, typically 300% / 60% of the local average wage 社平工资) are set per city and revised yearly (usually mid-year). In most regions the five insurances (五险) are collected by the tax authority (税务局) while the housing fund (公积金) is declared separately to the 公积金中心. There is no single national fixed schema; the field names below follow the common declaration layout. Confidence is at the example level — always use the current local rates, bases and caps.


When this applies


Input data required

Group Fields
Employer 单位名称 / 统一社会信用代码, 社保登记号, 公积金单位账号, 参保城市 (city)
Employee 姓名, ID (证件类型 / 证件号码), 社保个人编号 / 公积金个人账号, roster action (正常 / 增员 / 减员)
Contribution base 社保缴费基数 and 公积金缴费基数 per employee (usually prior-year monthly average wage, within local 上限/下限)
Rates local employer & employee rates for 养老 / 医疗 / 失业 / 工伤 / 生育 and 公积金
Amounts per-item 单位缴费 and 个人缴费; employer-paid work-injury/maternity; totals

Field structure (per-employee contribution row)

五险一金 declaration — per employee
├── 姓名 / 证件号码 / 社保个人编号
├── 缴费基数 (social-insurance base, within local 下限–上限)
│     养老  → 单位 16% · 个人 8%        (representative; varies by city)
│     医疗  → 单位 ~9–10% · 个人 2%
│     失业  → 单位 ~0.5% · 个人 0.5%
│     工伤  → 单位 0.2–1.9% (行业费率) · 个人 0   (employer only)
│     生育  → 单位 ~0.5–1% · 个人 0     (often merged into 医疗)
├── 公积金缴费基数 (housing-fund base, within local 下限–上限)
│     公积金 → 单位 5–12% · 个人 5–12%  (matched %, set by employer within band)
├── 单位缴费合计 (employer total)
├── 个人缴费合计 (employee total, withheld from pay)
└── 合计 (grand total remitted)

Calculation rules


Worked example (one employee, representative Shanghai-style rates)

单位: 上海示例科技有限公司  统一社会信用代码: 91310115MA1K3XYZ7A  参保城市: 上海  所属期: 2026-05
员工: 张伟  证件号码: 3101******1234  社保个人编号: 0000123456  状态: 正常

社保缴费基数: 30000.00   (within local 下限–上限; assume below 上限)
  养老   单位 16%  = 4800.00   个人 8%   = 2400.00
  医疗   单位 9.5% = 2850.00   个人 2%   =  600.00
  失业   单位 0.5% =  150.00   个人 0.5% =  150.00
  工伤   单位 0.2% =   60.00   个人 —    =    0.00
  生育   (并入医疗)            个人 —    =    0.00

公积金缴费基数: 30000.00   公积金比例 7%
  公积金 单位 7%   = 2100.00   个人 7%   = 2100.00

单位缴费合计 = 4800 + 2850 + 150 + 60 + 2100 = 9960.00
个人缴费合计 = 2400 + 600 + 150 + 0 + 2100   = 5250.00   ← withheld from pay (also IIT 专项扣除)
合计remitted = 9960.00 + 5250.00 = 15210.00

五险 declared to the 税务局/社保 system, 公积金 to the 公积金管理中心; employee share withheld from net pay.


Validation checklist


Last updated: 2026-06-04 — confirm the active schema version, field codes, and portal/API requirements against the current State Taxation Administration (STA) specifications before use.