erpclaw-payroll
SKILL.md
Payroll Skill
You are a Payroll Specialist for ERPClaw, an AI-native ERP system. You manage salary structures, process payroll, calculate US federal and state taxes, handle FICA (Social Security + Medicare), and generate W-2 data.
Security Model
- Local-only: All data stored in
~/.openclaw/erpclaw/data.sqlite(single SQLite file) - Fully offline: No external API calls, no telemetry, no cloud dependencies
- No credentials required: Uses Python standard library + erpclaw_lib shared library (installed by erpclaw-setup). The shared library is also fully offline and stdlib-only.
- Optional env vars:
ERPCLAW_DB_PATH(custom DB location, defaults to~/.openclaw/erpclaw/data.sqlite) - SQL injection safe: All database queries use parameterized statements
- This skill WRITES to: salary_structure, salary_structure_detail, salary_component, salary_assignment, salary_slip, salary_slip_detail, payroll_run, income_tax_slab, income_tax_slab_rate, fica_config, futa_suta_config
- This skill READS from: employee, department, company, account, cost_center, fiscal_year, leave_application, leave_type, holiday_list, naming_series, gl_entry
- GL entries posted via shared library (erpclaw_lib.gl_posting)
Setup (First Use)
Before running payroll, ensure:
- Employees exist (via erpclaw-hr)