Volver al catálogo

SmartHR

smarthr

SmartHR is a cloud human resources platform for managing employee records, organization data, payroll documents, and HR workflows.

Acciones
117
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (117)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Bulk Create PayslipsSMARTHR_BULK_CREATE_PAYSLIPSAcción

Create up to 100 sensitive payslip entries in one SmartHR payroll group. The connected API access token must have payroll Update permission and any applicable employee-field Update permissions.

Parámetros de entrada

  • payslipsobject[]Obligatorio

    Employee-specific payslips to create in bulk. Each entry identifies an employee and contains that employee's payslip values. SmartHR accepts at most 100 payslips per request.

  • payroll_idstringObligatorio

    Payroll group ID in which to create the sensitive payslips.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create DepartmentSMARTHR_CREATE_DEPARTMENTAcción

Create a SmartHR department. The connected API access token must have the department resource Update permission.

Parámetros de entrada

  • codestring

    Department code.

  • namestringObligatorio

    Department name. SmartHR does not allow forward slashes (/).

  • positionintegerint32

    Department position. SmartHR assigns one when omitted.

  • parent_idstring

    Parent department ID.

  • company_idstring

    Company ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create EmployeeSMARTHR_CREATE_EMPLOYEEAcción

Create an employee using the documented SmartHR employee fields. The connected API token must have employee resource and field Update permissions.

Parámetros de entrada

  • emailstring

    Employee email.

  • gradestring

    Employee grade.

  • genderstringenum

    Employee gender.

    malefemale
  • tax_cdstringenum

    Employee taxation category.

    kouotsuheirewardnon_residentno_taxation_required
  • addressobject

    Employee address.

  • resume1object

    Employee resume1.

  • resume2object

    Employee resume2.

  • user_idstring

    Employee user ID.

  • birth_atstringdate

    Employee birth date.

  • emp_codestring

    Employee employment code.

  • emp_typestringenum

    Employee employment type.

    board_memberfull_timercontract_workerpermatemppart_timeroutsourcing_contractoretc
  • positionstring

    Employee position.

  • last_namestring

    Employee last name.

  • positionsstring[]

    Employee positions.

  • departmentstring

    Employee department.

  • emp_statusstringenum

    Employee employment status.

    employedabsentretired
  • entered_atstringdate

    Employee entered date.

  • first_namestring

    Employee first name.

  • occupationstring

    Employee occupation.

  • tel_numberstring

    Employee telephone number.

  • widow_memostring

    Employee widow memo.

  • widow_typestringenum

    Employee widow type.

    widowsingle_parent
  • enrolled_atstringdate

    Employee enrolled date.

  • resigned_atstringdate

    Employee resigned date.

  • school_namestring

    Employee school name.

  • job_categorystring

    Employee job category.

  • address_imageobject

    Employee address image.

  • bank_accountsobject[]

    Employee bank accounts.

  • contract_typestringenum

    Employee contract type.

    unlimitedfixed_term
  • custom_fieldsobject[]

    Employee custom fields.

  • having_spouseboolean

    Employee having spouse.

  • profile_imageobject

    Employee profile image.

  • department_idsstring[]

    Employee department IDs.

  • last_name_yomistring

    Employee last name phonetic reading.

  • last_workplacestring

    Employee last workplace.

  • contract_end_onstringdate

    Employee contract end on.

  • first_name_yomistring

    Employee first name phonetic reading.

  • first_workplacestring

    Employee first workplace.

  • resident_end_atstringdate

    Employee resident end date.

  • resigned_reasonstring

    Employee resigned reason.

  • handicapped_typestringenum

    Employee handicapped type.

    ordinary_handicappedspecial_handicapped
  • nationality_codestring

    Employee nationality code.

  • recruitment_typestring

    Employee recruitment type.

  • contract_start_onstringdate

    Employee contract start on.

  • emergency_addressobject

    Employee emergency address.

  • handicapped_imageobject

    Employee handicapped image.

  • payment_period_idstring

    Employee payment period ID.

  • widow_reason_typestringenum

    Employee widow reason type.

    divorcebereavementmissingunmarried
  • business_last_namestring

    Employee business last name.

  • employment_type_idstring

    Employee employment type ID.

  • estate_income_flagboolean

    Employee estate income flag.

  • previous_workplacestring

    Employee previous workplace.

  • student_card_imageobject

    Employee student card image.

  • business_first_namestring

    Employee business first name.

  • emergency_last_namestring

    Employee emergency last name.

  • monthly_base_salaryinteger

    Employee monthly base salary.

  • basic_pension_numberstring

    Employee basic pension number.

  • biz_establishment_idstring

    Employee business establishment ID.

  • business_income_flagboolean

    Employee business income flag.

  • commutation_1_periodstringenum

    Employee commutation 1 period.

    commutation_period_1_monthcommutation_period_3_monthcommutation_period_6_month
  • commutation_2_periodstringenum

    Employee commutation 2 period.

    commutation_period_1_monthcommutation_period_3_monthcommutation_period_6_month
  • devidend_income_flagboolean

    Whether the employee has dividend income.

  • emergency_first_namestring

    Employee emergency first name.

  • emergency_tel_numberstring

    Employee emergency telephone number.

  • emp_ins_qualified_atstringdate

    Employee employment insurance qualified date.

  • identity_card_image1object

    Employee identity card image1.

  • identity_card_image2object

    Employee identity card image2.

  • monthly_income_goodsinteger

    Employee monthly income goods.

  • resident_status_typestring

    Employee resident status type.

  • soc_ins_qualified_atstringdate

    Employee social insurance qualified date.

  • spouse_yearly_incomeinteger

    Employee spouse yearly income.

  • working_student_flagboolean

    Employee working student flag.

  • address_relation_namestring

    Employee address relation name.

  • contract_renewal_typestringenum

    Employee contract renewal type.

    renewalnoneauto_renewal
  • handicapped_note_typestring

    Employee handicapped note type.

  • resident_card_addressobject

    Employee resident card address.

  • address_head_of_familystring

    Employee address head of family.

  • commutation_1_expensesinteger

    Employee commutation 1 expenses.

  • commutation_2_expensesinteger

    Employee commutation 2 expenses.

  • employment_income_flagboolean

    Employee employment income flag.

  • last_employment_end_onstringdate

    Employee last employment end on.

  • other_be_workable_typestringenum

    Dispatch or contract-work category.

    other_be_workableothers
  • working_student_incomeinteger

    Employee working student income.

  • business_last_name_yomistring

    Employee business last name phonetic reading.

  • child_care_contributioninteger

    Employee child care contribution.

  • emergency_relation_namestring

    Employee emergency relation name.

  • emp_ins_disqualified_atstringdate

    Employee employment insurance disqualified date.

  • first_employment_end_onstringdate

    Employee first employment end on.

  • monthly_income_currencyinteger

    Employee monthly income currency.

  • soc_ins_disqualified_atstringdate

    Employee social insurance disqualified date.

  • business_first_name_yomistring

    Employee business first name phonetic reading.

  • emergency_last_name_yomistring

    Employee emergency last name phonetic reading.

  • last_employment_start_onstringdate

    Employee last employment start on.

  • nearest_station_and_linestring

    Employee nearest station and line.

  • commutation_1_single_fareinteger

    Employee commutation 1 single fare.

  • commutation_2_single_fareinteger

    Employee commutation 2 single fare.

  • emergency_first_name_yomistring

    Employee emergency first name phonetic reading.

  • first_employment_start_onstringdate

    Employee first employment start on.

  • basic_pension_number_imageobject

    Employee basic pension number image.

  • foreign_resident_last_namestring

    Employee foreign resident last name.

  • previous_employment_end_onstringdate

    Employee previous employment end on.

  • foreign_resident_first_namestring

    Employee foreign resident first name.

  • last_workplace_address_textstring

    Employee last workplace address text.

  • monthly_standard_income_helinteger

    Employee monthly standard income health.

  • monthly_standard_income_pnsinteger

    Employee monthly standard income pension.

  • first_workplace_address_textstring

    Employee first workplace address text.

  • foreign_resident_card_image1object

    Employee foreign resident card image1.

  • foreign_resident_card_image2object

    Employee foreign resident card image2.

  • foreign_resident_card_numberstring

    Employee foreign resident card number.

  • foreign_resident_middle_namestring

    Employee foreign resident middle name.

  • handicapped_note_delivery_atstringdate

    Employee handicapped note delivery date.

  • previous_employment_start_onstringdate

    Employee previous employment start on.

  • resident_status_other_reasonstring

    Employee resident status other reason.

  • emp_ins_insured_person_numberstring

    Employee employment insurance insured person number.

  • having_ex_activity_permissionstringenum

    Employee having ex activity permission.

    permittednone
  • health_insurance_qualified_atstringdate

    Employee health insurance qualified date.

  • hel_ins_insured_person_numberinteger

    Employee health insurance insured person number.

  • soc_ins_insured_person_numberinteger

    Employee social insurance insured person number.

  • care_insurance_premium_companyinteger

    Employee care insurance premium company.

  • child_care_support_fund_companyinteger

    Employee child care support fund company.

  • health_insurance_disqualified_atstringdate

    Employee health insurance disqualified date.

  • health_insurance_premium_companyinteger

    Employee health insurance premium company.

  • care_insurance_premium_individualinteger

    Employee care insurance premium individual.

  • child_care_support_fund_individualinteger

    Employee child care support fund individual.

  • insurance_premium_calculation_typestringenum

    Employee insurance premium calculation type.

    ratefixed
  • monthly_standard_income_updated_atstringdate

    Employee monthly standard income updated date.

  • emp_ins_insured_person_number_imageobject

    Employee employment insurance insured person number image.

  • first_enrolling_in_emp_pns_ins_flagboolean

    Employee first enrolling in employment pension insurance flag.

  • health_insurance_premium_individualinteger

    Employee health insurance premium individual.

  • resident_card_address_relation_namestring

    Employee resident card address relation name.

  • resident_card_address_head_of_familystring

    Employee resident card address head of family.

  • basic_pension_number_unknown_reason_typestringenum

    Employee basic pension number unknown reason type.

    non_pensionableunknown
  • employees_pension_insurance_qualified_atstringdate

    Employee employees pension insurance qualified date.

  • employees_pension_insurance_disqualified_atstringdate

    Employee employees pension insurance disqualified date.

  • employees_pension_insurance_premium_companyinteger

    Employee employees pension insurance premium company.

  • employees_pension_insurance_premium_individualinteger

    Employee employees pension insurance premium individual.

  • emp_ins_insured_person_number_unknown_reason_typestringenum

    Employee employment insurance insured person number unknown reason type.

    no_work_experiencenever_joinedunknown

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Employee Custom Field TemplateSMARTHR_CREATE_EMPLOYEE_CUSTOM_FIELD_TEMPLATEAcción

Create an employee custom-field template. The connected API token must have the custom employee field resource Update permission.

Parámetros de entrada

  • hintstring

    Input hint.

  • namestringObligatorio

    Custom employee field name.

  • typestringObligatorioenum

    Input type.

    datedecimalenumfilestringtext
  • scaleintegerint32

    Decimal precision.

  • elementsobject[]

    Dropdown elements. Only applicable when type is 'enum'.

  • group_idstringObligatorio

    ID of the custom employee field group.

  • positionintegerObligatorioint32

    Custom employee field position.

  • separated_by_commasboolean

    Whether numbers display with thousands separators.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Employee Custom Field Template GroupSMARTHR_CREATE_EMPLOYEE_CUSTOM_FIELD_TEMPLATE_GROUPAcción

