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.
| Scope | connectors:read (sensitive) |
| Asynchronous | No |
| MCP tool | get_freee_person_employee_source |
| Portal permissions | preview_freee_employee_transfers |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
freee_person_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json FreeeEmployeeSource |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | conflict | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
conflict | 409 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
FreeeEmployeeSource
| Field | Type | Required | Description |
|---|---|---|---|
fields | array of FreeeSourceField | Required | |
freee_person | FreeePerson | Required | |
source_revision | string | Required | Identifies these values and the mapping they came from; the preview must send it back, and is refused (409) when the sources changed since. |
transfers | array of FreeeEmployeeTransfer | Required | The transfers of this person to the connected freee company, newest first, with the employee as reviewed. |
FreeeEmployeeTransfer
| Field | Type | Required | Description |
|---|---|---|---|
created_at | string (date-time) or null | Required | |
employee | FreeeNewEmployee or null | Required | The employee as reviewed. Null in a task's result: the Portal keeps the details in its own journal. |
freee_company_id | string | Required | |
freee_employee_id | string or null | Required | freee's ID of the employee once it was created. |
freee_employee_transfer_id | string | Required | |
freee_person | FreeePerson | Required | |
provider_request_reference | string or null | Required | freee's request reference of the create call, which freee's support needs to reconcile an employee. |
status | string | Required | draft (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_at | string (date-time) or null | Required |
FreeeNewEmployee
| Field | Type | Required | Description |
|---|---|---|---|
account_name | string or null | Required | The holder's name in katakana or Latin letters, up to 50 characters. |
account_number | string or null | Required | Up to 7 digits. |
account_type | string or null | Required | ordinary, current or saving. |
address | string or null | Required | |
address_kana | string or null | Required | |
bank_code | string or null | Required | 4 digits. A salary account needs bank_code, branch_code, account_type, account_number and account_name together. |
bank_name | string or null | Required | |
bank_name_kana | string or null | Required | |
base_pension_num | string or null | Required | 10 digits. |
birth_date | string | Required | YYYY-MM-DD, not in the future. |
branch_code | string or null | Required | 3 digits. |
branch_name | string or null | Required | |
branch_name_kana | string or null | Required | |
company_reference_date_rule_name | string or null | Required | Up to 15 characters. |
email | string or null | Required | |
employment_insurance_reference_number | string or null | Required | 11 digits. |
employment_type | string or null | Required | board-member, regular, fixed-term, part-time or temporary. |
entry_date | string | Required | The joining date, YYYY-MM-DD, between 2000 and 2100 and not before the birth date. |
first_name | string | Required | |
first_name_kana | string | Required | |
gender | string or null | Required | unselected, male or female. |
last_name | string | Required | |
last_name_kana | string | Required | |
married | boolean or null | Required | |
no_payroll_calculation | boolean | Required | True for an employee outside payroll calculation, who takes only the basic fields. False (the default) for a payroll employee. |
num | string | Required | freee's employee number. |
pay_amount | integer or null | Required | Base pay, 0 to 99999999. Required for a payroll employee. |
pay_calc_type | string or null | Required | monthly, daily or hourly. Required for a payroll employee. |
phone | string or null | Required | Three groups of digits, 03-1234-5678. |
prefecture | string or null | Required | A prefecture in Japanese, 北海道 to 沖縄県; an address needs it. |
residential_address | string or null | Required | |
residential_address_kana | string or null | Required | |
residential_prefecture | string or null | Required | |
residential_zipcode | string or null | Required | 7 digits. |
title | string or null | Required | |
working_hours_system_name | string or null | Required | Up to 30 characters. |
zipcode | string or null | Required | 7 digits. |
FreeePerson
| Field | Type | Required | Description |
|---|---|---|---|
freee_person_id | string | Required | The person's row in the person register. |
name | string or null | Required | |
reference | string or null | Required |
FreeeSourceField
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_id | string or null | Required | |
custom_field_name | string or null | Required | |
custom_field_template_id | string or null | Required | |
document_id | string or null | Required | The resume document a resume value was read from. |
employee_field | string | Required | |
source | string | Required | |
value | string | Required | What 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. |