# TripletexRubyClient::Employment ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **Integer** | | [optional] **version** | **Integer** | | [optional] **changes** | [**Array<Change>**](Change.md) | | [optional] **url** | **String** | | [optional] **employee** | [**Employee**](Employee.md) | | [optional] **employment_id** | **String** | Existing employment ID used by the current accounting system | [optional] **start_date** | **String** | | **end_date** | **String** | | [optional] **employment_end_reason** | **String** | Define the employment end reason. | [optional] **division** | [**Division**](Division.md) | | [optional] **last_salary_change_date** | **String** | | [optional] **no_employment_relationship** | **BOOLEAN** | Activate pensions and other benefits with no employment relationship. | [optional] **is_main_employer** | **BOOLEAN** | Determines if company is main employer for the employee. Default value is true.<br />Some values will be default set if not sent upon creation of employment: <br/> If isMainEmployer is NOT sent and tax deduction code loennFraHovedarbeidsgiver is sent, isMainEmployer will be set to true. <br /> If isMainEmployer is NOT sent and tax deduction code loennFraBiarbeidsgiver is sent, isMainEmployer will be set to false. <br /> If true and deduction code is NOT sent, value of tax deduction code will be set to loennFraHovedarbeidsgiver. <br /> If false and deduction code is NOT sent, value of tax deduction code will be set to loennFraBiarbeidsgiver. <br /> For other types of Tax Deduction Codes, isMainEmployer does not influence anything. | [optional] **tax_deduction_code** | **String** | EMPTY - represents that a tax deduction code is not set on the employment. It is illegal to set the field to this value. <br /> Default value of this field is loennFraHovedarbeidsgiver or loennFraBiarbeidsgiver depending on boolean isMainEmployer | [optional] **employment_details** | [**Array<EmploymentDetails>**](EmploymentDetails.md) | Employment types tied to the employment | [optional]