Create participant
curl --request POST \
--url https://api.cx.stax.ai/packages/retirement/participants/{py}/{client} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"_id": "<string>",
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"distributions": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"plan": "<string>",
"processed_at": "<string>",
"processor": "<string>",
"reason": "<string>",
"requested_at": "<string>",
"source": "<string>",
"source_id": "<string>",
"ssn": "<string>",
"status": "<string>",
"team": "<string>"
}
],
"email": "<string>",
"employee_plans_data": [
{
"plan": "<string>",
"vesting_basis": {
"date_basis": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"pct_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"employment_category": "<string>",
"employment_type": "<string>",
"ethnicity": "<string>",
"finch_ids": [
"<string>"
],
"first_name": "<string>",
"frozen": true,
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"data": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"payroll": "<string>",
"plan": "<string>",
"remote_id": "<string>",
"status": "<string>",
"team": "<string>",
"type": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"missing_ssn": true,
"not_employee": true,
"ownership_percentage": 123,
"parser_errors": [
{
"error": "<string>",
"field": "<string>"
}
],
"payroll_location_id": "<string>",
"phone": "<string>",
"possible_duplicate": true,
"preferred_name": "<string>",
"principal": "<string>",
"prior_year_census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"rehire_date": "<string>",
"relationship": "<string>",
"remote_id": "<string>",
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"title": "<string>"
}
'import requests
url = "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}"
payload = {
"_id": "<string>",
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": ["<string>"],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": ["<string>"],
"path": ["<string>"],
"plan": "<string>",
"reason": "<string>",
"reviewed": True
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": True,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": True,
"other_employers": ["<string>"],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": True,
"er_match": True,
"er_non_elective": True,
"er_safe_harbor": True
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": True,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": True,
"fields": ["<string>"],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": True,
"box_13_statutory_employee": True,
"box_13_third_party_sick_pay": True,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": True,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": True,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"distributions": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"plan": "<string>",
"processed_at": "<string>",
"processor": "<string>",
"reason": "<string>",
"requested_at": "<string>",
"source": "<string>",
"source_id": "<string>",
"ssn": "<string>",
"status": "<string>",
"team": "<string>"
}
],
"email": "<string>",
"employee_plans_data": [
{
"plan": "<string>",
"vesting_basis": {
"date_basis": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"pct_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"employment_category": "<string>",
"employment_type": "<string>",
"ethnicity": "<string>",
"finch_ids": ["<string>"],
"first_name": "<string>",
"frozen": True,
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": True,
"last_name": "<string>",
"loan": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"data": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"payroll": "<string>",
"plan": "<string>",
"remote_id": "<string>",
"status": "<string>",
"team": "<string>",
"type": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"missing_ssn": True,
"not_employee": True,
"ownership_percentage": 123,
"parser_errors": [
{
"error": "<string>",
"field": "<string>"
}
],
"payroll_location_id": "<string>",
"phone": "<string>",
"possible_duplicate": True,
"preferred_name": "<string>",
"principal": "<string>",
"prior_year_census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": ["<string>"],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": ["<string>"],
"path": ["<string>"],
"plan": "<string>",
"reason": "<string>",
"reviewed": True
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": True,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": True,
"other_employers": ["<string>"],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": True,
"er_match": True,
"er_non_elective": True,
"er_safe_harbor": True
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": True,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": True,
"fields": ["<string>"],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": True,
"box_13_statutory_employee": True,
"box_13_third_party_sick_pay": True,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": True,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": True,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"rehire_date": "<string>",
"relationship": "<string>",
"remote_id": "<string>",
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"title": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
_id: '<string>',
address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
birth_date: '<string>',
census: {
_id: '<string>',
activity: [
{
_id: '<string>',
action: '<string>',
changes: [{data: '<string>', field: '<string>', from: '<string>', to: '<string>'}],
client: '<string>',
on_id: '<string>',
on_py: 123,
on_type: '<string>',
team: '<string>',
timestamp: '<string>',
user: '<string>'
}
],
address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
birth_date: '<string>',
cleared: ['<string>'],
client: '<string>',
created_at: '<string>',
ct_group_code: '<string>',
deleted_at: '<string>',
edits: {},
email: '<string>',
employee: '<string>',
employment_category: '<string>',
employment_type: '<string>',
errors: [
{
custom: '<string>',
detail: '<string>',
field_names: ['<string>'],
path: ['<string>'],
plan: '<string>',
reason: '<string>',
reviewed: true
}
],
ethnicity: '<string>',
first_name: '<string>',
gender: '<string>',
group: '<string>',
hire_date: '<string>',
is_officer: true,
last_name: '<string>',
loan_amount: 123,
loan_balance: 123,
loan_disbursement_date: '<string>',
loan_installment: 123,
loan_payments: [
{
_id: '<string>',
amount: 123,
date: '<string>',
loan_id: '<string>',
payroll: '<string>',
source: '<string>'
}
],
location_code: '<string>',
middle_name: '<string>',
not_employee: true,
other_employers: ['<string>'],
owner_kind: '<string>',
ownership_percentage: 123,
phone: '<string>',
plans_data: [
{
eligibility_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
eligibility_reason: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligibility_status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligible_gross_pay: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
entry_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
exclusions: {ee: true, er_match: true, er_non_elective: true, er_safe_harbor: true},
plan_compensation: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
plan_id: '<string>',
plan_type: '<string>',
transactions: {
calculated: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
given: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
new_compensation_group: '<string>',
overrides: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
prevailing_wage: 123,
statutory_compensation: 123
},
vesting: {
date: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
historical_hos: 123,
nra: '<string>',
nra_met: true,
status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
vested: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
yos: 123
},
warnings: [
{
dismiss: true,
fields: ['<string>'],
money_type: '<string>',
reason: '<string>'
}
]
}
],
possible_termination_date: '<string>',
preferred_name: '<string>',
principal: '<string>',
py: 123,
rehire_date: '<string>',
relationship: '<string>',
skipped: {},
ssn: '<string>',
status_override: '<string>',
team: '<string>',
termination_date: '<string>',
termination_reason: '<string>',
title: '<string>',
w2_sources: [
{
boxes: {
box_1: '<string>',
box_10: '<string>',
box_11: '<string>',
box_12: [{amount: '<string>', code: '<string>'}],
box_13_retirement_plan: true,
box_13_statutory_employee: true,
box_13_third_party_sick_pay: true,
box_14: [{amount: '<string>', label: '<string>'}],
box_2: '<string>',
box_3: '<string>',
box_4: '<string>',
box_5: '<string>',
box_6: '<string>',
box_7: '<string>',
box_8: '<string>',
state_local: [
{
employer_state_id: '<string>',
local_income_tax: '<string>',
local_wages_tips: '<string>',
locality_name: '<string>',
state: '<string>',
state_income_tax: '<string>',
state_wages_tips: '<string>'
}
]
},
compensation_applicable: true,
confidence: 123,
document_type: '<string>',
employee_address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
employee_name: '<string>',
employer_ein: '<string>',
employer_name: '<string>',
error_code: '<string>',
file: '<string>',
form_status: '<string>',
gross_income: '<string>',
gross_receipts: '<string>',
guaranteed_payments_services: '<string>',
net_profit: '<string>',
ordinary_income: '<string>',
parsed_at: '<string>',
retirement_plan: true,
self_employment_earnings: '<string>',
ssn_last_four: '<string>',
tax_year: 123,
total_expenses: '<string>',
warning: '<string>'
}
]
},
client: '<string>',
created_at: '<string>',
ct_group_code: '<string>',
deleted_at: '<string>',
distributions: [
{
_id: '<string>',
amount: 123,
client: '<string>',
created_at: '<string>',
deleted_at: '<string>',
employee: '<string>',
first_name: '<string>',
last_name: '<string>',
plan: '<string>',
processed_at: '<string>',
processor: '<string>',
reason: '<string>',
requested_at: '<string>',
source: '<string>',
source_id: '<string>',
ssn: '<string>',
status: '<string>',
team: '<string>'
}
],
email: '<string>',
employee_plans_data: [
{
plan: '<string>',
vesting_basis: {
date_basis: {
ee: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
pct_basis: {ee: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
yos_basis: {ee: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
}
}
],
employment_category: '<string>',
employment_type: '<string>',
ethnicity: '<string>',
finch_ids: ['<string>'],
first_name: '<string>',
frozen: true,
gender: '<string>',
group: '<string>',
hire_date: '<string>',
is_officer: true,
last_name: '<string>',
loan: [
{
_id: '<string>',
amount: 123,
client: '<string>',
created_at: '<string>',
data: '<string>',
deleted_at: '<string>',
employee: '<string>',
payroll: '<string>',
plan: '<string>',
remote_id: '<string>',
status: '<string>',
team: '<string>',
type: '<string>'
}
],
location_code: '<string>',
middle_name: '<string>',
missing_ssn: true,
not_employee: true,
ownership_percentage: 123,
parser_errors: [{error: '<string>', field: '<string>'}],
payroll_location_id: '<string>',
phone: '<string>',
possible_duplicate: true,
preferred_name: '<string>',
principal: '<string>',
prior_year_census: {
_id: '<string>',
activity: [
{
_id: '<string>',
action: '<string>',
changes: [{data: '<string>', field: '<string>', from: '<string>', to: '<string>'}],
client: '<string>',
on_id: '<string>',
on_py: 123,
on_type: '<string>',
team: '<string>',
timestamp: '<string>',
user: '<string>'
}
],
address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
birth_date: '<string>',
cleared: ['<string>'],
client: '<string>',
created_at: '<string>',
ct_group_code: '<string>',
deleted_at: '<string>',
edits: {},
email: '<string>',
employee: '<string>',
employment_category: '<string>',
employment_type: '<string>',
errors: [
{
custom: '<string>',
detail: '<string>',
field_names: ['<string>'],
path: ['<string>'],
plan: '<string>',
reason: '<string>',
reviewed: true
}
],
ethnicity: '<string>',
first_name: '<string>',
gender: '<string>',
group: '<string>',
hire_date: '<string>',
is_officer: true,
last_name: '<string>',
loan_amount: 123,
loan_balance: 123,
loan_disbursement_date: '<string>',
loan_installment: 123,
loan_payments: [
{
_id: '<string>',
amount: 123,
date: '<string>',
loan_id: '<string>',
payroll: '<string>',
source: '<string>'
}
],
location_code: '<string>',
middle_name: '<string>',
not_employee: true,
other_employers: ['<string>'],
owner_kind: '<string>',
ownership_percentage: 123,
phone: '<string>',
plans_data: [
{
eligibility_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
eligibility_reason: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligibility_status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligible_gross_pay: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
entry_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
exclusions: {ee: true, er_match: true, er_non_elective: true, er_safe_harbor: true},
plan_compensation: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
plan_id: '<string>',
plan_type: '<string>',
transactions: {
calculated: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
given: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
new_compensation_group: '<string>',
overrides: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
prevailing_wage: 123,
statutory_compensation: 123
},
vesting: {
date: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
historical_hos: 123,
nra: '<string>',
nra_met: true,
status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
vested: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
yos: 123
},
warnings: [
{
dismiss: true,
fields: ['<string>'],
money_type: '<string>',
reason: '<string>'
}
]
}
],
possible_termination_date: '<string>',
preferred_name: '<string>',
principal: '<string>',
py: 123,
rehire_date: '<string>',
relationship: '<string>',
skipped: {},
ssn: '<string>',
status_override: '<string>',
team: '<string>',
termination_date: '<string>',
termination_reason: '<string>',
title: '<string>',
w2_sources: [
{
boxes: {
box_1: '<string>',
box_10: '<string>',
box_11: '<string>',
box_12: [{amount: '<string>', code: '<string>'}],
box_13_retirement_plan: true,
box_13_statutory_employee: true,
box_13_third_party_sick_pay: true,
box_14: [{amount: '<string>', label: '<string>'}],
box_2: '<string>',
box_3: '<string>',
box_4: '<string>',
box_5: '<string>',
box_6: '<string>',
box_7: '<string>',
box_8: '<string>',
state_local: [
{
employer_state_id: '<string>',
local_income_tax: '<string>',
local_wages_tips: '<string>',
locality_name: '<string>',
state: '<string>',
state_income_tax: '<string>',
state_wages_tips: '<string>'
}
]
},
compensation_applicable: true,
confidence: 123,
document_type: '<string>',
employee_address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
employee_name: '<string>',
employer_ein: '<string>',
employer_name: '<string>',
error_code: '<string>',
file: '<string>',
form_status: '<string>',
gross_income: '<string>',
gross_receipts: '<string>',
guaranteed_payments_services: '<string>',
net_profit: '<string>',
ordinary_income: '<string>',
parsed_at: '<string>',
retirement_plan: true,
self_employment_earnings: '<string>',
ssn_last_four: '<string>',
tax_year: 123,
total_expenses: '<string>',
warning: '<string>'
}
]
},
rehire_date: '<string>',
relationship: '<string>',
remote_id: '<string>',
ssn: '<string>',
status_override: '<string>',
team: '<string>',
termination_date: '<string>',
title: '<string>'
})
};
fetch('https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'_id' => '<string>',
'address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'birth_date' => '<string>',
'census' => [
'_id' => '<string>',
'activity' => [
[
'_id' => '<string>',
'action' => '<string>',
'changes' => [
[
'data' => '<string>',
'field' => '<string>',
'from' => '<string>',
'to' => '<string>'
]
],
'client' => '<string>',
'on_id' => '<string>',
'on_py' => 123,
'on_type' => '<string>',
'team' => '<string>',
'timestamp' => '<string>',
'user' => '<string>'
]
],
'address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'birth_date' => '<string>',
'cleared' => [
'<string>'
],
'client' => '<string>',
'created_at' => '<string>',
'ct_group_code' => '<string>',
'deleted_at' => '<string>',
'edits' => [
],
'email' => '<string>',
'employee' => '<string>',
'employment_category' => '<string>',
'employment_type' => '<string>',
'errors' => [
[
'custom' => '<string>',
'detail' => '<string>',
'field_names' => [
'<string>'
],
'path' => [
'<string>'
],
'plan' => '<string>',
'reason' => '<string>',
'reviewed' => true
]
],
'ethnicity' => '<string>',
'first_name' => '<string>',
'gender' => '<string>',
'group' => '<string>',
'hire_date' => '<string>',
'is_officer' => true,
'last_name' => '<string>',
'loan_amount' => 123,
'loan_balance' => 123,
'loan_disbursement_date' => '<string>',
'loan_installment' => 123,
'loan_payments' => [
[
'_id' => '<string>',
'amount' => 123,
'date' => '<string>',
'loan_id' => '<string>',
'payroll' => '<string>',
'source' => '<string>'
]
],
'location_code' => '<string>',
'middle_name' => '<string>',
'not_employee' => true,
'other_employers' => [
'<string>'
],
'owner_kind' => '<string>',
'ownership_percentage' => 123,
'phone' => '<string>',
'plans_data' => [
[
'eligibility_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'eligibility_reason' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligibility_status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligible_gross_pay' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'entry_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'exclusions' => [
'ee' => true,
'er_match' => true,
'er_non_elective' => true,
'er_safe_harbor' => true
],
'plan_compensation' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'plan_id' => '<string>',
'plan_type' => '<string>',
'transactions' => [
'calculated' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'given' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'new_compensation_group' => '<string>',
'overrides' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'vesting' => [
'date' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'historical_hos' => 123,
'nra' => '<string>',
'nra_met' => true,
'status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'vested' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'yos' => 123
],
'warnings' => [
[
'dismiss' => true,
'fields' => [
'<string>'
],
'money_type' => '<string>',
'reason' => '<string>'
]
]
]
],
'possible_termination_date' => '<string>',
'preferred_name' => '<string>',
'principal' => '<string>',
'py' => 123,
'rehire_date' => '<string>',
'relationship' => '<string>',
'skipped' => [
],
'ssn' => '<string>',
'status_override' => '<string>',
'team' => '<string>',
'termination_date' => '<string>',
'termination_reason' => '<string>',
'title' => '<string>',
'w2_sources' => [
[
'boxes' => [
'box_1' => '<string>',
'box_10' => '<string>',
'box_11' => '<string>',
'box_12' => [
[
'amount' => '<string>',
'code' => '<string>'
]
],
'box_13_retirement_plan' => true,
'box_13_statutory_employee' => true,
'box_13_third_party_sick_pay' => true,
'box_14' => [
[
'amount' => '<string>',
'label' => '<string>'
]
],
'box_2' => '<string>',
'box_3' => '<string>',
'box_4' => '<string>',
'box_5' => '<string>',
'box_6' => '<string>',
'box_7' => '<string>',
'box_8' => '<string>',
'state_local' => [
[
'employer_state_id' => '<string>',
'local_income_tax' => '<string>',
'local_wages_tips' => '<string>',
'locality_name' => '<string>',
'state' => '<string>',
'state_income_tax' => '<string>',
'state_wages_tips' => '<string>'
]
]
],
'compensation_applicable' => true,
'confidence' => 123,
'document_type' => '<string>',
'employee_address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'employee_name' => '<string>',
'employer_ein' => '<string>',
'employer_name' => '<string>',
'error_code' => '<string>',
'file' => '<string>',
'form_status' => '<string>',
'gross_income' => '<string>',
'gross_receipts' => '<string>',
'guaranteed_payments_services' => '<string>',
'net_profit' => '<string>',
'ordinary_income' => '<string>',
'parsed_at' => '<string>',
'retirement_plan' => true,
'self_employment_earnings' => '<string>',
'ssn_last_four' => '<string>',
'tax_year' => 123,
'total_expenses' => '<string>',
'warning' => '<string>'
]
]
],
'client' => '<string>',
'created_at' => '<string>',
'ct_group_code' => '<string>',
'deleted_at' => '<string>',
'distributions' => [
[
'_id' => '<string>',
'amount' => 123,
'client' => '<string>',
'created_at' => '<string>',
'deleted_at' => '<string>',
'employee' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'plan' => '<string>',
'processed_at' => '<string>',
'processor' => '<string>',
'reason' => '<string>',
'requested_at' => '<string>',
'source' => '<string>',
'source_id' => '<string>',
'ssn' => '<string>',
'status' => '<string>',
'team' => '<string>'
]
],
'email' => '<string>',
'employee_plans_data' => [
[
'plan' => '<string>',
'vesting_basis' => [
'date_basis' => [
'ee' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'pct_basis' => [
'ee' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'yos_basis' => [
'ee' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
]
]
],
'employment_category' => '<string>',
'employment_type' => '<string>',
'ethnicity' => '<string>',
'finch_ids' => [
'<string>'
],
'first_name' => '<string>',
'frozen' => true,
'gender' => '<string>',
'group' => '<string>',
'hire_date' => '<string>',
'is_officer' => true,
'last_name' => '<string>',
'loan' => [
[
'_id' => '<string>',
'amount' => 123,
'client' => '<string>',
'created_at' => '<string>',
'data' => '<string>',
'deleted_at' => '<string>',
'employee' => '<string>',
'payroll' => '<string>',
'plan' => '<string>',
'remote_id' => '<string>',
'status' => '<string>',
'team' => '<string>',
'type' => '<string>'
]
],
'location_code' => '<string>',
'middle_name' => '<string>',
'missing_ssn' => true,
'not_employee' => true,
'ownership_percentage' => 123,
'parser_errors' => [
[
'error' => '<string>',
'field' => '<string>'
]
],
'payroll_location_id' => '<string>',
'phone' => '<string>',
'possible_duplicate' => true,
'preferred_name' => '<string>',
'principal' => '<string>',
'prior_year_census' => [
'_id' => '<string>',
'activity' => [
[
'_id' => '<string>',
'action' => '<string>',
'changes' => [
[
'data' => '<string>',
'field' => '<string>',
'from' => '<string>',
'to' => '<string>'
]
],
'client' => '<string>',
'on_id' => '<string>',
'on_py' => 123,
'on_type' => '<string>',
'team' => '<string>',
'timestamp' => '<string>',
'user' => '<string>'
]
],
'address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'birth_date' => '<string>',
'cleared' => [
'<string>'
],
'client' => '<string>',
'created_at' => '<string>',
'ct_group_code' => '<string>',
'deleted_at' => '<string>',
'edits' => [
],
'email' => '<string>',
'employee' => '<string>',
'employment_category' => '<string>',
'employment_type' => '<string>',
'errors' => [
[
'custom' => '<string>',
'detail' => '<string>',
'field_names' => [
'<string>'
],
'path' => [
'<string>'
],
'plan' => '<string>',
'reason' => '<string>',
'reviewed' => true
]
],
'ethnicity' => '<string>',
'first_name' => '<string>',
'gender' => '<string>',
'group' => '<string>',
'hire_date' => '<string>',
'is_officer' => true,
'last_name' => '<string>',
'loan_amount' => 123,
'loan_balance' => 123,
'loan_disbursement_date' => '<string>',
'loan_installment' => 123,
'loan_payments' => [
[
'_id' => '<string>',
'amount' => 123,
'date' => '<string>',
'loan_id' => '<string>',
'payroll' => '<string>',
'source' => '<string>'
]
],
'location_code' => '<string>',
'middle_name' => '<string>',
'not_employee' => true,
'other_employers' => [
'<string>'
],
'owner_kind' => '<string>',
'ownership_percentage' => 123,
'phone' => '<string>',
'plans_data' => [
[
'eligibility_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'eligibility_reason' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligibility_status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligible_gross_pay' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'entry_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'exclusions' => [
'ee' => true,
'er_match' => true,
'er_non_elective' => true,
'er_safe_harbor' => true
],
'plan_compensation' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'plan_id' => '<string>',
'plan_type' => '<string>',
'transactions' => [
'calculated' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'given' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'new_compensation_group' => '<string>',
'overrides' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'vesting' => [
'date' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'historical_hos' => 123,
'nra' => '<string>',
'nra_met' => true,
'status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'vested' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'yos' => 123
],
'warnings' => [
[
'dismiss' => true,
'fields' => [
'<string>'
],
'money_type' => '<string>',
'reason' => '<string>'
]
]
]
],
'possible_termination_date' => '<string>',
'preferred_name' => '<string>',
'principal' => '<string>',
'py' => 123,
'rehire_date' => '<string>',
'relationship' => '<string>',
'skipped' => [
],
'ssn' => '<string>',
'status_override' => '<string>',
'team' => '<string>',
'termination_date' => '<string>',
'termination_reason' => '<string>',
'title' => '<string>',
'w2_sources' => [
[
'boxes' => [
'box_1' => '<string>',
'box_10' => '<string>',
'box_11' => '<string>',
'box_12' => [
[
'amount' => '<string>',
'code' => '<string>'
]
],
'box_13_retirement_plan' => true,
'box_13_statutory_employee' => true,
'box_13_third_party_sick_pay' => true,
'box_14' => [
[
'amount' => '<string>',
'label' => '<string>'
]
],
'box_2' => '<string>',
'box_3' => '<string>',
'box_4' => '<string>',
'box_5' => '<string>',
'box_6' => '<string>',
'box_7' => '<string>',
'box_8' => '<string>',
'state_local' => [
[
'employer_state_id' => '<string>',
'local_income_tax' => '<string>',
'local_wages_tips' => '<string>',
'locality_name' => '<string>',
'state' => '<string>',
'state_income_tax' => '<string>',
'state_wages_tips' => '<string>'
]
]
],
'compensation_applicable' => true,
'confidence' => 123,
'document_type' => '<string>',
'employee_address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'employee_name' => '<string>',
'employer_ein' => '<string>',
'employer_name' => '<string>',
'error_code' => '<string>',
'file' => '<string>',
'form_status' => '<string>',
'gross_income' => '<string>',
'gross_receipts' => '<string>',
'guaranteed_payments_services' => '<string>',
'net_profit' => '<string>',
'ordinary_income' => '<string>',
'parsed_at' => '<string>',
'retirement_plan' => true,
'self_employment_earnings' => '<string>',
'ssn_last_four' => '<string>',
'tax_year' => 123,
'total_expenses' => '<string>',
'warning' => '<string>'
]
]
],
'rehire_date' => '<string>',
'relationship' => '<string>',
'remote_id' => '<string>',
'ssn' => '<string>',
'status_override' => '<string>',
'team' => '<string>',
'termination_date' => '<string>',
'title' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}"
payload := strings.NewReader("{\n \"_id\": \"<string>\",\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"distributions\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"plan\": \"<string>\",\n \"processed_at\": \"<string>\",\n \"processor\": \"<string>\",\n \"reason\": \"<string>\",\n \"requested_at\": \"<string>\",\n \"source\": \"<string>\",\n \"source_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\"\n }\n ],\n \"email\": \"<string>\",\n \"employee_plans_data\": [\n {\n \"plan\": \"<string>\",\n \"vesting_basis\": {\n \"date_basis\": {\n \"ee\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"pct_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n }\n }\n ],\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"ethnicity\": \"<string>\",\n \"finch_ids\": [\n \"<string>\"\n ],\n \"first_name\": \"<string>\",\n \"frozen\": true,\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"data\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"payroll\": \"<string>\",\n \"plan\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"missing_ssn\": true,\n \"not_employee\": true,\n \"ownership_percentage\": 123,\n \"parser_errors\": [\n {\n \"error\": \"<string>\",\n \"field\": \"<string>\"\n }\n ],\n \"payroll_location_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"possible_duplicate\": true,\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"prior_year_census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"title\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"_id\": \"<string>\",\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"distributions\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"plan\": \"<string>\",\n \"processed_at\": \"<string>\",\n \"processor\": \"<string>\",\n \"reason\": \"<string>\",\n \"requested_at\": \"<string>\",\n \"source\": \"<string>\",\n \"source_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\"\n }\n ],\n \"email\": \"<string>\",\n \"employee_plans_data\": [\n {\n \"plan\": \"<string>\",\n \"vesting_basis\": {\n \"date_basis\": {\n \"ee\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"pct_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n }\n }\n ],\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"ethnicity\": \"<string>\",\n \"finch_ids\": [\n \"<string>\"\n ],\n \"first_name\": \"<string>\",\n \"frozen\": true,\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"data\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"payroll\": \"<string>\",\n \"plan\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"missing_ssn\": true,\n \"not_employee\": true,\n \"ownership_percentage\": 123,\n \"parser_errors\": [\n {\n \"error\": \"<string>\",\n \"field\": \"<string>\"\n }\n ],\n \"payroll_location_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"possible_duplicate\": true,\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"prior_year_census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"title\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"_id\": \"<string>\",\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"distributions\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"plan\": \"<string>\",\n \"processed_at\": \"<string>\",\n \"processor\": \"<string>\",\n \"reason\": \"<string>\",\n \"requested_at\": \"<string>\",\n \"source\": \"<string>\",\n \"source_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\"\n }\n ],\n \"email\": \"<string>\",\n \"employee_plans_data\": [\n {\n \"plan\": \"<string>\",\n \"vesting_basis\": {\n \"date_basis\": {\n \"ee\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"pct_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n }\n }\n ],\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"ethnicity\": \"<string>\",\n \"finch_ids\": [\n \"<string>\"\n ],\n \"first_name\": \"<string>\",\n \"frozen\": true,\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"data\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"payroll\": \"<string>\",\n \"plan\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"missing_ssn\": true,\n \"not_employee\": true,\n \"ownership_percentage\": 123,\n \"parser_errors\": [\n {\n \"error\": \"<string>\",\n \"field\": \"<string>\"\n }\n ],\n \"payroll_location_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"possible_duplicate\": true,\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"prior_year_census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"title\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"status": "uploaded",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"distributions": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"plan": "<string>",
"processed_at": "<string>",
"processor": "<string>",
"reason": "<string>",
"requested_at": "<string>",
"source": "<string>",
"source_id": "<string>",
"ssn": "<string>",
"status": "<string>",
"team": "<string>"
}
],
"email": "<string>",
"employee_plans_data": [
{
"plan": "<string>",
"vesting_basis": {
"date_basis": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"pct_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"employment_category": "<string>",
"employment_type": "<string>",
"ethnicity": "<string>",
"finch_ids": [
"<string>"
],
"first_name": "<string>",
"frozen": true,
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"data": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"payroll": "<string>",
"plan": "<string>",
"remote_id": "<string>",
"status": "<string>",
"team": "<string>",
"type": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"missing_ssn": true,
"not_employee": true,
"ownership_percentage": 123,
"parser_errors": [
{
"error": "<string>",
"field": "<string>"
}
],
"payroll_location_id": "<string>",
"phone": "<string>",
"possible_duplicate": true,
"preferred_name": "<string>",
"principal": "<string>",
"prior_year_census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"status": "uploaded",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"rehire_date": "<string>",
"relationship": "<string>",
"remote_id": "<string>",
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"title": "<string>"
}{}{}packages
Create participant
Create a new participant (employee) with census data for a specific plan year. Creates employee and employee census records.
POST
/
packages
/
retirement
/
participants
/
{py}
/
{client}
Create participant
curl --request POST \
--url https://api.cx.stax.ai/packages/retirement/participants/{py}/{client} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"_id": "<string>",
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"distributions": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"plan": "<string>",
"processed_at": "<string>",
"processor": "<string>",
"reason": "<string>",
"requested_at": "<string>",
"source": "<string>",
"source_id": "<string>",
"ssn": "<string>",
"status": "<string>",
"team": "<string>"
}
],
"email": "<string>",
"employee_plans_data": [
{
"plan": "<string>",
"vesting_basis": {
"date_basis": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"pct_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"employment_category": "<string>",
"employment_type": "<string>",
"ethnicity": "<string>",
"finch_ids": [
"<string>"
],
"first_name": "<string>",
"frozen": true,
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"data": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"payroll": "<string>",
"plan": "<string>",
"remote_id": "<string>",
"status": "<string>",
"team": "<string>",
"type": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"missing_ssn": true,
"not_employee": true,
"ownership_percentage": 123,
"parser_errors": [
{
"error": "<string>",
"field": "<string>"
}
],
"payroll_location_id": "<string>",
"phone": "<string>",
"possible_duplicate": true,
"preferred_name": "<string>",
"principal": "<string>",
"prior_year_census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"rehire_date": "<string>",
"relationship": "<string>",
"remote_id": "<string>",
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"title": "<string>"
}
'import requests
url = "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}"
payload = {
"_id": "<string>",
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": ["<string>"],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": ["<string>"],
"path": ["<string>"],
"plan": "<string>",
"reason": "<string>",
"reviewed": True
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": True,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": True,
"other_employers": ["<string>"],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": True,
"er_match": True,
"er_non_elective": True,
"er_safe_harbor": True
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": True,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": True,
"fields": ["<string>"],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": True,
"box_13_statutory_employee": True,
"box_13_third_party_sick_pay": True,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": True,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": True,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"distributions": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"plan": "<string>",
"processed_at": "<string>",
"processor": "<string>",
"reason": "<string>",
"requested_at": "<string>",
"source": "<string>",
"source_id": "<string>",
"ssn": "<string>",
"status": "<string>",
"team": "<string>"
}
],
"email": "<string>",
"employee_plans_data": [
{
"plan": "<string>",
"vesting_basis": {
"date_basis": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"pct_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"employment_category": "<string>",
"employment_type": "<string>",
"ethnicity": "<string>",
"finch_ids": ["<string>"],
"first_name": "<string>",
"frozen": True,
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": True,
"last_name": "<string>",
"loan": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"data": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"payroll": "<string>",
"plan": "<string>",
"remote_id": "<string>",
"status": "<string>",
"team": "<string>",
"type": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"missing_ssn": True,
"not_employee": True,
"ownership_percentage": 123,
"parser_errors": [
{
"error": "<string>",
"field": "<string>"
}
],
"payroll_location_id": "<string>",
"phone": "<string>",
"possible_duplicate": True,
"preferred_name": "<string>",
"principal": "<string>",
"prior_year_census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": ["<string>"],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": ["<string>"],
"path": ["<string>"],
"plan": "<string>",
"reason": "<string>",
"reviewed": True
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": True,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": True,
"other_employers": ["<string>"],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": True,
"er_match": True,
"er_non_elective": True,
"er_safe_harbor": True
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": True,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": True,
"fields": ["<string>"],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": True,
"box_13_statutory_employee": True,
"box_13_third_party_sick_pay": True,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": True,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": True,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"rehire_date": "<string>",
"relationship": "<string>",
"remote_id": "<string>",
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"title": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
_id: '<string>',
address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
birth_date: '<string>',
census: {
_id: '<string>',
activity: [
{
_id: '<string>',
action: '<string>',
changes: [{data: '<string>', field: '<string>', from: '<string>', to: '<string>'}],
client: '<string>',
on_id: '<string>',
on_py: 123,
on_type: '<string>',
team: '<string>',
timestamp: '<string>',
user: '<string>'
}
],
address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
birth_date: '<string>',
cleared: ['<string>'],
client: '<string>',
created_at: '<string>',
ct_group_code: '<string>',
deleted_at: '<string>',
edits: {},
email: '<string>',
employee: '<string>',
employment_category: '<string>',
employment_type: '<string>',
errors: [
{
custom: '<string>',
detail: '<string>',
field_names: ['<string>'],
path: ['<string>'],
plan: '<string>',
reason: '<string>',
reviewed: true
}
],
ethnicity: '<string>',
first_name: '<string>',
gender: '<string>',
group: '<string>',
hire_date: '<string>',
is_officer: true,
last_name: '<string>',
loan_amount: 123,
loan_balance: 123,
loan_disbursement_date: '<string>',
loan_installment: 123,
loan_payments: [
{
_id: '<string>',
amount: 123,
date: '<string>',
loan_id: '<string>',
payroll: '<string>',
source: '<string>'
}
],
location_code: '<string>',
middle_name: '<string>',
not_employee: true,
other_employers: ['<string>'],
owner_kind: '<string>',
ownership_percentage: 123,
phone: '<string>',
plans_data: [
{
eligibility_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
eligibility_reason: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligibility_status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligible_gross_pay: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
entry_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
exclusions: {ee: true, er_match: true, er_non_elective: true, er_safe_harbor: true},
plan_compensation: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
plan_id: '<string>',
plan_type: '<string>',
transactions: {
calculated: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
given: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
new_compensation_group: '<string>',
overrides: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
prevailing_wage: 123,
statutory_compensation: 123
},
vesting: {
date: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
historical_hos: 123,
nra: '<string>',
nra_met: true,
status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
vested: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
yos: 123
},
warnings: [
{
dismiss: true,
fields: ['<string>'],
money_type: '<string>',
reason: '<string>'
}
]
}
],
possible_termination_date: '<string>',
preferred_name: '<string>',
principal: '<string>',
py: 123,
rehire_date: '<string>',
relationship: '<string>',
skipped: {},
ssn: '<string>',
status_override: '<string>',
team: '<string>',
termination_date: '<string>',
termination_reason: '<string>',
title: '<string>',
w2_sources: [
{
boxes: {
box_1: '<string>',
box_10: '<string>',
box_11: '<string>',
box_12: [{amount: '<string>', code: '<string>'}],
box_13_retirement_plan: true,
box_13_statutory_employee: true,
box_13_third_party_sick_pay: true,
box_14: [{amount: '<string>', label: '<string>'}],
box_2: '<string>',
box_3: '<string>',
box_4: '<string>',
box_5: '<string>',
box_6: '<string>',
box_7: '<string>',
box_8: '<string>',
state_local: [
{
employer_state_id: '<string>',
local_income_tax: '<string>',
local_wages_tips: '<string>',
locality_name: '<string>',
state: '<string>',
state_income_tax: '<string>',
state_wages_tips: '<string>'
}
]
},
compensation_applicable: true,
confidence: 123,
document_type: '<string>',
employee_address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
employee_name: '<string>',
employer_ein: '<string>',
employer_name: '<string>',
error_code: '<string>',
file: '<string>',
form_status: '<string>',
gross_income: '<string>',
gross_receipts: '<string>',
guaranteed_payments_services: '<string>',
net_profit: '<string>',
ordinary_income: '<string>',
parsed_at: '<string>',
retirement_plan: true,
self_employment_earnings: '<string>',
ssn_last_four: '<string>',
tax_year: 123,
total_expenses: '<string>',
warning: '<string>'
}
]
},
client: '<string>',
created_at: '<string>',
ct_group_code: '<string>',
deleted_at: '<string>',
distributions: [
{
_id: '<string>',
amount: 123,
client: '<string>',
created_at: '<string>',
deleted_at: '<string>',
employee: '<string>',
first_name: '<string>',
last_name: '<string>',
plan: '<string>',
processed_at: '<string>',
processor: '<string>',
reason: '<string>',
requested_at: '<string>',
source: '<string>',
source_id: '<string>',
ssn: '<string>',
status: '<string>',
team: '<string>'
}
],
email: '<string>',
employee_plans_data: [
{
plan: '<string>',
vesting_basis: {
date_basis: {
ee: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
pct_basis: {ee: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
yos_basis: {ee: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
}
}
],
employment_category: '<string>',
employment_type: '<string>',
ethnicity: '<string>',
finch_ids: ['<string>'],
first_name: '<string>',
frozen: true,
gender: '<string>',
group: '<string>',
hire_date: '<string>',
is_officer: true,
last_name: '<string>',
loan: [
{
_id: '<string>',
amount: 123,
client: '<string>',
created_at: '<string>',
data: '<string>',
deleted_at: '<string>',
employee: '<string>',
payroll: '<string>',
plan: '<string>',
remote_id: '<string>',
status: '<string>',
team: '<string>',
type: '<string>'
}
],
location_code: '<string>',
middle_name: '<string>',
missing_ssn: true,
not_employee: true,
ownership_percentage: 123,
parser_errors: [{error: '<string>', field: '<string>'}],
payroll_location_id: '<string>',
phone: '<string>',
possible_duplicate: true,
preferred_name: '<string>',
principal: '<string>',
prior_year_census: {
_id: '<string>',
activity: [
{
_id: '<string>',
action: '<string>',
changes: [{data: '<string>', field: '<string>', from: '<string>', to: '<string>'}],
client: '<string>',
on_id: '<string>',
on_py: 123,
on_type: '<string>',
team: '<string>',
timestamp: '<string>',
user: '<string>'
}
],
address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
birth_date: '<string>',
cleared: ['<string>'],
client: '<string>',
created_at: '<string>',
ct_group_code: '<string>',
deleted_at: '<string>',
edits: {},
email: '<string>',
employee: '<string>',
employment_category: '<string>',
employment_type: '<string>',
errors: [
{
custom: '<string>',
detail: '<string>',
field_names: ['<string>'],
path: ['<string>'],
plan: '<string>',
reason: '<string>',
reviewed: true
}
],
ethnicity: '<string>',
first_name: '<string>',
gender: '<string>',
group: '<string>',
hire_date: '<string>',
is_officer: true,
last_name: '<string>',
loan_amount: 123,
loan_balance: 123,
loan_disbursement_date: '<string>',
loan_installment: 123,
loan_payments: [
{
_id: '<string>',
amount: 123,
date: '<string>',
loan_id: '<string>',
payroll: '<string>',
source: '<string>'
}
],
location_code: '<string>',
middle_name: '<string>',
not_employee: true,
other_employers: ['<string>'],
owner_kind: '<string>',
ownership_percentage: 123,
phone: '<string>',
plans_data: [
{
eligibility_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
eligibility_reason: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligibility_status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
eligible_gross_pay: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
entry_date: {
calculated: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>',
given: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
overrides: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
}
},
exclusions: {ee: true, er_match: true, er_non_elective: true, er_safe_harbor: true},
plan_compensation: {
calculated: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
ee: 123,
er: 123,
er_match: 123,
er_non_elective: 123,
er_safe_harbor: 123,
given: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
overrides: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123}
},
plan_id: '<string>',
plan_type: '<string>',
transactions: {
calculated: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
given: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
new_compensation_group: '<string>',
overrides: {
ee_pre_tax: 123,
ee_roth: 123,
er_match: 123,
er_non_elective: 123,
er_qaca_match: 123,
er_safe_harbor_match: 123,
er_safe_harbor_non_elective: 123,
gross_minus_exclusions: 123,
gross_pay: 123,
hours_worked: 123,
hpi_compensation: 123,
prevailing_wage: 123,
statutory_compensation: 123
},
prevailing_wage: 123,
statutory_compensation: 123
},
vesting: {
date: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
historical_hos: 123,
nra: '<string>',
nra_met: true,
status: {
ee: '<string>',
er: '<string>',
er_match: '<string>',
er_non_elective: '<string>',
er_safe_harbor: '<string>'
},
vested: {ee: 123, er: 123, er_match: 123, er_non_elective: 123, er_safe_harbor: 123},
yos: 123
},
warnings: [
{
dismiss: true,
fields: ['<string>'],
money_type: '<string>',
reason: '<string>'
}
]
}
],
possible_termination_date: '<string>',
preferred_name: '<string>',
principal: '<string>',
py: 123,
rehire_date: '<string>',
relationship: '<string>',
skipped: {},
ssn: '<string>',
status_override: '<string>',
team: '<string>',
termination_date: '<string>',
termination_reason: '<string>',
title: '<string>',
w2_sources: [
{
boxes: {
box_1: '<string>',
box_10: '<string>',
box_11: '<string>',
box_12: [{amount: '<string>', code: '<string>'}],
box_13_retirement_plan: true,
box_13_statutory_employee: true,
box_13_third_party_sick_pay: true,
box_14: [{amount: '<string>', label: '<string>'}],
box_2: '<string>',
box_3: '<string>',
box_4: '<string>',
box_5: '<string>',
box_6: '<string>',
box_7: '<string>',
box_8: '<string>',
state_local: [
{
employer_state_id: '<string>',
local_income_tax: '<string>',
local_wages_tips: '<string>',
locality_name: '<string>',
state: '<string>',
state_income_tax: '<string>',
state_wages_tips: '<string>'
}
]
},
compensation_applicable: true,
confidence: 123,
document_type: '<string>',
employee_address: {
attn: '<string>',
city: '<string>',
country: '<string>',
desc: '<string>',
state: '<string>',
street: '<string>',
street2: '<string>',
unit: '<string>',
zip: '<string>'
},
employee_name: '<string>',
employer_ein: '<string>',
employer_name: '<string>',
error_code: '<string>',
file: '<string>',
form_status: '<string>',
gross_income: '<string>',
gross_receipts: '<string>',
guaranteed_payments_services: '<string>',
net_profit: '<string>',
ordinary_income: '<string>',
parsed_at: '<string>',
retirement_plan: true,
self_employment_earnings: '<string>',
ssn_last_four: '<string>',
tax_year: 123,
total_expenses: '<string>',
warning: '<string>'
}
]
},
rehire_date: '<string>',
relationship: '<string>',
remote_id: '<string>',
ssn: '<string>',
status_override: '<string>',
team: '<string>',
termination_date: '<string>',
title: '<string>'
})
};
fetch('https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'_id' => '<string>',
'address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'birth_date' => '<string>',
'census' => [
'_id' => '<string>',
'activity' => [
[
'_id' => '<string>',
'action' => '<string>',
'changes' => [
[
'data' => '<string>',
'field' => '<string>',
'from' => '<string>',
'to' => '<string>'
]
],
'client' => '<string>',
'on_id' => '<string>',
'on_py' => 123,
'on_type' => '<string>',
'team' => '<string>',
'timestamp' => '<string>',
'user' => '<string>'
]
],
'address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'birth_date' => '<string>',
'cleared' => [
'<string>'
],
'client' => '<string>',
'created_at' => '<string>',
'ct_group_code' => '<string>',
'deleted_at' => '<string>',
'edits' => [
],
'email' => '<string>',
'employee' => '<string>',
'employment_category' => '<string>',
'employment_type' => '<string>',
'errors' => [
[
'custom' => '<string>',
'detail' => '<string>',
'field_names' => [
'<string>'
],
'path' => [
'<string>'
],
'plan' => '<string>',
'reason' => '<string>',
'reviewed' => true
]
],
'ethnicity' => '<string>',
'first_name' => '<string>',
'gender' => '<string>',
'group' => '<string>',
'hire_date' => '<string>',
'is_officer' => true,
'last_name' => '<string>',
'loan_amount' => 123,
'loan_balance' => 123,
'loan_disbursement_date' => '<string>',
'loan_installment' => 123,
'loan_payments' => [
[
'_id' => '<string>',
'amount' => 123,
'date' => '<string>',
'loan_id' => '<string>',
'payroll' => '<string>',
'source' => '<string>'
]
],
'location_code' => '<string>',
'middle_name' => '<string>',
'not_employee' => true,
'other_employers' => [
'<string>'
],
'owner_kind' => '<string>',
'ownership_percentage' => 123,
'phone' => '<string>',
'plans_data' => [
[
'eligibility_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'eligibility_reason' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligibility_status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligible_gross_pay' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'entry_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'exclusions' => [
'ee' => true,
'er_match' => true,
'er_non_elective' => true,
'er_safe_harbor' => true
],
'plan_compensation' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'plan_id' => '<string>',
'plan_type' => '<string>',
'transactions' => [
'calculated' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'given' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'new_compensation_group' => '<string>',
'overrides' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'vesting' => [
'date' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'historical_hos' => 123,
'nra' => '<string>',
'nra_met' => true,
'status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'vested' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'yos' => 123
],
'warnings' => [
[
'dismiss' => true,
'fields' => [
'<string>'
],
'money_type' => '<string>',
'reason' => '<string>'
]
]
]
],
'possible_termination_date' => '<string>',
'preferred_name' => '<string>',
'principal' => '<string>',
'py' => 123,
'rehire_date' => '<string>',
'relationship' => '<string>',
'skipped' => [
],
'ssn' => '<string>',
'status_override' => '<string>',
'team' => '<string>',
'termination_date' => '<string>',
'termination_reason' => '<string>',
'title' => '<string>',
'w2_sources' => [
[
'boxes' => [
'box_1' => '<string>',
'box_10' => '<string>',
'box_11' => '<string>',
'box_12' => [
[
'amount' => '<string>',
'code' => '<string>'
]
],
'box_13_retirement_plan' => true,
'box_13_statutory_employee' => true,
'box_13_third_party_sick_pay' => true,
'box_14' => [
[
'amount' => '<string>',
'label' => '<string>'
]
],
'box_2' => '<string>',
'box_3' => '<string>',
'box_4' => '<string>',
'box_5' => '<string>',
'box_6' => '<string>',
'box_7' => '<string>',
'box_8' => '<string>',
'state_local' => [
[
'employer_state_id' => '<string>',
'local_income_tax' => '<string>',
'local_wages_tips' => '<string>',
'locality_name' => '<string>',
'state' => '<string>',
'state_income_tax' => '<string>',
'state_wages_tips' => '<string>'
]
]
],
'compensation_applicable' => true,
'confidence' => 123,
'document_type' => '<string>',
'employee_address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'employee_name' => '<string>',
'employer_ein' => '<string>',
'employer_name' => '<string>',
'error_code' => '<string>',
'file' => '<string>',
'form_status' => '<string>',
'gross_income' => '<string>',
'gross_receipts' => '<string>',
'guaranteed_payments_services' => '<string>',
'net_profit' => '<string>',
'ordinary_income' => '<string>',
'parsed_at' => '<string>',
'retirement_plan' => true,
'self_employment_earnings' => '<string>',
'ssn_last_four' => '<string>',
'tax_year' => 123,
'total_expenses' => '<string>',
'warning' => '<string>'
]
]
],
'client' => '<string>',
'created_at' => '<string>',
'ct_group_code' => '<string>',
'deleted_at' => '<string>',
'distributions' => [
[
'_id' => '<string>',
'amount' => 123,
'client' => '<string>',
'created_at' => '<string>',
'deleted_at' => '<string>',
'employee' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'plan' => '<string>',
'processed_at' => '<string>',
'processor' => '<string>',
'reason' => '<string>',
'requested_at' => '<string>',
'source' => '<string>',
'source_id' => '<string>',
'ssn' => '<string>',
'status' => '<string>',
'team' => '<string>'
]
],
'email' => '<string>',
'employee_plans_data' => [
[
'plan' => '<string>',
'vesting_basis' => [
'date_basis' => [
'ee' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'pct_basis' => [
'ee' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'yos_basis' => [
'ee' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
]
]
],
'employment_category' => '<string>',
'employment_type' => '<string>',
'ethnicity' => '<string>',
'finch_ids' => [
'<string>'
],
'first_name' => '<string>',
'frozen' => true,
'gender' => '<string>',
'group' => '<string>',
'hire_date' => '<string>',
'is_officer' => true,
'last_name' => '<string>',
'loan' => [
[
'_id' => '<string>',
'amount' => 123,
'client' => '<string>',
'created_at' => '<string>',
'data' => '<string>',
'deleted_at' => '<string>',
'employee' => '<string>',
'payroll' => '<string>',
'plan' => '<string>',
'remote_id' => '<string>',
'status' => '<string>',
'team' => '<string>',
'type' => '<string>'
]
],
'location_code' => '<string>',
'middle_name' => '<string>',
'missing_ssn' => true,
'not_employee' => true,
'ownership_percentage' => 123,
'parser_errors' => [
[
'error' => '<string>',
'field' => '<string>'
]
],
'payroll_location_id' => '<string>',
'phone' => '<string>',
'possible_duplicate' => true,
'preferred_name' => '<string>',
'principal' => '<string>',
'prior_year_census' => [
'_id' => '<string>',
'activity' => [
[
'_id' => '<string>',
'action' => '<string>',
'changes' => [
[
'data' => '<string>',
'field' => '<string>',
'from' => '<string>',
'to' => '<string>'
]
],
'client' => '<string>',
'on_id' => '<string>',
'on_py' => 123,
'on_type' => '<string>',
'team' => '<string>',
'timestamp' => '<string>',
'user' => '<string>'
]
],
'address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'birth_date' => '<string>',
'cleared' => [
'<string>'
],
'client' => '<string>',
'created_at' => '<string>',
'ct_group_code' => '<string>',
'deleted_at' => '<string>',
'edits' => [
],
'email' => '<string>',
'employee' => '<string>',
'employment_category' => '<string>',
'employment_type' => '<string>',
'errors' => [
[
'custom' => '<string>',
'detail' => '<string>',
'field_names' => [
'<string>'
],
'path' => [
'<string>'
],
'plan' => '<string>',
'reason' => '<string>',
'reviewed' => true
]
],
'ethnicity' => '<string>',
'first_name' => '<string>',
'gender' => '<string>',
'group' => '<string>',
'hire_date' => '<string>',
'is_officer' => true,
'last_name' => '<string>',
'loan_amount' => 123,
'loan_balance' => 123,
'loan_disbursement_date' => '<string>',
'loan_installment' => 123,
'loan_payments' => [
[
'_id' => '<string>',
'amount' => 123,
'date' => '<string>',
'loan_id' => '<string>',
'payroll' => '<string>',
'source' => '<string>'
]
],
'location_code' => '<string>',
'middle_name' => '<string>',
'not_employee' => true,
'other_employers' => [
'<string>'
],
'owner_kind' => '<string>',
'ownership_percentage' => 123,
'phone' => '<string>',
'plans_data' => [
[
'eligibility_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'eligibility_reason' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligibility_status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'eligible_gross_pay' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'entry_date' => [
'calculated' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>',
'given' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'overrides' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
]
],
'exclusions' => [
'ee' => true,
'er_match' => true,
'er_non_elective' => true,
'er_safe_harbor' => true
],
'plan_compensation' => [
'calculated' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123,
'given' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'overrides' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
]
],
'plan_id' => '<string>',
'plan_type' => '<string>',
'transactions' => [
'calculated' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'given' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'new_compensation_group' => '<string>',
'overrides' => [
'ee_pre_tax' => 123,
'ee_roth' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_qaca_match' => 123,
'er_safe_harbor_match' => 123,
'er_safe_harbor_non_elective' => 123,
'gross_minus_exclusions' => 123,
'gross_pay' => 123,
'hours_worked' => 123,
'hpi_compensation' => 123,
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'prevailing_wage' => 123,
'statutory_compensation' => 123
],
'vesting' => [
'date' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'historical_hos' => 123,
'nra' => '<string>',
'nra_met' => true,
'status' => [
'ee' => '<string>',
'er' => '<string>',
'er_match' => '<string>',
'er_non_elective' => '<string>',
'er_safe_harbor' => '<string>'
],
'vested' => [
'ee' => 123,
'er' => 123,
'er_match' => 123,
'er_non_elective' => 123,
'er_safe_harbor' => 123
],
'yos' => 123
],
'warnings' => [
[
'dismiss' => true,
'fields' => [
'<string>'
],
'money_type' => '<string>',
'reason' => '<string>'
]
]
]
],
'possible_termination_date' => '<string>',
'preferred_name' => '<string>',
'principal' => '<string>',
'py' => 123,
'rehire_date' => '<string>',
'relationship' => '<string>',
'skipped' => [
],
'ssn' => '<string>',
'status_override' => '<string>',
'team' => '<string>',
'termination_date' => '<string>',
'termination_reason' => '<string>',
'title' => '<string>',
'w2_sources' => [
[
'boxes' => [
'box_1' => '<string>',
'box_10' => '<string>',
'box_11' => '<string>',
'box_12' => [
[
'amount' => '<string>',
'code' => '<string>'
]
],
'box_13_retirement_plan' => true,
'box_13_statutory_employee' => true,
'box_13_third_party_sick_pay' => true,
'box_14' => [
[
'amount' => '<string>',
'label' => '<string>'
]
],
'box_2' => '<string>',
'box_3' => '<string>',
'box_4' => '<string>',
'box_5' => '<string>',
'box_6' => '<string>',
'box_7' => '<string>',
'box_8' => '<string>',
'state_local' => [
[
'employer_state_id' => '<string>',
'local_income_tax' => '<string>',
'local_wages_tips' => '<string>',
'locality_name' => '<string>',
'state' => '<string>',
'state_income_tax' => '<string>',
'state_wages_tips' => '<string>'
]
]
],
'compensation_applicable' => true,
'confidence' => 123,
'document_type' => '<string>',
'employee_address' => [
'attn' => '<string>',
'city' => '<string>',
'country' => '<string>',
'desc' => '<string>',
'state' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'unit' => '<string>',
'zip' => '<string>'
],
'employee_name' => '<string>',
'employer_ein' => '<string>',
'employer_name' => '<string>',
'error_code' => '<string>',
'file' => '<string>',
'form_status' => '<string>',
'gross_income' => '<string>',
'gross_receipts' => '<string>',
'guaranteed_payments_services' => '<string>',
'net_profit' => '<string>',
'ordinary_income' => '<string>',
'parsed_at' => '<string>',
'retirement_plan' => true,
'self_employment_earnings' => '<string>',
'ssn_last_four' => '<string>',
'tax_year' => 123,
'total_expenses' => '<string>',
'warning' => '<string>'
]
]
],
'rehire_date' => '<string>',
'relationship' => '<string>',
'remote_id' => '<string>',
'ssn' => '<string>',
'status_override' => '<string>',
'team' => '<string>',
'termination_date' => '<string>',
'title' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}"
payload := strings.NewReader("{\n \"_id\": \"<string>\",\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"distributions\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"plan\": \"<string>\",\n \"processed_at\": \"<string>\",\n \"processor\": \"<string>\",\n \"reason\": \"<string>\",\n \"requested_at\": \"<string>\",\n \"source\": \"<string>\",\n \"source_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\"\n }\n ],\n \"email\": \"<string>\",\n \"employee_plans_data\": [\n {\n \"plan\": \"<string>\",\n \"vesting_basis\": {\n \"date_basis\": {\n \"ee\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"pct_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n }\n }\n ],\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"ethnicity\": \"<string>\",\n \"finch_ids\": [\n \"<string>\"\n ],\n \"first_name\": \"<string>\",\n \"frozen\": true,\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"data\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"payroll\": \"<string>\",\n \"plan\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"missing_ssn\": true,\n \"not_employee\": true,\n \"ownership_percentage\": 123,\n \"parser_errors\": [\n {\n \"error\": \"<string>\",\n \"field\": \"<string>\"\n }\n ],\n \"payroll_location_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"possible_duplicate\": true,\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"prior_year_census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"title\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"_id\": \"<string>\",\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"distributions\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"plan\": \"<string>\",\n \"processed_at\": \"<string>\",\n \"processor\": \"<string>\",\n \"reason\": \"<string>\",\n \"requested_at\": \"<string>\",\n \"source\": \"<string>\",\n \"source_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\"\n }\n ],\n \"email\": \"<string>\",\n \"employee_plans_data\": [\n {\n \"plan\": \"<string>\",\n \"vesting_basis\": {\n \"date_basis\": {\n \"ee\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"pct_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n }\n }\n ],\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"ethnicity\": \"<string>\",\n \"finch_ids\": [\n \"<string>\"\n ],\n \"first_name\": \"<string>\",\n \"frozen\": true,\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"data\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"payroll\": \"<string>\",\n \"plan\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"missing_ssn\": true,\n \"not_employee\": true,\n \"ownership_percentage\": 123,\n \"parser_errors\": [\n {\n \"error\": \"<string>\",\n \"field\": \"<string>\"\n }\n ],\n \"payroll_location_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"possible_duplicate\": true,\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"prior_year_census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"title\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cx.stax.ai/packages/retirement/participants/{py}/{client}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"_id\": \"<string>\",\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"distributions\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"plan\": \"<string>\",\n \"processed_at\": \"<string>\",\n \"processor\": \"<string>\",\n \"reason\": \"<string>\",\n \"requested_at\": \"<string>\",\n \"source\": \"<string>\",\n \"source_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\"\n }\n ],\n \"email\": \"<string>\",\n \"employee_plans_data\": [\n {\n \"plan\": \"<string>\",\n \"vesting_basis\": {\n \"date_basis\": {\n \"ee\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"pct_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos_basis\": {\n \"ee\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n }\n }\n ],\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"ethnicity\": \"<string>\",\n \"finch_ids\": [\n \"<string>\"\n ],\n \"first_name\": \"<string>\",\n \"frozen\": true,\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"data\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"employee\": \"<string>\",\n \"payroll\": \"<string>\",\n \"plan\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"status\": \"<string>\",\n \"team\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"missing_ssn\": true,\n \"not_employee\": true,\n \"ownership_percentage\": 123,\n \"parser_errors\": [\n {\n \"error\": \"<string>\",\n \"field\": \"<string>\"\n }\n ],\n \"payroll_location_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"possible_duplicate\": true,\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"prior_year_census\": {\n \"_id\": \"<string>\",\n \"activity\": [\n {\n \"_id\": \"<string>\",\n \"action\": \"<string>\",\n \"changes\": [\n {\n \"data\": \"<string>\",\n \"field\": \"<string>\",\n \"from\": \"<string>\",\n \"to\": \"<string>\"\n }\n ],\n \"client\": \"<string>\",\n \"on_id\": \"<string>\",\n \"on_py\": 123,\n \"on_type\": \"<string>\",\n \"team\": \"<string>\",\n \"timestamp\": \"<string>\",\n \"user\": \"<string>\"\n }\n ],\n \"address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"birth_date\": \"<string>\",\n \"cleared\": [\n \"<string>\"\n ],\n \"client\": \"<string>\",\n \"created_at\": \"<string>\",\n \"ct_group_code\": \"<string>\",\n \"deleted_at\": \"<string>\",\n \"edits\": {},\n \"email\": \"<string>\",\n \"employee\": \"<string>\",\n \"employment_category\": \"<string>\",\n \"employment_type\": \"<string>\",\n \"errors\": [\n {\n \"custom\": \"<string>\",\n \"detail\": \"<string>\",\n \"field_names\": [\n \"<string>\"\n ],\n \"path\": [\n \"<string>\"\n ],\n \"plan\": \"<string>\",\n \"reason\": \"<string>\",\n \"reviewed\": true\n }\n ],\n \"ethnicity\": \"<string>\",\n \"first_name\": \"<string>\",\n \"gender\": \"<string>\",\n \"group\": \"<string>\",\n \"hire_date\": \"<string>\",\n \"is_officer\": true,\n \"last_name\": \"<string>\",\n \"loan_amount\": 123,\n \"loan_balance\": 123,\n \"loan_disbursement_date\": \"<string>\",\n \"loan_installment\": 123,\n \"loan_payments\": [\n {\n \"_id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"<string>\",\n \"loan_id\": \"<string>\",\n \"payroll\": \"<string>\",\n \"source\": \"<string>\"\n }\n ],\n \"location_code\": \"<string>\",\n \"middle_name\": \"<string>\",\n \"not_employee\": true,\n \"other_employers\": [\n \"<string>\"\n ],\n \"owner_kind\": \"<string>\",\n \"ownership_percentage\": 123,\n \"phone\": \"<string>\",\n \"plans_data\": [\n {\n \"eligibility_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"eligibility_reason\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligibility_status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"eligible_gross_pay\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"entry_date\": {\n \"calculated\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\",\n \"given\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"overrides\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n }\n },\n \"exclusions\": {\n \"ee\": true,\n \"er_match\": true,\n \"er_non_elective\": true,\n \"er_safe_harbor\": true\n },\n \"plan_compensation\": {\n \"calculated\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123,\n \"given\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"overrides\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n }\n },\n \"plan_id\": \"<string>\",\n \"plan_type\": \"<string>\",\n \"transactions\": {\n \"calculated\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"given\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"new_compensation_group\": \"<string>\",\n \"overrides\": {\n \"ee_pre_tax\": 123,\n \"ee_roth\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_qaca_match\": 123,\n \"er_safe_harbor_match\": 123,\n \"er_safe_harbor_non_elective\": 123,\n \"gross_minus_exclusions\": 123,\n \"gross_pay\": 123,\n \"hours_worked\": 123,\n \"hpi_compensation\": 123,\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"prevailing_wage\": 123,\n \"statutory_compensation\": 123\n },\n \"vesting\": {\n \"date\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"historical_hos\": 123,\n \"nra\": \"<string>\",\n \"nra_met\": true,\n \"status\": {\n \"ee\": \"<string>\",\n \"er\": \"<string>\",\n \"er_match\": \"<string>\",\n \"er_non_elective\": \"<string>\",\n \"er_safe_harbor\": \"<string>\"\n },\n \"vested\": {\n \"ee\": 123,\n \"er\": 123,\n \"er_match\": 123,\n \"er_non_elective\": 123,\n \"er_safe_harbor\": 123\n },\n \"yos\": 123\n },\n \"warnings\": [\n {\n \"dismiss\": true,\n \"fields\": [\n \"<string>\"\n ],\n \"money_type\": \"<string>\",\n \"reason\": \"<string>\"\n }\n ]\n }\n ],\n \"possible_termination_date\": \"<string>\",\n \"preferred_name\": \"<string>\",\n \"principal\": \"<string>\",\n \"py\": 123,\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"skipped\": {},\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"termination_reason\": \"<string>\",\n \"title\": \"<string>\",\n \"w2_sources\": [\n {\n \"boxes\": {\n \"box_1\": \"<string>\",\n \"box_10\": \"<string>\",\n \"box_11\": \"<string>\",\n \"box_12\": [\n {\n \"amount\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"box_13_retirement_plan\": true,\n \"box_13_statutory_employee\": true,\n \"box_13_third_party_sick_pay\": true,\n \"box_14\": [\n {\n \"amount\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"box_2\": \"<string>\",\n \"box_3\": \"<string>\",\n \"box_4\": \"<string>\",\n \"box_5\": \"<string>\",\n \"box_6\": \"<string>\",\n \"box_7\": \"<string>\",\n \"box_8\": \"<string>\",\n \"state_local\": [\n {\n \"employer_state_id\": \"<string>\",\n \"local_income_tax\": \"<string>\",\n \"local_wages_tips\": \"<string>\",\n \"locality_name\": \"<string>\",\n \"state\": \"<string>\",\n \"state_income_tax\": \"<string>\",\n \"state_wages_tips\": \"<string>\"\n }\n ]\n },\n \"compensation_applicable\": true,\n \"confidence\": 123,\n \"document_type\": \"<string>\",\n \"employee_address\": {\n \"attn\": \"<string>\",\n \"city\": \"<string>\",\n \"country\": \"<string>\",\n \"desc\": \"<string>\",\n \"state\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"unit\": \"<string>\",\n \"zip\": \"<string>\"\n },\n \"employee_name\": \"<string>\",\n \"employer_ein\": \"<string>\",\n \"employer_name\": \"<string>\",\n \"error_code\": \"<string>\",\n \"file\": \"<string>\",\n \"form_status\": \"<string>\",\n \"gross_income\": \"<string>\",\n \"gross_receipts\": \"<string>\",\n \"guaranteed_payments_services\": \"<string>\",\n \"net_profit\": \"<string>\",\n \"ordinary_income\": \"<string>\",\n \"parsed_at\": \"<string>\",\n \"retirement_plan\": true,\n \"self_employment_earnings\": \"<string>\",\n \"ssn_last_four\": \"<string>\",\n \"tax_year\": 123,\n \"total_expenses\": \"<string>\",\n \"warning\": \"<string>\"\n }\n ]\n },\n \"rehire_date\": \"<string>\",\n \"relationship\": \"<string>\",\n \"remote_id\": \"<string>\",\n \"ssn\": \"<string>\",\n \"status_override\": \"<string>\",\n \"team\": \"<string>\",\n \"termination_date\": \"<string>\",\n \"title\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"status": "uploaded",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"distributions": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"plan": "<string>",
"processed_at": "<string>",
"processor": "<string>",
"reason": "<string>",
"requested_at": "<string>",
"source": "<string>",
"source_id": "<string>",
"ssn": "<string>",
"status": "<string>",
"team": "<string>"
}
],
"email": "<string>",
"employee_plans_data": [
{
"plan": "<string>",
"vesting_basis": {
"date_basis": {
"ee": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"pct_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos_basis": {
"ee": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
}
}
],
"employment_category": "<string>",
"employment_type": "<string>",
"ethnicity": "<string>",
"finch_ids": [
"<string>"
],
"first_name": "<string>",
"frozen": true,
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan": [
{
"_id": "<string>",
"amount": 123,
"client": "<string>",
"created_at": "<string>",
"data": "<string>",
"deleted_at": "<string>",
"employee": "<string>",
"payroll": "<string>",
"plan": "<string>",
"remote_id": "<string>",
"status": "<string>",
"team": "<string>",
"type": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"missing_ssn": true,
"not_employee": true,
"ownership_percentage": 123,
"parser_errors": [
{
"error": "<string>",
"field": "<string>"
}
],
"payroll_location_id": "<string>",
"phone": "<string>",
"possible_duplicate": true,
"preferred_name": "<string>",
"principal": "<string>",
"prior_year_census": {
"_id": "<string>",
"activity": [
{
"_id": "<string>",
"action": "<string>",
"changes": [
{
"data": "<string>",
"field": "<string>",
"from": "<string>",
"to": "<string>"
}
],
"client": "<string>",
"on_id": "<string>",
"on_py": 123,
"on_type": "<string>",
"team": "<string>",
"timestamp": "<string>",
"user": "<string>"
}
],
"address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"birth_date": "<string>",
"cleared": [
"<string>"
],
"client": "<string>",
"created_at": "<string>",
"ct_group_code": "<string>",
"deleted_at": "<string>",
"edits": {},
"email": "<string>",
"employee": "<string>",
"employment_category": "<string>",
"employment_type": "<string>",
"errors": [
{
"custom": "<string>",
"detail": "<string>",
"field_names": [
"<string>"
],
"path": [
"<string>"
],
"plan": "<string>",
"reason": "<string>",
"reviewed": true
}
],
"ethnicity": "<string>",
"first_name": "<string>",
"gender": "<string>",
"group": "<string>",
"hire_date": "<string>",
"is_officer": true,
"last_name": "<string>",
"loan_amount": 123,
"loan_balance": 123,
"loan_disbursement_date": "<string>",
"loan_installment": 123,
"loan_payments": [
{
"_id": "<string>",
"amount": 123,
"date": "<string>",
"loan_id": "<string>",
"payroll": "<string>",
"source": "<string>"
}
],
"location_code": "<string>",
"middle_name": "<string>",
"not_employee": true,
"other_employers": [
"<string>"
],
"owner_kind": "<string>",
"ownership_percentage": 123,
"phone": "<string>",
"plans_data": [
{
"eligibility_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"eligibility_reason": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligibility_status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"eligible_gross_pay": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"entry_date": {
"calculated": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>",
"given": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"overrides": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
}
},
"exclusions": {
"ee": true,
"er_match": true,
"er_non_elective": true,
"er_safe_harbor": true
},
"plan_compensation": {
"calculated": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123,
"given": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"overrides": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
}
},
"plan_id": "<string>",
"plan_type": "<string>",
"transactions": {
"calculated": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"given": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"new_compensation_group": "<string>",
"overrides": {
"ee_pre_tax": 123,
"ee_roth": 123,
"er_match": 123,
"er_non_elective": 123,
"er_qaca_match": 123,
"er_safe_harbor_match": 123,
"er_safe_harbor_non_elective": 123,
"gross_minus_exclusions": 123,
"gross_pay": 123,
"hours_worked": 123,
"hpi_compensation": 123,
"prevailing_wage": 123,
"statutory_compensation": 123
},
"prevailing_wage": 123,
"statutory_compensation": 123
},
"vesting": {
"date": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"historical_hos": 123,
"nra": "<string>",
"nra_met": true,
"status": {
"ee": "<string>",
"er": "<string>",
"er_match": "<string>",
"er_non_elective": "<string>",
"er_safe_harbor": "<string>"
},
"vested": {
"ee": 123,
"er": 123,
"er_match": 123,
"er_non_elective": 123,
"er_safe_harbor": 123
},
"yos": 123
},
"warnings": [
{
"dismiss": true,
"fields": [
"<string>"
],
"money_type": "<string>",
"reason": "<string>"
}
]
}
],
"possible_termination_date": "<string>",
"preferred_name": "<string>",
"principal": "<string>",
"py": 123,
"rehire_date": "<string>",
"relationship": "<string>",
"skipped": {},
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"termination_reason": "<string>",
"title": "<string>",
"w2_sources": [
{
"boxes": {
"box_1": "<string>",
"box_10": "<string>",
"box_11": "<string>",
"box_12": [
{
"amount": "<string>",
"code": "<string>"
}
],
"box_13_retirement_plan": true,
"box_13_statutory_employee": true,
"box_13_third_party_sick_pay": true,
"box_14": [
{
"amount": "<string>",
"label": "<string>"
}
],
"box_2": "<string>",
"box_3": "<string>",
"box_4": "<string>",
"box_5": "<string>",
"box_6": "<string>",
"box_7": "<string>",
"box_8": "<string>",
"state_local": [
{
"employer_state_id": "<string>",
"local_income_tax": "<string>",
"local_wages_tips": "<string>",
"locality_name": "<string>",
"state": "<string>",
"state_income_tax": "<string>",
"state_wages_tips": "<string>"
}
]
},
"compensation_applicable": true,
"confidence": 123,
"document_type": "<string>",
"employee_address": {
"attn": "<string>",
"city": "<string>",
"country": "<string>",
"desc": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>",
"unit": "<string>",
"zip": "<string>"
},
"employee_name": "<string>",
"employer_ein": "<string>",
"employer_name": "<string>",
"error_code": "<string>",
"file": "<string>",
"form_status": "<string>",
"gross_income": "<string>",
"gross_receipts": "<string>",
"guaranteed_payments_services": "<string>",
"net_profit": "<string>",
"ordinary_income": "<string>",
"parsed_at": "<string>",
"retirement_plan": true,
"self_employment_earnings": "<string>",
"ssn_last_four": "<string>",
"status": "uploaded",
"tax_year": 123,
"total_expenses": "<string>",
"warning": "<string>"
}
]
},
"rehire_date": "<string>",
"relationship": "<string>",
"remote_id": "<string>",
"ssn": "<string>",
"status_override": "<string>",
"team": "<string>",
"termination_date": "<string>",
"title": "<string>"
}{}{}Authorizations
Body
application/json
Employee and census data
Response
Created employee with census