Stampfactory
Dokumentation
Sonstiges

Kinder für die Lohnabrechnung speichern

PUT
/employees/{employee}/payroll/children
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Pfadparameter

employee*string

The employee ID

Formatuuid

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Vollständige Liste der Kinder einer beschäftigten Person (ersetzt den Bestand). Kinderzahl und Kinderfreibeträge an den Lohndaten bleiben davon unberührt.

Response-Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/payroll/children" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "first_name": "string",        "birth_date": "2019-08-24"      }    ]  }'
{  "data": {    "id": "string",    "employee_id": "string",    "birth_name": "string",    "sv_first_name": "string",    "sv_last_name": "string",    "name_prefix": "string",    "name_suffix": "string",    "title": "string",    "street": "string",    "postal_code": "string",    "city": "string",    "address_affix": "string",    "address_country": "string",    "birth_date": "string",    "birth_place": "string",    "nationality": "string",    "birth_country": "string",    "severely_disabled": true,    "gender": "m",    "marital_status": "string",    "tax_id": "string",    "tax_class": "string",    "tax_factor": 0,    "religion": "string",    "spouse_religion": "string",    "number_of_children": "string",    "child_tax_allowance": 0,    "pension_obligation": "string",    "flat_rate_taxation": "two_percent",    "flat_rate_passed_on": true,    "insurance_type": "string",    "employment_type": "string",    "health_insurance_name": "string",    "health_insurance_number": "string",    "health_insurance_company_number": "string",    "health_insurance_member_number": "string",    "pkv_provider": "string",    "pkv_monthly_premium": 0,    "pkv_subsidy_requested": true,    "contribution_groups": "string",    "uv_hazard_tariff": "string",    "rv_exemption_existing": true,    "rv_exemption_requested": true,    "rv_exemption_received_on": "string",    "pension_insurance_number": "string",    "vsnr_birthdate_confirmed_at": "string",    "vsnr_hints": [      {        "code": "birthdate_mismatch",        "message": "string",        "confirmed": true      }    ],    "pension_fund": "string",    "pension_fund_member_number": "string",    "social_fund": "string",    "social_fund_employee_number": "string",    "outpatient_care": "string",    "lbnr": "string",    "job_title": "string",    "profession": "string",    "education_level": "string",    "school_degree": "1",    "vocational_training": "1",    "training_start": "string",    "training_end_expected": "string",    "first_entry_date": "string",    "is_secondary_employment": true,    "construction_industry_since": "string",    "probation_months": 0,    "status_at_start": "employee",    "status_at_start_other": "string",    "status_at_start_flags": [      "pupil"    ],    "contract_type": "permanent_full_time",    "fixed_term_written": true,    "fixed_term_purpose": true,    "contract_signed_on": "string",    "is_shareholder": "string",    "is_student": "string",    "multiple_employment": "string",    "other_employment_limit_kept": true,    "disability_degree": "string",    "bank_account_holder": "string",    "iban": "string",    "bic": "string",    "payment_method": "transfer",    "children": [      {        "id": "string",        "surname": "string",        "first_name": "string",        "birth_date": "string"      }    ],    "capital_formation_contracts": [      {        "id": "string",        "recipient": "string",        "contract_number": "string",        "since": "string",        "iban": "string",        "bic": "string",        "amount": 0,        "employer_share": 0      }    ],    "previous_employments": [      {        "id": "string",        "from": "string",        "to": "string",        "kind": "string",        "days": 0      }    ],    "other_employments": [      {        "id": "string",        "from": "string",        "to": "string",        "employer": "string",        "activity": "string",        "weekly_hours": 0,        "kind": "marginal",        "monthly_pay": 0      }    ],    "stammdaten_confirmed_at": "string",    "stammdaten_confirmed_by": "string",    "stammdaten_confirmed_until": "string",    "stammdaten_confirmation_state": "missing",    "stammdaten_confirmed_source": "manual",    "updated_at": "string"  }}