Create an employee custom-field template group.

Parámetros de entrada

  • namestringObligatorio

    Custom employee field group name.

  • positionintegerint32

    Group position.

  • access_typestringenum

    Access type.

    read_and_updatehiddenread_and_update_valuesread_and_update_only_origin

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Employee DependentSMARTHR_CREATE_EMPLOYEE_DEPENDENTAcción

Create a dependent for one employee using the documented family fields. The connected API token must have the required family and employee-field Update permissions.

Parámetros de entrada

  • jobstring

    Dependent job.

  • codestring

    Dependent code.

  • genderstringObligatorioenum

    Dependent gender.

    malefemale
  • incomeintegerint32

    Dependent income.

  • addressobject

    Dependent address.

  • birth_atstringObligatoriodate

    Dependent birth date.

  • moved_atstringdate

    Dependent moved date.

  • is_spouseboolean

    Dependent is spouse.

  • last_namestringObligatorio

    Dependent last name.

  • first_namestringObligatorio

    Dependent first name.

  • tel_numberstring

    Dependent telephone number.

  • employee_idstringObligatorio

    SmartHR employee ID.

  • relation_idstringObligatorio

    Dependent relation ID.

  • custom_fieldsobject[]

    Dependent custom fields.

  • kinship_imageobject

    Dependent kinship image.

  • last_name_yomistring

    Dependent last name phonetic reading.

  • monthly_incomeintegerint32

    Dependent monthly income.

  • first_name_yomistring

    Dependent first name phonetic reading.

  • handicapped_typestringenum

    Dependent handicapped type.

    ordinary_handicappedspecial_handicappedspecial_handicapped_living_together
  • handicapped_imageobject

    Dependent handicapped image.

  • remittance_image1object

    Dependent remittance image1.

  • remittance_image2object

    Dependent remittance image2.

  • remittance_image3object

    Dependent remittance image3.

  • live_together_typestringObligatorioenum

    Dependent live together type.

    living_togetherliving_separately
  • disqualified_reasonstring

    Dependent disqualified reason.

  • basic_pension_numberstring

    Dependent basic pension number.

  • soc_ins_qualified_atstringdate

    Dependent social insurance qualified date.

  • tax_deduction_incomeintegerint32

    Dependent tax deduction income.

  • tax_law_support_typestringenum

    Dependent tax law support type.

    unsupportedunsupported_same_living_spousesupportedspecial_spousal_exemptionunknown
  • handicapped_note_typestring

    Dependent handicapped note type.

  • international_studentboolean

    Dependent international student.

  • remittance_to_relativeintegerint32

    Dependent remittance to relative.

  • soc_ins_disqualified_atstringdate

    Dependent social insurance disqualified date.

  • disqualified_reason_typestringenum

    Dependent disqualified reason type.

    deathdivorceemploymentincome_increaseaging_out_75disability_certificateothers
  • maternity_handbook_imageobject

    Dependent maternity handbook image.

  • soc_ins_qualified_reasonstring

    Dependent social insurance qualified reason.

  • basic_pension_number_imageobject

    Dependent basic pension number image.

  • tax_deduction_qualified_atstringdate

    Dependent tax deduction qualified date.

  • international_student_imageobject

    Dependent international student image.

  • handicapped_note_delivery_atstringdate

    Dependent handicapped note delivery date.

  • social_insurance_support_typestringenum

    Dependent social insurance support type.

    unsupportedsupportedunknown
  • tax_deduction_disqualified_atstringdate

    Dependent tax deduction disqualified date.

  • tax_deduction_qualified_reasonstring

    Dependent tax deduction qualified reason.

  • tax_deduction_disqualified_reasonstring

    Dependent tax deduction disqualified reason.

  • tax_deduction_disqualified_reason_typestringenum

    Dependent tax deduction disqualified reason type.

    deathdivorceemploymentincome_increaseothers
  • spouse_dependent_disqualification_reasonstring

    Dependent spouse dependent disqualification reason.

  • spouse_dependent_disqualification_dead_atstringdate

    Dependent spouse dependent disqualification dead date.

  • spouse_dependent_qualification_reason_typestringenum

    Dependent spouse dependent qualification reason type.

    joined_employee_inschanged_soc_ins_to_mutual_aidchanged_mutual_aid_to_soc_inschanged_mutual_aid_to_mutual_aidmarriageretiredincome_decreaseothers
  • spouse_dependent_disqualification_reason_typestringenum

    Dependent spouse dependent disqualification reason type.

    deadothers

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Employment TypeSMARTHR_CREATE_EMPLOYMENT_TYPEAcción

Create a SmartHR employment type. The connected API access token must have the employment type resource Update permission.

Parámetros de entrada

  • codestring

    Employment type code.

  • namestringObligatorio

    Employment type name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create GradeSMARTHR_CREATE_GRADEAcción

Create a SmartHR grade. The connected API access token must have the grade resource Update permission.

Parámetros de entrada

  • namestring

    Grade name.

  • rankintegerint32

    Grade rank from 1 to 99999.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Job CategorySMARTHR_CREATE_JOB_CATEGORYAcción

Create a SmartHR job category. The connected API access token must have the job category resource Update permission.

Parámetros de entrada

  • namestring

    Job category name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Job TitleSMARTHR_CREATE_JOB_TITLEAcción

Create a SmartHR job title. The connected API access token must have the job title resource Update permission.

Parámetros de entrada

  • codestring

    Job title code.

  • namestring

    Job title name.

  • rankintegerint32

    Job title rank from 1 to 99999.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PayrollSMARTHR_CREATE_PAYROLLAcción

Create a sensitive SmartHR payroll group. The connected API access token must have payroll Update permission.

Parámetros de entrada

  • paid_atstringObligatoriodate

    Payment date.

  • payment_typestringObligatorioenum

    Payment type.

    salarybonus
  • name_for_crewstringObligatorio

    Payroll group name shown to employees.

  • period_end_atstringObligatoriodate

    End date of the payroll period.

  • name_for_adminstringObligatorio

    Payroll group name shown to administrators.

  • period_start_atstringObligatoriodate

    Start date of the payroll period.

  • numeral_system_handle_typestringObligatorioenum

    Numeral-system handling mode.

    as_isforce_sexagesimalforce_decimal

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PayslipSMARTHR_CREATE_PAYSLIPAcción

Create a sensitive employee payslip in one SmartHR payroll group. The connected API access token must have payslip resource Update permission, and employee-field Update permissions may constrain writable data.

Parámetros de entrada

  • memostring

    Optional payslip notes.

  • valuesobject[]Obligatorio

    Payslip item names and their string-form values.

  • company_idstring

    Optional company ID associated with the payslip.

  • payroll_idstringObligatorio

    Payroll group ID in which to create the sensitive payslip.

  • employee_idstringObligatorio

    Employee ID for the payslip.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Recruitment TypeSMARTHR_CREATE_RECRUITMENT_TYPEAcción

Create a SmartHR recruitment type. The connected API access token must have the recruitment type resource Update permission.

Parámetros de entrada

  • namestringObligatorio

    Recruitment type name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Tax WithholdingSMARTHR_CREATE_TAX_WITHHOLDINGAcción

Create a sensitive SmartHR tax-withholding group in the unconfirmed state. The connected API access token must have tax-withholding-group Update permission.

Parámetros de entrada

  • namestringObligatorio

    Tax-withholding group name.

  • yearstringObligatorioenum

    Japanese era year to print on the tax-withholding slips.

    H28H29H30H31R01R02R03R04R05R06R07R08+1

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Tax Withholding SlipSMARTHR_CREATE_TAX_WITHHOLDING_SLIPAcción

Create a file-backed or field-backed sensitive tax-withholding slip for an employee in one SmartHR tax-withholding group. The connected API access token must have the tax-withholding-slip resource and applicable employee-field Update permissions.

