Review a person as a freee employee (a draft transfer).
POST/api/v1/freee-employee-transfers/previewconnectors:write
Validates the employee against freee's rules and records it as the person's draft transfer, replacing an earlier draft or rejected one. Nothing is sent to freee. 409 when the sources changed since source_revision, when the person already has a freee employee link, or when the person already has a transfer that is not a draft or rejected. Needs the same as get_freee_person_employee_source (an approved destination). Needs Preview Freee Employee Transfers.
| Scope | connectors:write (sensitive) |
| Asynchronous | No |
| MCP tool | preview_freee_employee_transfers |
| Portal permissions | preview_freee_employee_transfers |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
| Content type | Type |
|---|---|
application/json | FreeeEmployeeTransferPreviewRequestInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json FreeeEmployeeTransfer or object |
400 | invalid_version, malformed_json | 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, idempotency_in_progress | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, 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.
Schemas
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 |
FreeeEmployeeTransferPreviewRequestInput
| Field | Type | Required | Description |
|---|---|---|---|
employee | FreeeNewEmployeeInput | Required | The employee as reviewed: the register values, corrected or completed. |
freee_person_id | string | Required | |
source_revision | string | Required | From get_freee_person_employee_source. |
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. |
FreeeNewEmployeeInput
| Field | Type | Required | Description |
|---|---|---|---|
account_name | string or null | Optional | The holder's name in katakana or Latin letters, up to 50 characters. |
account_number | string or null | Optional | Up to 7 digits. |
account_type | string or null | Optional | ordinary, current or saving. |
address | string or null | Optional | |
address_kana | string or null | Optional | |
bank_code | string or null | Optional | 4 digits. A salary account needs bank_code, branch_code, account_type, account_number and account_name together. |
bank_name | string or null | Optional | |
bank_name_kana | string or null | Optional | |
base_pension_num | string or null | Optional | 10 digits. |
birth_date | string | Required | YYYY-MM-DD, not in the future. |
branch_code | string or null | Optional | 3 digits. |
branch_name | string or null | Optional | |
branch_name_kana | string or null | Optional | |
company_reference_date_rule_name | string or null | Optional | Up to 15 characters. |
email | string or null | Optional | |
employment_insurance_reference_number | string or null | Optional | 11 digits. |
employment_type | string or null | Optional | 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 | Optional | unselected, male or female. |
last_name | string | Required | |
last_name_kana | string | Required | |
married | boolean or null | Optional | |
no_payroll_calculation | boolean | Optional | 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 | Optional | Base pay, 0 to 99999999. Required for a payroll employee. |
pay_calc_type | string or null | Optional | monthly, daily or hourly. Required for a payroll employee. |
phone | string or null | Optional | Three groups of digits, 03-1234-5678. |
prefecture | string or null | Optional | A prefecture in Japanese, 北海道 to 沖縄県; an address needs it. |
residential_address | string or null | Optional | |
residential_address_kana | string or null | Optional | |
residential_prefecture | string or null | Optional | |
residential_zipcode | string or null | Optional | 7 digits. |
title | string or null | Optional | |
working_hours_system_name | string or null | Optional | Up to 30 characters. |
zipcode | string or null | Optional | 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 |