Skip to main content

Get what the registers give for one person's freee employee.

GET/api/v1/freee-people/{freee_person_id}/employee-sourceconnectors:read

The values of every bound field for the person, where each was read from, the source_revision the review must send, and the transfers already made for the person to the connected freee company. Like the Portal it needs the operator's switch on and a freee HR connection with employee write access and an approved destination (403 otherwise; approving is done in the Portal), and 403 when a resume value comes from a document you cannot read. Needs Preview Freee Employee Transfers.

Scopeconnectors:read (sensitive)
AsynchronousNo
MCP toolget_freee_person_employee_source
Portal permissionspreview_freee_employee_transfers

Parameters​

NameInTypeRequiredDescription
freee_person_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json FreeeEmployeeSource
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

FreeeEmployeeSource​

FieldTypeRequiredDescription
fieldsarray of FreeeSourceFieldRequired
freee_personFreeePersonRequired
source_revisionstringRequiredIdentifies these values and the mapping they came from; the preview must send it back, and is refused (409) when the sources changed since.
transfersarray of FreeeEmployeeTransferRequiredThe transfers of this person to the connected freee company, newest first, with the employee as reviewed.

FreeeEmployeeTransfer​

FieldTypeRequiredDescription
created_atstring (date-time) or nullRequired
employeeFreeeNewEmployee or nullRequiredThe employee as reviewed. Null in a task's result: the Portal keeps the details in its own journal.
freee_company_idstringRequired
freee_employee_idstring or nullRequiredfreee's ID of the employee once it was created.
freee_employee_transfer_idstringRequired
freee_personFreeePersonRequired
provider_request_referencestring or nullRequiredfreee's request reference of the create call, which freee's support needs to reconcile an employee.
statusstringRequireddraft (reviewed, nothing sent), sending, created (the employee exists in freee), details (created and linked; a section freee did not accept waits for correct-details), verified (done), rejected (freee refused: nothing was created) or unknown (the outcome could not be confirmed: inspect freee before anything is sent again). Open.
submitted_atstring (date-time) or nullRequired

FreeeNewEmployee​

FieldTypeRequiredDescription
account_namestring or nullRequiredThe holder's name in katakana or Latin letters, up to 50 characters.
account_numberstring or nullRequiredUp to 7 digits.
account_typestring or nullRequiredordinary, current or saving.
addressstring or nullRequired
address_kanastring or nullRequired
bank_codestring or nullRequired4 digits. A salary account needs bank_code, branch_code, account_type, account_number and account_name together.
bank_namestring or nullRequired
bank_name_kanastring or nullRequired
base_pension_numstring or nullRequired10 digits.
birth_datestringRequiredYYYY-MM-DD, not in the future.
branch_codestring or nullRequired3 digits.
branch_namestring or nullRequired
branch_name_kanastring or nullRequired
company_reference_date_rule_namestring or nullRequiredUp to 15 characters.
emailstring or nullRequired
employment_insurance_reference_numberstring or nullRequired11 digits.
employment_typestring or nullRequiredboard-member, regular, fixed-term, part-time or temporary.
entry_datestringRequiredThe joining date, YYYY-MM-DD, between 2000 and 2100 and not before the birth date.
first_namestringRequired
first_name_kanastringRequired
genderstring or nullRequiredunselected, male or female.
last_namestringRequired
last_name_kanastringRequired
marriedboolean or nullRequired
no_payroll_calculationbooleanRequiredTrue for an employee outside payroll calculation, who takes only the basic fields. False (the default) for a payroll employee.
numstringRequiredfreee's employee number.
pay_amountinteger or nullRequiredBase pay, 0 to 99999999. Required for a payroll employee.
pay_calc_typestring or nullRequiredmonthly, daily or hourly. Required for a payroll employee.
phonestring or nullRequiredThree groups of digits, 03-1234-5678.
prefecturestring or nullRequiredA prefecture in Japanese, 北海道 to 沖縄県; an address needs it.
residential_addressstring or nullRequired
residential_address_kanastring or nullRequired
residential_prefecturestring or nullRequired
residential_zipcodestring or nullRequired7 digits.
titlestring or nullRequired
working_hours_system_namestring or nullRequiredUp to 30 characters.
zipcodestring or nullRequired7 digits.

FreeePerson​

FieldTypeRequiredDescription
freee_person_idstringRequiredThe person's row in the person register.
namestring or nullRequired
referencestring or nullRequired

FreeeSourceField​

FieldTypeRequiredDescription
custom_field_idstring or nullRequired
custom_field_namestring or nullRequired
custom_field_template_idstring or nullRequired
document_idstring or nullRequiredThe resume document a resume value was read from.
employee_fieldstringRequired
sourcestringRequired
valuestringRequiredWhat the register holds, in freee's form where Docwize knows the Japanese labels (a gender, a pay type, an employment type, an account type, married); empty when the register has nothing.