Parámetros de entrada

  • fileobject

    File for a file-backed tax-withholding slip.

  • memostring

    Slip notes.

  • widowstring

    Widow-status string marker; SmartHR's Swagger does not enumerate accepted values.

  • valuesstring[]

    SmartHR legacy ordered array. SmartHR does not document the item order; prefer the named fields. Use only when replaying a known provider-compatible payload.

  • widowerstring

    Widower-status string marker; SmartHR's Swagger does not enumerate accepted values.

  • column_bstring

    Tax-table column B string marker; SmartHR's Swagger does not enumerate accepted values.

  • underagestring

    Minor-status string marker; SmartHR's Swagger does not enumerate accepted values.

  • foreignerstring

    Foreign-national string marker; SmartHR's Swagger does not enumerate accepted values.

  • slip_typestring

    Tax-withholding slip type. SmartHR accepts '給与・賞与' for structured slips.

  • company_idstring

    Company ID to associate with the tax-withholding slip.

  • employee_idstringObligatorio

    Employee ID for the tax-withholding slip.

  • crew_birth_atstringdate

    Employee date of birth.

  • crew_positionstring

    Employee job title.

  • single_parentstring

    Single-parent string marker; SmartHR's Swagger does not enumerate accepted values.

  • special_widowstring

    Special-widow string marker; SmartHR's Swagger does not enumerate accepted values.

  • crew_full_namestring

    Employee full name.

  • payment_amountinteger

    Payment amount.

  • disaster_victimstring

    Disaster-victim string marker; SmartHR's Swagger does not enumerate accepted values.

  • owner_full_namestring

    Payer full name.

  • working_studentstring

    Working-student string marker; SmartHR's Swagger does not enumerate accepted values.

  • mid_term_enteredstring

    Mid-year employment-start string marker; SmartHR's Swagger does not enumerate accepted values.

  • spouse_deductionstring

    String marker that a deductible spouse is present. SmartHR's Swagger does not enumerate accepted marker values.

  • spouse_full_namestring

    Spouse full name.

  • mid_term_resignedstring

    Mid-year resignation string marker; SmartHR's Swagger does not enumerate accepted values.

  • other_handicappedstring

    Employee other-disability string marker; SmartHR's Swagger does not enumerate accepted values.

  • resigned_by_deathstring

    Death-related resignation string marker; SmartHR's Swagger does not enumerate accepted values.

  • tax_withholding_idstringObligatorio

    Tax-withholding group ID in which to create the sensitive slip.

  • crew_full_name_yomistring

    Employee full name in phonetic form.

  • special_handicappedstring

    Employee special-disability string marker; SmartHR's Swagger does not enumerate accepted values.

  • spouse_non_residentstring

    Deductible spouse non-resident category code. SmartHR's Swagger does not enumerate accepted code values.

  • spouse_total_incomeinteger

    Spouse total income.

  • crew_address_literalstring

    Employee address.

  • spouse_deduction_substring

    String marker for the secondary deductible-spouse category. SmartHR's Swagger does not enumerate accepted marker values.

  • dependent_1_full_namestring

    First dependent full name.

  • other_dependent_countinteger

    Number of other dependents.

  • spouse_full_name_yomistring

    Spouse full name in phonetic form.

  • basic_deduction_amountinteger

    Basic deduction amount.

  • soc_ins_payment_amountinteger

    Social insurance payment amount.

  • withholding_tax_amountinteger

    Withholding tax amount.

  • elderly_dependent_countinteger

    Number of elderly dependents.

  • dependent_1_non_residentstringenum

    First dependent non-resident category. Use '0' or '1' for older tax-year formats; use one of 00, 01, 02, 03, 04, 10, 11, 20, 21, 30, 31, 40, 41, 50, 51, 60, 61, 70, 71, 80, 81, 90, or 91 for current tax-year formats.

    0100010203041011202130+13
  • specific_dependent_countinteger

    Number of specific dependents.

  • spouse_deduction_elderlystring

    String marker that the deductible spouse is elderly. SmartHR's Swagger does not enumerate accepted marker values.

  • housing_loan_1_started_atstringdate

    First housing loan residence start date.

  • housing_loan_2_started_atstringdate

    Second housing loan residence start date.

  • life_ins_deduction_amountinteger

    Life insurance deduction amount.

  • other_dependent_sub_countinteger

    Number of secondary other dependents.

  • care_health_payment_amountinteger

    Nursing and medical insurance premium amount.

  • dependent_1_full_name_yomistring

    First dependent name in phonetic form.

  • elderly_dependent_sub_countinteger

    Number of secondary elderly dependents.

  • new_life_ins_payment_amountinteger

    New life insurance premium amount.

  • non_resident_relative_countinteger

    Number of non-resident relatives.

  • old_life_ins_payment_amountinteger

    Old life insurance premium amount.

  • biz_establishment_tel_numberstring

    Payer business establishment telephone number.

  • housing_loan_deduction_countinteger

    Number of housing loan deductions.

  • specific_dependent_sub_countinteger

    Number of secondary specific dependents.

  • housing_loan_1_deduction_typestring

    First housing-loan special-deduction type code. SmartHR's provider docs do not enumerate code values.

  • housing_loan_2_deduction_typestring

    Second housing-loan special-deduction type code. SmartHR's provider docs do not enumerate code values.

  • housing_loan_deduction_amountinteger

    Housing loan deduction amount.

  • under_16_years_dependent_countinteger

    Number of dependents under 16.

  • earthquake_ins_deduction_amountinteger

    Earthquake insurance deduction amount.

  • mid_term_entered_or_resigned_atstringdate

    Mid-year employment start or resignation date.

  • national_pension_payment_amountinteger

    National pension insurance premium amount.

  • spouse_special_deduction_amountinteger

    Special spouse deduction amount.

  • biz_establishment_address_literalstring

    Payer business establishment address.

  • other_handicapped_dependent_countinteger

    Number of other disabled dependents.

  • specific_relative_dependent_countinteger

    Number of specific-relative dependents.

  • income_adjustment_deduction_amountinteger

    Income adjustment deduction amount.

  • special_handicapped_dependent_countinteger

    Number of special-disabled dependents.

  • dependent_under_16_years_1_full_namestring

    First under-16 dependent full name.

  • elderly_dependent_live_together_countinteger

    Number of elderly dependents living together.

  • housing_loan_special_deduction_amountinteger

    Available housing loan special deduction amount.

  • payment_after_income_deduction_amountinteger

    Payment after income deductions.

  • specific_relative_dependent_sub_countinteger

    Number of secondary specific-relative dependents.

  • dependent_under_16_years_1_non_residentstring

    First under-16 dependent non-resident category code. SmartHR's Swagger does not enumerate accepted code values.

  • housing_loan_1_deduction_balance_amountinteger

    First housing loan year-end balance.

  • housing_loan_2_deduction_balance_amountinteger

    Second housing loan year-end balance.

  • new_personal_pension_ins_payment_amountinteger

    New personal pension insurance premium amount.

  • old_personal_pension_ins_payment_amountinteger

    Old personal pension insurance premium amount.

  • dependent_under_16_years_1_full_name_yomistring

    First under-16 dependent name in phonetic form.

  • old_long_term_property_ins_payment_amountinteger

    Old long-term casualty insurance premium amount.

  • payment_after_emp_income_deduction_amountinteger

    Payment after employment income deductions.

  • specific_relative_special_deduction_amountinteger

    Specific-relative special deduction amount.

  • special_handicapped_dependent_live_together_countinteger

    Number of special-disabled dependents living together.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create User SAML ConfigurationSMARTHR_CREATE_USER_SAML_CONFIGURATIONAcción

Create the SAML SSO account configuration for one SmartHR user. The tenant must have SAML SSO enabled, and the connected API access token must have the user resource Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR user ID whose SAML configuration to create.

  • upnstringObligatorio

    User identifier for the linked identity provider account.

  • enablebooleanObligatorio

    Whether to enable the SAML account when it is created.

  • user_idstringObligatorio

    SmartHR user ID to associate with the SAML account.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create WebhookSMARTHR_CREATE_WEBHOOKAcción

Create a SmartHR webhook configuration for future employee and dependent events. Matching events can send data to the configured destination, so confirm the URL, event selections, payload exposure, and secret token before calling. The connected API access token must have the webhook resource Update permission.

Parámetros de entrada

  • urlstring

    Webhook notification destination URL.

  • access_typestringenum

    Webhook access type.

    read_and_updatehiddenread_and_update_only_origin
  • descriptionstring

    Webhook description.

  • disabled_atstringdate

    Date on which to disable the webhook.

  • crew_createdbooleanObligatorio

    Whether to notify when an employee record is created.

  • crew_deletedbooleanObligatorio

    Whether to notify when an employee record is deleted.

  • crew_updatedbooleanObligatorio

    Whether to notify when an employee record is updated.

  • secret_tokenstringpassword

    Secret token SmartHR includes with webhook deliveries.

  • crew_importedbooleanObligatorio

    Whether to notify when employee records are imported.

  • expose_only_idboolean

    Whether webhook deliveries should contain only the changed record ID.

  • dependent_createdbooleanObligatorio

    Whether to notify when a dependent record is created.

  • dependent_deletedbooleanObligatorio

    Whether to notify when a dependent record is deleted.

  • dependent_updatedbooleanObligatorio

    Whether to notify when a dependent record is updated.

  • dependent_importedbooleanObligatorio

    Whether to notify when dependent records are imported.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete DepartmentSMARTHR_DELETE_DEPARTMENTAcción

Deprecated: delete a SmartHR department by ID. Prefer SMARTHR_DISCONTINUE_DEPARTMENT because SmartHR no longer recommends department deletion. Deletion requires the department resource Update permission and fails when the department or a child department has a scheduled employee update whose effective date has not arrived.

Parámetros de entrada

  • department_idstringObligatorio

    SmartHR department ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete EmployeeSMARTHR_DELETE_EMPLOYEEAcción

Permanently delete one employee by SmartHR employee ID. This requires the employee resource Update permission on the connected access token.

Parámetros de entrada

  • idstringObligatorio

    SmartHR employee ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Employee Custom Field TemplateSMARTHR_DELETE_EMPLOYEE_CUSTOM_FIELD_TEMPLATEAcción

Delete one employee custom-field template by ID. This permanently deletes all employee values set for the template. SmartHR rejects deletion when the field has a scheduled employee update whose effective date has not arrived.

Parámetros de entrada

  • template_idstringObligatorio

    Custom employee field template ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Employee Custom Field Template GroupSMARTHR_DELETE_EMPLOYEE_CUSTOM_FIELD_TEMPLATE_GROUPAcción

Delete one employee custom-field template group by ID. This also permanently deletes every custom-field template in the group and all values set for those templates. SmartHR rejects deletion when a group field has a scheduled employee update whose effective date has not arrived.

Parámetros de entrada

  • group_idstringObligatorio

    Custom employee field group ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Employee DependentSMARTHR_DELETE_EMPLOYEE_DEPENDENTAcción

Permanently delete one dependent and their sensitive family data from an employee record. This cannot be undone.

Parámetros de entrada

  • employee_idstringObligatorio

    SmartHR employee ID.

  • dependent_idstringObligatorio

    SmartHR dependent ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Employment TypeSMARTHR_DELETE_EMPLOYMENT_TYPEAcción

Delete one SmartHR employment type by ID. SmartHR does not allow deletion of a system-standard employment type or one referenced by a scheduled employee update whose effective date has not arrived. The connected API access token must have the employment type resource Update permission.

Parámetros de entrada

  • employment_type_idstringObligatorio

    SmartHR employment type ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete GradeSMARTHR_DELETE_GRADEAcción

Delete one SmartHR grade by ID. A grade referenced by a scheduled employee update whose effective date has not arrived cannot be deleted. The connected API access token must have the grade resource Update permission.

Parámetros de entrada

  • grade_idstringObligatorio

    SmartHR grade ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Job CategorySMARTHR_DELETE_JOB_CATEGORYAcción

Delete one SmartHR job category by ID. A job category referenced by a scheduled employee update whose effective date has not arrived cannot be deleted. The connected API access token must have the job category resource Update permission.

Parámetros de entrada

  • job_category_idstringObligatorio

    SmartHR job category ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Job TitleSMARTHR_DELETE_JOB_TITLEAcción

Delete one SmartHR job title by ID. A job title referenced by a scheduled employee update whose effective date has not arrived cannot be deleted. The connected API access token must have the job title resource Update permission.

Parámetros de entrada

  • job_title_idstringObligatorio

    SmartHR job title ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete PayrollSMARTHR_DELETE_PAYROLLAcción

Permanently delete one sensitive SmartHR payroll group by ID. The connected API access token must have the payroll resource Update permission.

Parámetros de entrada

  • payroll_idstringObligatorio

    SmartHR payroll group ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete PayslipSMARTHR_DELETE_PAYSLIPAcción

Permanently delete one sensitive SmartHR payslip from its payroll group. The connected API access token must have the payslip resource Update permission, and employee fields may also require Update permission.

Parámetros de entrada

  • payroll_idstringObligatorio

    SmartHR payroll group ID containing the payslip.

  • payslip_idstringObligatorio

    SmartHR payslip ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Recruitment TypeSMARTHR_DELETE_RECRUITMENT_TYPEAcción

Delete one SmartHR recruitment type by ID. A recruitment type referenced by a scheduled employee update whose effective date has not arrived cannot be deleted. The connected API access token must have the recruitment type resource Update permission.

Parámetros de entrada

  • recruitment_type_idstringObligatorio

    SmartHR recruitment type ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Tax WithholdingSMARTHR_DELETE_TAX_WITHHOLDINGAcción

Permanently delete one sensitive SmartHR tax-withholding group by ID. The connected API access token must have the tax-withholding-group resource Update permission.

Parámetros de entrada

  • tax_withholding_idstringObligatorio

    SmartHR tax-withholding group ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Tax Withholding SlipSMARTHR_DELETE_TAX_WITHHOLDING_SLIPAcción

Permanently delete one sensitive SmartHR tax-withholding slip from its tax-withholding group. The connected API access token must have the tax-withholding-slip resource Update permission, and employee fields may also require Update permission.

Parámetros de entrada

  • tax_withholding_idstringObligatorio

    SmartHR tax-withholding group ID containing the slip.

  • tax_withholding_slip_idstringObligatorio

    SmartHR tax-withholding slip ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete User SAML ConfigurationSMARTHR_DELETE_USER_SAML_CONFIGURATIONAcción

Delete the SAML SSO account configuration for one SmartHR user. The tenant must have SAML SSO enabled, and the connected API access token must have the user resource Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR user ID whose SAML configuration to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete WebhookSMARTHR_DELETE_WEBHOOKAcción

Permanently delete one SmartHR webhook configuration by ID. The connected API access token must have the webhook resource Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR webhook ID to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Disable User SAML ConfigurationSMARTHR_DISABLE_USER_SAML_CONFIGURATIONAcción

Disable the SAML SSO account configuration for one SmartHR user. The tenant must have the SAML/SSO option enabled, and the connected API access token must have the user resource Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR user ID whose SAML configuration to disable.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Discontinue DepartmentSMARTHR_DISCONTINUE_DEPARTMENTAcción

