smarthr_create_employee
WRITE: Register a new employee (従業員) in SmartHR. Nothing is sent to the employee; to invite them to fill in their own data use smarthr_invite_employee afterwards. Only the fields you give are set. The tenant plan may cap the number of employees (error plan_limit_exceeded). Returns the created employee as a compact record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Work or contact email address. | ||
| grade | No | Grade name (等級). | |
| gender | No | Legal gender (戸籍上の性別): male or female. | |
| address | No | Address; the city is required by SmartHR. | |
| birth_at | No | Date of birth, yyyy-mm-dd. | |
| emp_code | No | Employee number (社員番号). | |
| last_name | Yes | Family name (required). | |
| positions | No | Position (job title) NAMES, e.g. ["部長"]; a name that does not exist yet may be created by SmartHR. | |
| emp_status | No | Employment status: employed, absent (on leave) or retired. | |
| entered_at | No | Hire date, yyyy-mm-dd. | |
| first_name | Yes | Given name (required). | |
| occupation | No | Job description (業務内容). | |
| tel_number | No | Phone number. | |
| resigned_at | No | Resignation date, yyyy-mm-dd. | |
| job_category | No | Job category name (職種). | |
| department_ids | No | Department ids (from smarthr_list_departments); replaces the current departments. | |
| last_name_yomi | No | Family name in katakana. | |
| first_name_yomi | No | Given name in katakana. | |
| resigned_reason | No | Reason for leaving. | |
| business_last_name | No | Business name: family name. | |
| employment_type_id | No | Employment type id (from smarthr_list_employment_types). | |
| business_first_name | No | Business name: given name. | |
| biz_establishment_id | No | Business establishment id (from smarthr_list_business_establishments). |