技能 产品商业 全球薪酬与人力资源工作流管理

全球薪酬与人力资源工作流管理

v20260423
remofirst-core-workflow-b
该工作流集成了核心的全球人力资源、EOR(雇主记录)和薪酬平台功能。它旨在管理整个薪酬生命周期,包括处理每月薪资发放、计算总额和净额、管理多币种支付、处理员工福利(如健康保险和养老金)以及生成全面的发票。非常适用于在多个国际司法管辖区运营的企业。
获取技能
326 次下载
概览

RemoFirst Core Workflow B

Overview

Payroll workflow: process payroll runs, manage benefits, handle multi-currency payments, and generate invoices.

Prerequisites

  • Completed remofirst-core-workflow-a (employee onboarding)

Instructions

Step 1: Get Payroll Summary

payroll = client.get("/payroll", params={
    "month": "2026-03",
    "country_code": "GB",
})
print(f"Payroll for {payroll['period']}:")
print(f"  Employees: {payroll['employee_count']}")
print(f"  Total gross: {payroll['currency']} {payroll['total_gross']}")
print(f"  Total employer cost: {payroll['currency']} {payroll['total_employer_cost']}")

Step 2: Review Employee Payslip

payslip = client.get(f"/employees/{employee_id}/payslips", params={"month": "2026-03"})
print(f"Gross: {payslip['gross_salary']}")
print(f"Deductions: {payslip['total_deductions']}")
print(f"  Tax: {payslip['income_tax']}")
print(f"  National Insurance: {payslip['social_security']}")
print(f"Net pay: {payslip['net_salary']}")

Step 3: Manage Benefits

benefits = client.get(f"/employees/{employee_id}/benefits")
for benefit in benefits:
    print(f"  {benefit['type']}: {benefit['provider']} — {benefit['status']}")
    # Types: health_insurance, pension, dental, vision

# Add benefit
client.post(f"/employees/{employee_id}/benefits", {
    "type": "health_insurance",
    "plan": "premium",
    "start_date": "2026-04-01",
})

Step 4: Generate Invoice

invoice = client.get("/invoices/current")
print(f"Invoice #{invoice['number']}")
print(f"  Period: {invoice['period']}")
print(f"  Total: {invoice['currency']} {invoice['total']}")
print(f"  Due date: {invoice['due_date']}")

Output

  • Payroll summary with gross/net calculations
  • Employee payslips with tax breakdowns
  • Benefits enrollment and management
  • Invoice generation and tracking

Error Handling

Error Cause Solution
Payroll not ready Missing employee data Complete onboarding first
Currency mismatch Wrong country payroll Check country_code filter
Benefits unavailable Country not supported Check country benefit options

Resources

Next Steps

Error handling: remofirst-common-errors

信息
Category 产品商业
Name remofirst-core-workflow-b
版本 v20260423
大小 2.92KB
更新时间 2026-04-28
语言