Irreversibly discontinue one SmartHR department as of its final active date. The date must be in the past. SmartHR rejects discontinuation when a scheduled employee update references this department or a descendant; the connected access token must have department Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR department ID to discontinue.

  • discontinued_datestringObligatoriodate

    The department's final active date in YYYY-MM-DD format. SmartHR accepts only a date in the past.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Batch Job AttachmentSMARTHR_DOWNLOAD_BATCH_JOB_ATTACHMENTAcción

Download the binary file for a SmartHR batch-job attachment. SmartHR deletes the provider attachment five minutes after it is retrieved, so use the returned offloaded file reference for subsequent work.

Parámetros de entrada

  • attachment_idstringObligatorio

    Batch-job attachment ID returned by a SmartHR batch job.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable User SAML ConfigurationSMARTHR_ENABLE_USER_SAML_CONFIGURATIONAcción

Enable the SAML SSO account configuration for one SmartHR user. The tenant must have the SAML/SSO option enabled, and the connected API access token must have the user resource Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR user ID whose SAML configuration to enable.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Finalize PayrollSMARTHR_FINALIZE_PAYROLLAcción

Finalize one sensitive SmartHR payroll group. The connected API access token must have the payroll-group resource Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR payroll group ID to finalize.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Batch JobSMARTHR_GET_BATCH_JOBAcción

Get one SmartHR background batch job by ID, optionally embedding its attachments. The access token needs the corresponding resource Reference permission.

Parámetros de entrada

  • embedstring

    Set to 'attachments' to include batch job attachments in the response.

  • batch_job_idstringObligatorio

    SmartHR background batch job ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DepartmentSMARTHR_GET_DEPARTMENTAcción

Get one SmartHR department by its department ID.

Parámetros de entrada

  • department_idstringObligatorio

    SmartHR department ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get EmployeeSMARTHR_GET_EMPLOYEEAcción

Get one employee by SmartHR employee ID, with optional comma-separated field selection. The access token needs employee Reference permission, and returned attributes may be limited by employee-field Reference permissions.

Parámetros de entrada

  • fieldsstring

    Comma-separated names of employee fields to return.

  • employee_idstringObligatorio

    SmartHR employee ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Employee Custom Field TemplateSMARTHR_GET_EMPLOYEE_CUSTOM_FIELD_TEMPLATEAcción

Get one employee custom-field template by ID. Set embed to group to include the custom field group that contains the template.

Parámetros de entrada

  • embedstring

    Set to 'group' to include the template's custom field group.

  • template_idstringObligatorio

    Custom employee field template ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Employee Custom Field Template GroupSMARTHR_GET_EMPLOYEE_CUSTOM_FIELD_TEMPLATE_GROUPAcción

Get one employee custom-field template group by ID. Set embed to templates to include the custom field templates belonging to the group.

Parámetros de entrada

  • embedstring

    Set to 'templates' to include the custom field templates in the group.

  • group_idstringObligatorio

    Custom employee field group ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Employee DependentSMARTHR_GET_EMPLOYEE_DEPENDENTAcción

Get one dependent belonging to an employee.

Parámetros de entrada

  • employee_idstringObligatorio

    SmartHR employee ID.

  • dependent_idstringObligatorio

    SmartHR dependent ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Employee Input FormSMARTHR_GET_EMPLOYEE_INPUT_FORMAcción

Get one SmartHR employee information-collection form by ID, preserving its nested field groups, fields, and embedded custom-field definitions.

Parámetros de entrada

  • embedstring

    Set to 'mail_format' to embed the mail format linked to the form.

  • form_idstringObligatorio

    Employee information-collection form ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Employment TypeSMARTHR_GET_EMPLOYMENT_TYPEAcción

Get one SmartHR employment type by its employment type ID.

Parámetros de entrada

  • employment_type_idstringObligatorio

    SmartHR employment type ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get GradeSMARTHR_GET_GRADEAcción

Get one SmartHR grade by its grade ID.

Parámetros de entrada

  • grade_idstringObligatorio

    SmartHR grade ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Job CategorySMARTHR_GET_JOB_CATEGORYAcción

Get one SmartHR job category by its job category ID.

Parámetros de entrada

  • job_category_idstringObligatorio

    SmartHR job category ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Job TitleSMARTHR_GET_JOB_TITLEAcción

Get one SmartHR job title by its job title ID.

Parámetros de entrada

  • job_title_idstringObligatorio

    SmartHR job title ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Mail FormatSMARTHR_GET_MAIL_FORMATAcción

Get one SmartHR mail format by ID, optionally embedding the employee information-collection forms that use it.

Parámetros de entrada

  • embedstring

    Set to 'crew_input_forms' to embed forms that use this mail format.

  • mail_format_idstringObligatorio

    SmartHR mail format ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Payment PeriodSMARTHR_GET_PAYMENT_PERIODAcción

Get one SmartHR payroll payment period by its payment period ID.

Parámetros de entrada

  • payment_period_idstringObligatorio

    SmartHR payment period ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PayrollSMARTHR_GET_PAYROLLAcción

Get one sensitive SmartHR payroll group by ID. The access token needs payroll Reference permission, and returned data may contain sensitive financial information.

Parámetros de entrada

  • payroll_idstringObligatorio

    SmartHR payroll group ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PayslipSMARTHR_GET_PAYSLIPAcción

Get one highly sensitive SmartHR payslip from a payroll group. The access token needs payslip Reference permission, and returned employee fields may be permission-filtered.

Parámetros de entrada

  • embedstring

    Set to company to embed the payslip's company details.

  • payroll_idstringObligatorio

    SmartHR payroll group ID containing the payslip.

  • payslip_idstringObligatorio

    SmartHR payslip ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Recruitment TypeSMARTHR_GET_RECRUITMENT_TYPEAcción

Get one SmartHR recruitment type by its recruitment type ID.

Parámetros de entrada

  • recruitment_type_idstringObligatorio

    SmartHR recruitment type ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tax WithholdingSMARTHR_GET_TAX_WITHHOLDINGAcción

Get one highly sensitive SmartHR tax-withholding group by ID. The access token needs tax-withholding-group Reference permission.

Parámetros de entrada

  • tax_withholding_idstringObligatorio

    SmartHR tax-withholding group ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Tax Withholding SlipSMARTHR_GET_TAX_WITHHOLDING_SLIPAcción

Get one highly sensitive SmartHR tax-withholding slip from a tax-withholding group. The access token needs tax-withholding-slip Reference permission, and employee fields may be permission-filtered.

Parámetros de entrada

  • embedstring

    Set to company to embed the slip's full company details.

  • slip_idstringObligatorio

    SmartHR tax-withholding slip ID.

  • tax_withholding_idstringObligatorio

    SmartHR tax-withholding group ID containing the slip.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get UserSMARTHR_GET_USERAcción

Get one SmartHR user account by user ID with an optional related object embedded in the response.

Parámetros de entrada

  • idstringObligatorio

    SmartHR user ID.

  • embedstringenum

    Related object to embed in the user response.

    crewbiz_establishmentbiz_establishment_companydepartment_company

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get User SAML ConfigurationSMARTHR_GET_USER_SAML_CONFIGURATIONAcción

Get the SAML SSO account configuration for one SmartHR user. This endpoint requires the tenant's SAML/SSO option to be enabled.

Parámetros de entrada

  • user_idstringObligatorio

    SmartHR user ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get WebhookSMARTHR_GET_WEBHOOKAcción

Get one SmartHR webhook configuration by webhook ID.

Parámetros de entrada

  • webhook_idstringObligatorio

    SmartHR webhook ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Invite EmployeeSMARTHR_INVITE_EMPLOYEEAcción

Send the documented SmartHR invitation to one employee's configured email address. Repeating the action resends the invitation unless the employee has already accepted it; the inviter must be an administrator.

Parámetros de entrada

  • idstringObligatorio

    SmartHR employee ID to invite.

  • inviter_user_idstringObligatorio

    SmartHR user ID of the administrator sending the invitation.

  • crew_input_form_idstring

    Employee information collection form ID to use for the invitation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Bank Account SettingsSMARTHR_LIST_BANK_ACCOUNT_SETTINGSAcción

List one page of SmartHR bank-account setting definitions. This does not return employee bank-account values.

Parámetros de entrada

  • pageintegerint32

    Page of bank account settings to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of bank account settings to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Batch JobsSMARTHR_LIST_BATCH_JOBSAcción

List one page of SmartHR background batch jobs. Optionally embed attachment metadata for each job.

Parámetros de entrada

  • pageintegerint32

    Page of batch jobs to fetch. Ignored when cursor is supplied.

  • sortstringenum

    Field and direction used to sort jobs.

    created_at-created_atupdated_at-updated_at
  • embedstring

    Set to 'attachments' to embed each batch job's attachments.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of batch jobs to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Business EstablishmentsSMARTHR_LIST_BUSINESS_ESTABLISHMENTSAcción

List one page of SmartHR business establishments, optionally embedding the social insurance representative, labor insurance representative, or company.

Parámetros de entrada

  • pageintegerint32

    Page of business establishments to fetch. Ignored when cursor is supplied.

  • embedstringenum

    Related object to embed in each establishment.

    soc_ins_ownerlab_ins_ownercompany
  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of business establishments to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List CompaniesSMARTHR_LIST_COMPANIESAcción

List one page of SmartHR companies with an optional embedded owner.

Parámetros de entrada

  • pageintegerint32

    Page of companies to fetch. Ignored when cursor is supplied.

  • embedstring

    Set to owner to embed each company's representative employee.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of companies to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DepartmentsSMARTHR_LIST_DEPARTMENTSAcción

List one page of SmartHR departments using the documented code and sort filters. Returns hierarchy and company details when present.

Parámetros de entrada

  • codestring

    Filter departments by department code.

  • pageintegerint32

    Page of departments to fetch. Ignored when cursor is supplied.

  • sortstring

    Comma-separated sort fields; prefix a field with '-' for descending order. SmartHR does not publish a finite list of accepted sort keys.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of departments to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dependent Custom Field TemplatesSMARTHR_LIST_DEPENDENT_CUSTOM_FIELD_TEMPLATESAcción

List one page of SmartHR custom-field templates for employee dependents.

Parámetros de entrada

  • pageintegerint32

    Page of dependent custom field templates to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of dependent custom field templates to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dependent RelationsSMARTHR_LIST_DEPENDENT_RELATIONSAcción

List one page of configured SmartHR dependent relationship types.

Parámetros de entrada

  • pageintegerint32

    Page of dependent relationship types to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • filterstring

    Filter relationship types. Use spouse to return only spouse relationships.

  • per_pageintegerint32

    Number of dependent relationship types to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Employee Custom Field Template GroupsSMARTHR_LIST_EMPLOYEE_CUSTOM_FIELD_TEMPLATE_GROUPSAcción

List one page of employee custom-field template groups. Set embed to templates to include the custom fields belonging to each group.

Parámetros de entrada

  • pageintegerint32

    Page of custom-field template groups to fetch. Ignored when cursor is supplied.

  • embedstring

    Set to 'templates' to include each group's custom-field templates.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of custom-field template groups to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Employee Custom Field TemplatesSMARTHR_LIST_EMPLOYEE_CUSTOM_FIELD_TEMPLATESAcción

List one page of SmartHR employee custom-field templates. Set embed to group to include each template's custom-field group.

Parámetros de entrada

  • pageinteger

    Page of custom field templates to fetch. Ignored when cursor is supplied.

  • embedstring

    Set to 'group' to embed each template's custom field group.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageinteger

    Number of custom field templates to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Employee DependentsSMARTHR_LIST_EMPLOYEE_DEPENDENTSAcción

List one page of sensitive family and dependent records for a SmartHR employee. The access token needs dependent Reference permission, and returned fields may be limited by employee-field Reference permissions.

Parámetros de entrada

  • pageinteger

    Page of dependents to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageinteger

    Number of dependents to return per page (1-100).

  • employee_idstringObligatorio

    SmartHR employee ID whose dependents to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Employee Input FormsSMARTHR_LIST_EMPLOYEE_INPUT_FORMSAcción

List one page of SmartHR employee information-collection forms with their nested field definitions. Set embed to mail_format to include linked mail formats.

Parámetros de entrada

  • pageintegerint32

    Page of employee input forms to fetch. Ignored when cursor is supplied.

  • embedstring

    Set to 'mail_format' to embed the mail format linked to each form.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of employee input forms to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Employee Maternity and Childcare LeavesSMARTHR_LIST_EMPLOYEE_MATERNITY_CHILDCARE_LEAVESAcción

List one page of sensitive maternity and childcare leave records for a SmartHR employee. The access token needs leave-record Reference permission.

Parámetros de entrada

  • pageintegerint32

    Page of leave records to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of leave records to return per page (1-100).

  • employee_idstringObligatorio

    SmartHR employee ID whose maternity and childcare leave records to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List EmployeesSMARTHR_LIST_EMPLOYEESAcción

List one page of employees matching SmartHR's documented employee filters. Employee records contain sensitive HR data; use fields to request only the attributes needed.

Parámetros de entrada

  • qstring

    Free-text search across names, business names, departments, and positions.

  • idstring

    Comma-separated employee IDs.

  • pageinteger

    Page of results to fetch. Ignored when cursor is supplied.

  • sortstring

    Comma-separated sort fields; prefix a field with '-' for descending order. SmartHR does not publish a finite list of accepted sort keys.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • fieldsstring

    Comma-separated employee field names to return. Request only fields needed for the task.

  • genderstringenum

    Filter by legal gender.

    malefemale
  • user_idstring

    Comma-separated SmartHR user IDs.

  • emp_codestring

    Filter by employee number.

  • emp_typestringenum

    Deprecated preset employment type. Prefer employment_type_id.

    board_memberfull_timercontract_workerpermatemppart_timeroutsourcing_contractoretc
  • per_pageinteger

    Number of employees to return per page (1-100).

  • emp_statusstringenum

    Filter by employment status.

    employedabsentretired
  • position_idstring

    Comma-separated job-position IDs.

  • department_idstring

    Comma-separated department IDs.

  • entered_at_tostringdate

    Include employees who joined on or before this date (YYYY-MM-DD).

  • resigned_at_tostringdate

    Include employees who resigned on or before this date (YYYY-MM-DD).

  • entered_at_fromstringdate

    Include employees who joined on or after this date (YYYY-MM-DD).

  • resigned_at_fromstringdate

    Include employees who resigned on or after this date (YYYY-MM-DD).

  • employment_type_idstring

    Comma-separated employment type IDs.

  • prefer_business_nameboolean

    Whether free-text search should prefer employees' business names.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Employment TypesSMARTHR_LIST_EMPLOYMENT_TYPESAcción

List one page of SmartHR employment types.

Parámetros de entrada

  • pageintegerint32

    Page of employment types to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of employment types to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List GradesSMARTHR_LIST_GRADESAcción

List one page of SmartHR grades.

Parámetros de entrada

  • pageintegerint32

    Page of grades to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of grades to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Job CategoriesSMARTHR_LIST_JOB_CATEGORIESAcción

List one page of SmartHR job categories.

Parámetros de entrada

  • pageintegerint32

    Page of job categories to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of job categories to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Job TitlesSMARTHR_LIST_JOB_TITLESAcción

List one page of SmartHR job titles using the documented sort option.

Parámetros de entrada

  • pageintegerint32

    Page of job titles to fetch. Ignored when cursor is supplied.

  • sortstring

    Comma-separated sort fields; prefix a field with '-' for descending order. SmartHR does not publish a finite list of accepted sort keys.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of job titles to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Mail FormatsSMARTHR_LIST_MAIL_FORMATSAcción

List one page of SmartHR mail formats. Set embed to crew_input_forms to include the employee input forms linked to each format.

Parámetros de entrada

  • pageintegerint32

    Page of mail formats to fetch. Ignored when cursor is supplied.

  • embedstring

    Set to 'crew_input_forms' to embed linked employee input forms.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of mail formats to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Payment PeriodsSMARTHR_LIST_PAYMENT_PERIODSAcción

List one page of SmartHR payroll payment periods.

Parámetros de entrada

  • pageintegerint32

    Page of payment periods to fetch. Ignored when cursor is supplied.

  • sortstring

    Comma-separated sort fields; prefix a field with '-' for descending order. SmartHR does not publish a finite list of accepted sort keys.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of payment periods to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PayrollsSMARTHR_LIST_PAYROLLSAcción

List one page of sensitive SmartHR payroll groups using payment-date and payment-type filters. The access token needs payroll Reference permission.

Parámetros de entrada

  • pageintegerint32

    Page of payroll groups to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of payroll groups to return per page (1-100).

  • paid_at_tostringdate

    Include payroll groups paid on or before this date (YYYY-MM-DD).

  • paid_at_fromstringdate

    Include payroll groups paid on or after this date (YYYY-MM-DD).

  • payment_typestringenum

    Filter by salary or bonus payment type.

    salarybonus

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PayslipsSMARTHR_LIST_PAYSLIPSAcción

List one page of highly sensitive SmartHR payslips in a payroll group. The access token needs payslip Reference permission, and employee fields may be permission-filtered.

Parámetros de entrada

  • pageintegerint32

    Page of payslips to fetch. Ignored when cursor is supplied.

  • embedstring

    Set to company to embed company details in each payslip.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of payslips to return per page (1-100).

  • payroll_idstringObligatorio

    SmartHR payroll group ID whose payslips to list.

  • employee_idstring

    Comma-separated employee IDs whose payslips to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Recruitment TypesSMARTHR_LIST_RECRUITMENT_TYPESAcción

List one page of SmartHR recruitment types.

Parámetros de entrada

  • pageintegerint32

    Page of recruitment types to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of recruitment types to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Tax WithholdingsSMARTHR_LIST_TAX_WITHHOLDINGSAcción

List one page of sensitive SmartHR tax-withholding groups. The access token needs tax-withholding-group Reference permission.

Parámetros de entrada

  • pageintegerint32

    Page of tax-withholding groups to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of tax-withholding groups to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Tax Withholding SlipsSMARTHR_LIST_TAX_WITHHOLDING_SLIPSAcción

List one page of sensitive tax-withholding slips in a SmartHR tax-withholding group. The access token needs tax-withholding-slip Reference permission, and employee fields may be permission-filtered.

Parámetros de entrada

  • pageintegerint32

    Page of tax-withholding slips to fetch. Ignored when cursor is supplied.

  • embedstring

    Set to company to embed company details in each slip.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of tax-withholding slips to return per page (1-100).

  • tax_withholding_idstringObligatorio

    Tax-withholding group ID whose slips to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List UsersSMARTHR_LIST_USERSAcción

List one page of SmartHR user accounts with the documented sort and embed options, invitation status, role, and email-delivery status.

Parámetros de entrada

  • pageintegerint32

    Page of users to fetch. Ignored when cursor is supplied.

  • sortstring

    Comma-separated sort fields; prefix a field with '-' for descending order. SmartHR does not publish a finite list of accepted sort keys.

  • embedstringenum

    Related object to embed in each user record.

    crewbiz_establishmentbiz_establishment_companydepartment_company
  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of users to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List WebhooksSMARTHR_LIST_WEBHOOKSAcción

List one page of SmartHR webhook configurations.

Parámetros de entrada

  • pageintegerint32

    Page of webhooks to fetch. Ignored when cursor is supplied.

  • cursorstring

    Continuation cursor returned by a previous call. Omit for the first page.

  • per_pageintegerint32

    Number of webhooks to return per page (1-100).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially Update DepartmentSMARTHR_PARTIALLY_UPDATE_DEPARTMENTAcción

Partially update a SmartHR department by ID. The connected API access token must have the department resource Update permission.

Parámetros de entrada

  • codestring

    Department code.

  • namestringObligatorio

    Department name. SmartHR does not allow forward slashes (/).

  • positionintegerint32

    Department position.

  • parent_idstring

    Parent department ID.

  • company_idstring

    Company ID.

  • department_idstringObligatorio

    SmartHR department ID of the department to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially Update Employee Custom Field TemplateSMARTHR_PARTIALLY_UPDATE_EMPLOYEE_CUSTOM_FIELD_TEMPLATEAcción

Partially update an employee custom-field template. Elements apply only to enum templates. When a future-dated employee update is pending for the template, SmartHR permits updating only the hint.

Parámetros de entrada

  • hintstring

    Input hint.

  • namestring

    Custom employee field name.

  • typestringenum

    Input type.

    datedecimalenumfilestringtext
  • scaleintegerint32

    Decimal precision.

  • elementsobject[]

    Dropdown elements. Only applicable when type is 'enum'.

  • group_idstring

    ID of the custom employee field group.

  • positionintegerint32

    Custom employee field position.

  • template_idstringObligatorio

    Custom employee field template ID.

  • separated_by_commasboolean

    Whether numbers display with thousands separators.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially Update Employment TypeSMARTHR_PARTIALLY_UPDATE_EMPLOYMENT_TYPEAcción

Partially update a SmartHR employment type by ID. SmartHR does not allow renaming a system preset employment type or updating an employment type used by a pending future-dated employee update. The connected API access token must have the employment type resource Update permission.

Parámetros de entrada

  • codestring

    Employment type code.

  • namestringObligatorio

    Employment type name.

  • employment_type_idstringObligatorio

    SmartHR employment type ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially Update PayrollSMARTHR_PARTIALLY_UPDATE_PAYROLLAcción

Partially update the administrator-facing and employee-facing names of a sensitive SmartHR payroll group by ID. Both names are required by SmartHR. The connected API access token must have the payroll resource Update permission.

Parámetros de entrada

  • payroll_idstringObligatorio

    ID of the sensitive SmartHR payroll group to update.

  • name_for_crewstringObligatorio

    Payroll group name shown to employees.

  • name_for_adminstringObligatorio

    Payroll group name shown to SmartHR administrators.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially Update User SAML ConfigurationSMARTHR_PARTIALLY_UPDATE_USER_SAML_CONFIGURATIONAcción

Partially update the SAML SSO account configuration for one SmartHR user. The tenant must have SAML SSO enabled, and the connected API access token must have the user resource Update permission.

Parámetros de entrada

  • idstringObligatorio

    SmartHR user ID whose SAML configuration to update.

  • upnstringObligatorio

    User identifier for the linked identity provider account.

  • enablebooleanObligatorio

    Whether the user's SAML account is enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially Update WebhookSMARTHR_PARTIALLY_UPDATE_WEBHOOKAcción

Partially update a SmartHR webhook by ID. Changing its destination or event selections can redirect future employee and dependent data externally, so confirm them before calling. The connected API access token must have the webhook resource Update permission.

Parámetros de entrada

  • urlstring

    Webhook notification destination URL.

  • webhook_idstringObligatorio

    SmartHR webhook ID.

  • access_typestringenum

    Webhook access type.

    read_and_updatehiddenread_and_update_only_origin
  • descriptionstring

    Webhook description.

  • disabled_atstringdate

    Date on which the webhook is disabled.

  • crew_createdboolean

    Whether to notify when employee information is created.

  • crew_deletedboolean

    Whether to notify when employee information is deleted.

  • crew_updatedboolean

    Whether to notify when employee information is updated.

  • secret_tokenstringpassword

    Secret token included with webhook notifications.

  • crew_importedboolean

    Whether to notify when employee information is imported.

  • expose_only_idboolean

    Whether webhook notifications contain only the changed record ID.

  • dependent_createdboolean

    Whether to notify when dependent information is created.

  • dependent_deletedboolean

    Whether to notify when dependent information is deleted.

  • dependent_updatedboolean

    Whether to notify when dependent information is updated.

  • dependent_importedboolean

    Whether to notify when dependent information is imported.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Publish PayrollSMARTHR_PUBLISH_PAYROLLAcción

Irreversibly publish one sensitive SmartHR payroll group immediately or at a scheduled time within one month, optionally notifying employees. The connected API access token must have payroll Update permission.

Parámetros de entrada

  • payroll_idstringObligatorio

    SmartHR payroll group ID to publish.

  • published_atstringdate-time

    Optional scheduled publication time. It cannot be in the past and must be within one month; omit it to publish immediately.

  • notify_with_publishboolean

    Whether SmartHR should notify employees when publishing. Omit it to publish without notification.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Employee DepartmentsSMARTHR_REMOVE_EMPLOYEE_DEPARTMENTSAcción

Remove all department assignments from one employee using the documented SmartHR endpoint. This requires the employee resource and field Update permissions assigned to the connected access token.

Parámetros de entrada

  • employee_idstringObligatorio

    SmartHR employee ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reopen PayrollSMARTHR_REOPEN_PAYROLLAcción

Reopen one sensitive SmartHR payroll group. Reopening a published payroll may also unpublish it. The connected API access token must have payroll Update permission.

Parámetros de entrada

  • payroll_idstringObligatorio

    SmartHR payroll group ID to reopen.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace DepartmentSMARTHR_REPLACE_DEPARTMENTAcción

Replace a SmartHR department through PUT. Omitted optional attributes are deleted; use the partial-update action to preserve attributes that are not being changed. Departments with pending employee updates in their hierarchy cannot be updated.

Parámetros de entrada

  • codestring

    Department code. Omitting it deletes the current value.

  • namestringObligatorio

    Department name. SmartHR does not allow forward slashes (/).

  • positionintegerObligatorioint32

    Department position. SmartHR requires this field for PUT updates.

  • parent_idstring

    Parent department ID. Omitting it deletes the current value.

  • company_idstring

    Company ID. Omitting it deletes the current value.

  • department_idstringObligatorio

    ID of the SmartHR department to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Employee Custom Field TemplateSMARTHR_REPLACE_EMPLOYEE_CUSTOM_FIELD_TEMPLATEAcción

Replace an employee custom-field template through the documented PUT operation. Omitted optional attributes are deleted; use the PATCH action to preserve attributes that are not being changed. Existing dropdown elements omitted from elements are also deleted.

Parámetros de entrada

  • idstringObligatorio

    Custom employee field template ID.

  • hintstring

    Input hint.

  • namestringObligatorio

    Custom employee field name.

  • typestringObligatorioenum

    Input type.

    datedecimalenumfilestringtext
  • scaleintegerint32

    Decimal precision.

  • elementsobject[]

    Dropdown elements. Only applicable when type is 'enum'.

  • group_idstringObligatorio

    ID of the custom employee field group.

  • positionintegerObligatorioint32

    Custom employee field position.

  • separated_by_commasboolean

    Whether numbers display with thousands separators.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Employee Custom Field Template GroupSMARTHR_REPLACE_EMPLOYEE_CUSTOM_FIELD_TEMPLATE_GROUPAcción

Replace an employee custom-field template group through the documented PUT operation. Omitted optional attributes are deleted; use the PATCH action to preserve attributes that are not being changed.

Parámetros de entrada

  • idstringObligatorio

    Employee custom-field template group ID.

  • namestringObligatorio

    Employee custom-field template group name.

  • positionintegerint32

    Display position of the group.

  • access_typestringenum

    Access policy that controls whether and how employees can view or update values.

    read_and_updatehiddenread_and_update_valuesread_and_update_only_origin

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Employment TypeSMARTHR_REPLACE_EMPLOYMENT_TYPEAcción

Replace a SmartHR employment type through PUT. Attributes omitted from the PUT contract are deleted; use the partial-update action to preserve them. System-standard employment types and employment types used by pending employee updates cannot be changed.

Parámetros de entrada

  • idstringObligatorio

    Employment type ID.

  • namestringObligatorio

    Employment type name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace GradeSMARTHR_REPLACE_GRADEAcción

Replace a SmartHR grade by ID using full PUT semantics. The PUT contract allows name and rank to be omitted. Grades used by pending future-dated employee updates cannot be changed. The connected API access token must have the grade resource Update permission.

Parámetros de entrada

  • namestring

    Grade name.

  • rankintegerint32

    Grade rank from 1 to 99999.

  • grade_idstringObligatorio

    ID of the SmartHR grade to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Job CategorySMARTHR_REPLACE_JOB_CATEGORYAcción

Replace a SmartHR job category by ID using full PUT semantics. The PUT contract allows name to be omitted. Job categories used by pending future-dated employee updates cannot be changed. The connected API access token must have the job category resource Update permission.

Parámetros de entrada

  • namestring

    Job category name.

  • job_category_idstringObligatorio

    ID of the SmartHR job category to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Job TitleSMARTHR_REPLACE_JOB_TITLEAcción

Replace a SmartHR job title by ID using full PUT semantics. The PUT contract allows name and rank to be omitted. Job titles used by pending future-dated employee updates cannot be changed. The connected API access token must have the job title resource Update permission.

Parámetros de entrada

  • namestring

    Job title name.

  • rankintegerint32

    Job title rank from 1 to 99999.

  • job_title_idstringObligatorio

    ID of the SmartHR job title to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Recruitment TypeSMARTHR_REPLACE_RECRUITMENT_TYPEAcción

Replace a SmartHR recruitment type by ID using full PUT semantics. Name is required for the complete replacement. Recruitment types used by pending future-dated employee updates cannot be changed. The connected API access token must have the recruitment type resource Update permission.

Parámetros de entrada

  • namestringObligatorio

    Recruitment type name.

  • recruitment_type_idstringObligatorio

    ID of the SmartHR recruitment type to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace Tax WithholdingSMARTHR_REPLACE_TAX_WITHHOLDINGAcción

Replace a sensitive SmartHR tax-withholding group by ID using full PUT semantics. Name, status, and year are all required for the complete replacement. Finalized tax withholdings cannot be updated. The connected API access token must have the tax-withholding-group resource Update permission.

Parámetros de entrada

  • namestringObligatorio

    Tax-withholding group name.

  • yearstringObligatorioenum

    Japanese era year printed on the tax-withholding slips.

    H28H29H30H31R01R02R03R04R05R06R07R08+1
  • statusstringObligatorioenum

    Tax-withholding group status.

    wipfixedimporting
  • tax_withholding_idstringObligatorio

    ID of the sensitive SmartHR tax-withholding group to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace WebhookSMARTHR_REPLACE_WEBHOOKAcción

Replace a SmartHR webhook through PUT. Omitted optional attributes are deleted; use the partial-update action to preserve attributes that are not being changed. Changing its destination or event selections can redirect future employee and dependent data externally, so confirm them before calling.

Parámetros de entrada

  • idstringObligatorio

    Webhook ID.

  • urlstringObligatorio

    Webhook destination URL.

  • access_typestringenum

    Webhook access type.

    read_and_updatehiddenread_and_update_only_origin
  • descriptionstring

    Webhook description.

  • disabled_atstringdate

    Date when the webhook is disabled.

  • crew_createdbooleanObligatorio

    Whether to notify when employee information is created.

  • crew_deletedbooleanObligatorio

    Whether to notify when employee information is deleted.

  • crew_updatedbooleanObligatorio

    Whether to notify when employee information is updated.

  • secret_tokenstringpassword

    Secret token attached to outbound webhook deliveries.

  • crew_importedbooleanObligatorio

    Whether to notify when employee information is imported.

  • expose_only_idboolean

    Whether webhook deliveries include only changed data IDs.

  • dependent_createdbooleanObligatorio

    Whether to notify when dependent information is created.

  • dependent_deletedbooleanObligatorio

    Whether to notify when dependent information is deleted.

  • dependent_updatedbooleanObligatorio

    Whether to notify when dependent information is updated.

  • dependent_importedbooleanObligatorio

    Whether to notify when dependent information is imported.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Dependent Import JobSMARTHR_START_DEPENDENT_IMPORT_JOBAcción

Start an asynchronous SmartHR dependent-data import from a Base64-encoded CSV or Excel file. This creates a background job that processes sensitive family HR data; the connected API access token must have the corresponding resource and employee-field Update permissions.

Parámetros de entrada

  • fileobjectObligatorio

    Sensitive dependent-data file to import asynchronously.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Employee Export JobSMARTHR_START_EMPLOYEE_EXPORT_JOBAcción

Start a SmartHR background job that exports employee information using an existing custom download format. A successful 201 response only confirms that the asynchronous job was registered; use the batch-job actions to monitor it and retrieve any resulting attachment. The connected access token must have the required resource and employee-field Update permissions.

Parámetros de entrada

  • crew_export_format_idstringObligatorio

    ID of an existing SmartHR custom employee download format to use for the export.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Employee Import JobSMARTHR_START_EMPLOYEE_IMPORT_JOBAcción

Start a SmartHR background job that inserts or updates employees from a sensitive base64-encoded CSV or Excel file. The connected API access token must have the required resource and employee-field Update permissions.

Parámetros de entrada

  • fileobjectObligatorio

    Sensitive employee data file to process asynchronously.

  • modestringObligatorioenum

    Whether the import inserts new employees or updates existing employees.

    insertupdate

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update EmployeeSMARTHR_UPDATE_EMPLOYEEAcción

Update the supplied documented fields of one employee by SmartHR employee ID.

Parámetros de entrada

  • idstringObligatorio

    SmartHR employee ID of the employee to update.

  • emailstring

    Employee email.

  • gradestring

    Employee grade.

  • genderstringenum

    Employee gender.

    malefemale
  • tax_cdstringenum

    Employee taxation category.

    kouotsuheirewardnon_residentno_taxation_required
  • addressobject

    Employee address.

  • resume1object

    Employee resume1.

  • resume2object

    Employee resume2.

  • user_idstring

    Employee user ID.

  • birth_atstring

    Employee birth date.

  • emp_codestring

    Employee employment code.

  • emp_typestringenum

    Employee employment type.

    board_memberfull_timercontract_workerpermatemppart_timeroutsourcing_contractoretc
  • positionstring

    Employee position.

  • last_namestring

    Employee last name.

  • positionsstring[]

    Employee positions.

  • departmentstring

    Employee department.

  • emp_statusstringenum

    Employee employment status.

    employedabsentretired
  • entered_atstring

    Employee entered date.

  • first_namestring

    Employee first name.

  • occupationstring

    Employee occupation.

  • tel_numberstring

    Employee telephone number.

  • widow_memostring

    Employee widow memo.

  • widow_typestringenum

    Employee widow type.

    widowsingle_parent
  • enrolled_atstring

    Employee enrolled date.

  • resigned_atstring

    Employee resigned date.

  • school_namestring

    Employee school name.

  • job_categorystring

    Employee job category.

  • address_imageobject

    Employee address image.

  • bank_accountsobject[]

    Employee bank accounts.

  • contract_typestringenum

    Employee contract type.

    unlimitedfixed_term
  • custom_fieldsobject[]

    Employee custom fields.

  • having_spouseboolean

    Employee having spouse.

  • profile_imageobject

    Employee profile image.

  • department_idsstring[]

    Employee department IDs.

  • last_name_yomistring

    Employee last name phonetic reading.

  • last_workplacestring

    Employee last workplace.

  • contract_end_onstring

    Employee contract end on.

  • first_name_yomistring

    Employee first name phonetic reading.

  • first_workplacestring

    Employee first workplace.

  • resident_end_atstring

    Employee resident end date.

  • resigned_reasonstring

    Employee resigned reason.

  • handicapped_typestringenum

    Employee handicapped type.

    ordinary_handicappedspecial_handicapped
  • nationality_codestring

    Employee nationality code.

  • recruitment_typestring

    Employee recruitment type.

  • contract_start_onstring

    Employee contract start on.

  • emergency_addressobject

    Employee emergency address.

  • handicapped_imageobject

    Employee handicapped image.

  • payment_period_idstring

    Employee payment period ID.

  • widow_reason_typestringenum

    Employee widow reason type.

    divorcebereavementmissingunmarried
  • business_last_namestring

    Employee business last name.

  • employment_type_idstring

    Employee employment type ID.

  • estate_income_flagboolean

    Employee estate income flag.

  • previous_workplacestring

    Employee previous workplace.

  • student_card_imageobject

    Employee student card image.

  • business_first_namestring

    Employee business first name.

  • emergency_last_namestring

    Employee emergency last name.

  • monthly_base_salaryinteger

    Employee monthly base salary.

  • basic_pension_numberstring

    Employee basic pension number.

  • biz_establishment_idstring

    Employee business establishment ID.

  • business_income_flagboolean

    Employee business income flag.

  • commutation_1_periodstringenum

    Employee commutation 1 period.

    commutation_period_1_monthcommutation_period_3_monthcommutation_period_6_month
  • commutation_2_periodstringenum

    Employee commutation 2 period.

    commutation_period_1_monthcommutation_period_3_monthcommutation_period_6_month
  • devidend_income_flagboolean

    Whether the employee has dividend income.

  • emergency_first_namestring

    Employee emergency first name.

  • emergency_tel_numberstring

    Employee emergency telephone number.

  • emp_ins_qualified_atstring

    Employee employment insurance qualified date.

  • identity_card_image1object

    Employee identity card image1.

  • identity_card_image2object

    Employee identity card image2.

  • monthly_income_goodsinteger

    Employee monthly income goods.

  • resident_status_typestring

    Employee resident status type.

  • soc_ins_qualified_atstring

    Employee social insurance qualified date.

  • spouse_yearly_incomeinteger

    Employee spouse yearly income.

  • working_student_flagboolean

    Employee working student flag.

  • address_relation_namestring

    Employee address relation name.

  • contract_renewal_typestringenum

    Employee contract renewal type.

    renewalnoneauto_renewal
  • handicapped_note_typestring

    Employee handicapped note type.

  • resident_card_addressobject

    Employee resident card address.

  • address_head_of_familystring

    Employee address head of family.

  • commutation_1_expensesinteger

    Employee commutation 1 expenses.

  • commutation_2_expensesinteger

    Employee commutation 2 expenses.

  • employment_income_flagboolean

    Employee employment income flag.

  • last_employment_end_onstring

    Employee last employment end on.

  • other_be_workable_typestringenum

    Dispatch or contract-work category.

    other_be_workableothers
  • working_student_incomeinteger

    Employee working student income.

  • business_last_name_yomistring

    Employee business last name phonetic reading.

  • child_care_contributioninteger

    Employee child care contribution.

  • emergency_relation_namestring

    Employee emergency relation name.

  • emp_ins_disqualified_atstring

    Employee employment insurance disqualified date.

  • first_employment_end_onstring

    Employee first employment end on.

  • monthly_income_currencyinteger

    Employee monthly income currency.

  • soc_ins_disqualified_atstring

    Employee social insurance disqualified date.

  • business_first_name_yomistring

    Employee business first name phonetic reading.

  • emergency_last_name_yomistring

    Employee emergency last name phonetic reading.

  • last_employment_start_onstring

    Employee last employment start on.

  • nearest_station_and_linestring

    Employee nearest station and line.

  • commutation_1_single_fareinteger

    Employee commutation 1 single fare.

  • commutation_2_single_fareinteger

    Employee commutation 2 single fare.

  • emergency_first_name_yomistring

    Employee emergency first name phonetic reading.

  • first_employment_start_onstring

    Employee first employment start on.

  • basic_pension_number_imageobject

    Employee basic pension number image.

  • foreign_resident_last_namestring

    Employee foreign resident last name.

  • previous_employment_end_onstring

    Employee previous employment end on.

  • foreign_resident_first_namestring

    Employee foreign resident first name.

  • last_workplace_address_textstring

    Employee last workplace address text.

  • monthly_standard_income_helinteger

    Employee monthly standard income health.

  • monthly_standard_income_pnsinteger

    Employee monthly standard income pension.

  • first_workplace_address_textstring

    Employee first workplace address text.

  • foreign_resident_card_image1object

    Employee foreign resident card image1.

  • foreign_resident_card_image2object

    Employee foreign resident card image2.

  • foreign_resident_card_numberstring

    Employee foreign resident card number.

  • foreign_resident_middle_namestring

    Employee foreign resident middle name.

  • handicapped_note_delivery_atstring

    Employee handicapped note delivery date.

  • previous_employment_start_onstring

    Employee previous employment start on.

  • resident_status_other_reasonstring

    Employee resident status other reason.

  • emp_ins_insured_person_numberstring

    Employee employment insurance insured person number.

  • having_ex_activity_permissionstringenum

    Employee having ex activity permission.

    permittednone
  • health_insurance_qualified_atstring

    Employee health insurance qualified date.

  • hel_ins_insured_person_numberinteger

    Employee health insurance insured person number.

  • soc_ins_insured_person_numberinteger

    Employee social insurance insured person number.

  • care_insurance_premium_companyinteger

    Employee care insurance premium company.

  • child_care_support_fund_companyinteger

    Employee child care support fund company.

  • health_insurance_disqualified_atstring

    Employee health insurance disqualified date.

  • health_insurance_premium_companyinteger

    Employee health insurance premium company.

  • care_insurance_premium_individualinteger

    Employee care insurance premium individual.

  • child_care_support_fund_individualinteger

    Employee child care support fund individual.

  • insurance_premium_calculation_typestringenum

    Employee insurance premium calculation type.

    ratefixed
  • monthly_standard_income_updated_atstring

    Employee monthly standard income updated date.

  • emp_ins_insured_person_number_imageobject

    Employee employment insurance insured person number image.

  • first_enrolling_in_emp_pns_ins_flagboolean

    Employee first enrolling in employment pension insurance flag.

  • health_insurance_premium_individualinteger

    Employee health insurance premium individual.

  • resident_card_address_relation_namestring

    Employee resident card address relation name.

  • resident_card_address_head_of_familystring

    Employee resident card address head of family.

  • basic_pension_number_unknown_reason_typestringenum

    Employee basic pension number unknown reason type.

    non_pensionableunknown
  • employees_pension_insurance_qualified_atstring

    Employee employees pension insurance qualified date.

  • employees_pension_insurance_disqualified_atstring

    Employee employees pension insurance disqualified date.

  • employees_pension_insurance_premium_companyinteger

    Employee employees pension insurance premium company.

  • employees_pension_insurance_premium_individualinteger

    Employee employees pension insurance premium individual.

  • emp_ins_insured_person_number_unknown_reason_typestringenum

    Employee employment insurance insured person number unknown reason type.

    no_work_experiencenever_joinedunknown

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Employee Custom Field Template GroupSMARTHR_UPDATE_EMPLOYEE_CUSTOM_FIELD_TEMPLATE_GROUPAcción

Update one or more supplied fields of an employee custom-field template group.

Parámetros de entrada

  • idstringObligatorio

    Employee custom-field template group ID.

  • namestring

    Employee custom-field template group name.

  • positionintegerint32

    Display position of the group.

  • access_typestringenum

    Access policy that controls whether and how employees can view or update values.

    read_and_updatehiddenread_and_update_valuesread_and_update_only_origin

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Employee DependentSMARTHR_UPDATE_EMPLOYEE_DEPENDENTAcción

Update the supplied fields of one dependent belonging to an employee.

Parámetros de entrada

  • idstringObligatorio

    Dependent id.

  • jobstring

    Dependent job.

  • codestring

    Dependent code.

  • genderstringenum

    Dependent gender.

    malefemale
  • incomeintegerint32

    Dependent income.

  • addressobject

    Dependent address.

  • birth_atstringdate

    Dependent birth date.

  • moved_atstringdate

    Dependent moved date.

  • is_spouseboolean

    Dependent is spouse.

  • last_namestring

    Dependent last name.

  • first_namestring

    Dependent first name.

  • tel_numberstring

    Dependent telephone number.

  • employee_idstringObligatorio

    SmartHR employee ID.

  • relation_idstring

    Dependent relation ID.

  • custom_fieldsobject[]

    Dependent custom fields.

  • kinship_imageobject

    Dependent kinship image.

  • last_name_yomistring

    Dependent last name phonetic reading.

  • monthly_incomeintegerint32

    Dependent monthly income.

  • first_name_yomistring

    Dependent first name phonetic reading.

  • handicapped_typestringenum

    Dependent handicapped type.

    ordinary_handicappedspecial_handicappedspecial_handicapped_living_together
  • handicapped_imageobject

    Dependent handicapped image.

  • remittance_image1object

    Dependent remittance image1.

  • remittance_image2object

    Dependent remittance image2.

  • remittance_image3object

    Dependent remittance image3.

  • live_together_typestringenum

    Dependent live together type.

    living_togetherliving_separately
  • disqualified_reasonstring

    Dependent disqualified reason.

  • basic_pension_numberstring

    Dependent basic pension number.

  • soc_ins_qualified_atstringdate

    Dependent social insurance qualified date.

  • tax_deduction_incomeintegerint32

    Dependent tax deduction income.

  • tax_law_support_typestringenum

    Dependent tax law support type.

    unsupportedunsupported_same_living_spousesupportedspecial_spousal_exemptionunknown
  • handicapped_note_typestring

    Dependent handicapped note type.

  • international_studentboolean

    Dependent international student.

  • remittance_to_relativeintegerint32

    Dependent remittance to relative.

  • soc_ins_disqualified_atstringdate

    Dependent social insurance disqualified date.

  • disqualified_reason_typestringenum

    Dependent disqualified reason type.

    deathdivorceemploymentincome_increaseaging_out_75disability_certificateothers
  • maternity_handbook_imageobject

    Dependent maternity handbook image.

  • soc_ins_qualified_reasonstring

    Dependent social insurance qualified reason.

  • basic_pension_number_imageobject

    Dependent basic pension number image.

  • tax_deduction_qualified_atstringdate

    Dependent tax deduction qualified date.

  • international_student_imageobject

    Dependent international student image.

  • handicapped_note_delivery_atstringdate

    Dependent handicapped note delivery date.

  • social_insurance_support_typestringenum

    Dependent social insurance support type.

    unsupportedsupportedunknown
  • tax_deduction_disqualified_atstringdate

    Dependent tax deduction disqualified date.

  • tax_deduction_qualified_reasonstring

    Dependent tax deduction qualified reason.

  • tax_deduction_disqualified_reasonstring

    Dependent tax deduction disqualified reason.

  • tax_deduction_disqualified_reason_typestringenum

    Dependent tax deduction disqualified reason type.

    deathdivorceemploymentincome_increaseothers
  • spouse_dependent_disqualification_reasonstring

    Dependent spouse dependent disqualification reason.

  • spouse_dependent_disqualification_dead_atstringdate

    Dependent spouse dependent disqualification dead date.

  • spouse_dependent_qualification_reason_typestringenum

    Dependent spouse dependent qualification reason type.

    joined_employee_inschanged_soc_ins_to_mutual_aidchanged_mutual_aid_to_soc_inschanged_mutual_aid_to_mutual_aidmarriageretiredincome_decreaseothers
  • spouse_dependent_disqualification_reason_typestringenum

    Dependent spouse dependent disqualification reason type.

    deadothers

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update GradeSMARTHR_UPDATE_GRADEAcción

Update the supplied fields of a SmartHR grade by ID. Grades used by pending future-dated employee updates cannot be changed. The connected API access token must have the grade resource Update permission.

Parámetros de entrada

  • namestring

    Grade name.

  • rankintegerint32

    Grade rank from 1 to 99999.

  • grade_idstringObligatorio

    ID of the SmartHR grade to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Job CategorySMARTHR_UPDATE_JOB_CATEGORYAcción

Update the supplied fields of a SmartHR job category by ID. Job categories used by pending future-dated employee updates cannot be changed. The connected API access token must have the job category resource Update permission.

Parámetros de entrada

  • namestring

    Job category name.

  • job_category_idstringObligatorio

    ID of the SmartHR job category to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Job TitleSMARTHR_UPDATE_JOB_TITLEAcción

Update the supplied fields of a SmartHR job title by ID. Job titles used by pending future-dated employee updates cannot be changed. The connected API access token must have the job title resource Update permission.

Parámetros de entrada

  • codestring

    Job title code.

  • namestring

    Job title name.

  • rankintegerint32

    Job title rank from 1 to 99999.

  • job_title_idstringObligatorio

    ID of the SmartHR job title to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Recruitment TypeSMARTHR_UPDATE_RECRUITMENT_TYPEAcción

Update a SmartHR recruitment type by ID. Recruitment types used by pending future-dated employee updates cannot be changed. The connected API access token must have the recruitment type resource Update permission.

Parámetros de entrada

  • namestringObligatorio

    Recruitment type name.

  • recruitment_type_idstringObligatorio

    ID of the SmartHR recruitment type to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Tax WithholdingSMARTHR_UPDATE_TAX_WITHHOLDINGAcción

Update the supplied fields of a sensitive SmartHR tax-withholding group by ID. SmartHR does not allow updates after the group is fixed. The connected API access token must have the tax-withholding-group resource Update permission.

Parámetros de entrada

  • namestring

    Tax-withholding group name.

  • yearstringenum

    Japanese era year printed on the tax-withholding slips.

    H28H29H30H31R01R02R03R04R05R06R07R08+1
  • statusstringenum

    Tax-withholding group status.

    wipfixedimporting
  • tax_withholding_idstringObligatorio

    ID of the sensitive SmartHR tax-withholding group to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Tax Withholding SlipSMARTHR_UPDATE_TAX_WITHHOLDING_SLIPAcción

Update a sensitive SmartHR tax-withholding slip. The full body is required: structured updates require the complete identity, payer, tax-year, and payment body, and sparse field updates are rejected by SmartHR. Confirmed slips cannot be updated, and switching between file-backed and field-backed data requires deleting and recreating the slip. The connected API access token must have the tax-withholding-slip resource Update permission.

Parámetros de entrada

  • fileobject

    File for a file-backed tax-withholding slip.

  • memostring

    Slip notes.

  • widowstring

    Widow-status string marker; SmartHR's Swagger does not enumerate accepted values.

  • valuesstring[]

    SmartHR legacy ordered array. SmartHR does not document the item order; prefer the named fields. Use only when replaying a known provider-compatible payload.

  • widowerstring

    Widower-status string marker; SmartHR's Swagger does not enumerate accepted values.

  • column_bstring

    Tax-table column B string marker; SmartHR's Swagger does not enumerate accepted values.

  • underagestring

    Minor-status string marker; SmartHR's Swagger does not enumerate accepted values.

  • foreignerstring

    Foreign-national string marker; SmartHR's Swagger does not enumerate accepted values.

  • slip_typestring

    Tax-withholding slip type. SmartHR accepts '給与・賞与' for structured slips.

  • employee_idstringObligatorio

    ID of the employee associated with the slip.

  • crew_birth_atstringdate

    Employee date of birth.

  • crew_positionstring

    Employee job title.

  • single_parentstring

    Single-parent string marker; SmartHR's Swagger does not enumerate accepted values.

  • special_widowstring

    Special-widow string marker; SmartHR's Swagger does not enumerate accepted values.

  • crew_full_namestring

    Employee full name.

  • payment_amountinteger

    Payment amount.

  • disaster_victimstring

    Disaster-victim string marker; SmartHR's Swagger does not enumerate accepted values.

  • owner_full_namestring

    Payer full name.

  • working_studentstring

    Working-student string marker; SmartHR's Swagger does not enumerate accepted values.

  • mid_term_enteredstring

    Mid-year employment-start string marker; SmartHR's Swagger does not enumerate accepted values.

  • spouse_deductionstring

    String marker that a deductible spouse is present. SmartHR's Swagger does not enumerate accepted marker values.

  • spouse_full_namestring

    Spouse full name.

  • mid_term_resignedstring

    Mid-year resignation string marker; SmartHR's Swagger does not enumerate accepted values.

  • other_handicappedstring

    Employee other-disability string marker; SmartHR's Swagger does not enumerate accepted values.

  • resigned_by_deathstring

    Death-related resignation string marker; SmartHR's Swagger does not enumerate accepted values.

  • tax_withholding_idstringObligatorio

    ID of the SmartHR tax-withholding group containing the slip.

  • crew_full_name_yomistring

    Employee full name in phonetic form.

  • special_handicappedstring

    Employee special-disability string marker; SmartHR's Swagger does not enumerate accepted values.

  • spouse_non_residentstring

    Deductible spouse non-resident category code. SmartHR's Swagger does not enumerate accepted code values.

  • spouse_total_incomeinteger

    Spouse total income.

  • crew_address_literalstring

    Employee address.

  • spouse_deduction_substring

    String marker for the secondary deductible-spouse category. SmartHR's Swagger does not enumerate accepted marker values.

  • dependent_1_full_namestring

    First dependent full name.

  • other_dependent_countinteger

    Number of other dependents.

  • spouse_full_name_yomistring

    Spouse full name in phonetic form.

  • basic_deduction_amountinteger

    Basic deduction amount.

  • soc_ins_payment_amountinteger

    Social insurance payment amount.

  • withholding_tax_amountinteger

    Withholding tax amount.

  • elderly_dependent_countinteger

    Number of elderly dependents.

  • tax_withholding_slip_idstringObligatorio

    ID of the sensitive SmartHR tax-withholding slip to update.

  • dependent_1_non_residentstringenum

    First dependent non-resident category. Use '0' or '1' for older tax-year formats; use one of 00, 01, 02, 03, 04, 10, 11, 20, 21, 30, 31, 40, 41, 50, 51, 60, 61, 70, 71, 80, 81, 90, or 91 for current tax-year formats.

    0100010203041011202130+13
  • specific_dependent_countinteger

    Number of specific dependents.

  • spouse_deduction_elderlystring

    String marker that the deductible spouse is elderly. SmartHR's Swagger does not enumerate accepted marker values.

  • housing_loan_1_started_atstringdate

    First housing loan residence start date.

  • housing_loan_2_started_atstringdate

    Second housing loan residence start date.

  • life_ins_deduction_amountinteger

    Life insurance deduction amount.

  • other_dependent_sub_countinteger

    Number of secondary other dependents.

  • care_health_payment_amountinteger

    Nursing and medical insurance premium amount.

  • dependent_1_full_name_yomistring

    First dependent name in phonetic form.

  • elderly_dependent_sub_countinteger

    Number of secondary elderly dependents.

  • new_life_ins_payment_amountinteger

    New life insurance premium amount.

  • non_resident_relative_countinteger

    Number of non-resident relatives.

  • old_life_ins_payment_amountinteger

    Old life insurance premium amount.

  • biz_establishment_tel_numberstring

    Payer business establishment telephone number.

  • housing_loan_deduction_countinteger

    Number of housing loan deductions.

  • specific_dependent_sub_countinteger

    Number of secondary specific dependents.

  • housing_loan_1_deduction_typestring

    First housing-loan special-deduction type code. SmartHR's provider docs do not enumerate code values.

  • housing_loan_2_deduction_typestring

    Second housing-loan special-deduction type code. SmartHR's provider docs do not enumerate code values.

  • housing_loan_deduction_amountinteger

    Housing loan deduction amount.

  • under_16_years_dependent_countinteger

    Number of dependents under 16.

  • earthquake_ins_deduction_amountinteger

    Earthquake insurance deduction amount.

  • mid_term_entered_or_resigned_atstringdate

    Mid-year employment start or resignation date.

  • national_pension_payment_amountinteger

    National pension insurance premium amount.

  • spouse_special_deduction_amountinteger

    Special spouse deduction amount.

  • biz_establishment_address_literalstring

    Payer business establishment address.

  • other_handicapped_dependent_countinteger

    Number of other disabled dependents.

  • specific_relative_dependent_countinteger

    Number of specific-relative dependents.

  • income_adjustment_deduction_amountinteger

    Income adjustment deduction amount.

  • special_handicapped_dependent_countinteger

    Number of special-disabled dependents.

  • dependent_under_16_years_1_full_namestring

    First under-16 dependent full name.

  • elderly_dependent_live_together_countinteger

    Number of elderly dependents living together.

  • housing_loan_special_deduction_amountinteger

    Available housing loan special deduction amount.

  • payment_after_income_deduction_amountinteger

    Payment after income deductions.

  • specific_relative_dependent_sub_countinteger

    Number of secondary specific-relative dependents.

  • dependent_under_16_years_1_non_residentstring

    First under-16 dependent non-resident category code. SmartHR's Swagger does not enumerate accepted code values.

  • housing_loan_1_deduction_balance_amountinteger

    First housing loan year-end balance.

  • housing_loan_2_deduction_balance_amountinteger

    Second housing loan year-end balance.

  • new_personal_pension_ins_payment_amountinteger

    New personal pension insurance premium amount.

  • old_personal_pension_ins_payment_amountinteger

    Old personal pension insurance premium amount.

  • dependent_under_16_years_1_full_name_yomistring

    First under-16 dependent name in phonetic form.

  • old_long_term_property_ins_payment_amountinteger

    Old long-term casualty insurance premium amount.

  • payment_after_emp_income_deduction_amountinteger

    Payment after employment income deductions.

  • specific_relative_special_deduction_amountinteger

    Specific-relative special deduction amount.

  • special_handicapped_dependent_live_together_countinteger

    Number of special-disabled dependents living together.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not