Resource: employee.nv

HTTP-method: POST

Import an employee's information.
Querystring parameters:

Parameter nameOccursExampleDescription
Method1AddAdd or Edit

Request:

LevelElement nameType and lengthOccursDescriptionExample
RootrootAggr.1  
1employeeAggr.1  
2employeebaseinformationAggr.1  
3foreignemployeeidentificationAggr.0...1Foreign employeeIf given, do not give employeeidentifier value
4identifierText1Identifier23011970
Attr.typeString1Identifier type, allowed values:
taxidentificationnumber
foreignpersonalidentifier
other
foreignpersonalidentifier
4issuingcountryString1CountryAF
Attr.typeString1Country typeISO-3166
4genderString1Gender,
male
female
male
4dateofbirthDate1Date of birth
1970-10-20
Attr.formatString1Date format, always ansiansi
3employeeidentifierString1Finnish employee social security number010277-xxxp 
3companyidentifierString0...1Company indentifier (y-tunnus),
when company is added as an employee
0174564-5
3companynameString0...1Name of the companyTest Company
3firstnameString, max 50 1Employee's first name Carl
3lastnameString, max 50 1Employee's last name Customer
3phonenumberString, max 50 1Employee's phone number 0501234567
3emailString, max 100 1Employees E-mail [email protected]
2employeepayrollinformationAggr.1  
3streetaddressString, max 2551Employee's address Examplestreet 1
3postnumberText, max 501Employee's post number 56123
3cityString, max 2551Employee's post officeLappeenranta
3municipalityString, max 2550...1Employees's home cityLappeenranta
3countryString, max 20...1Employee's home country. Default is 'fi'fi
3nationalityString, max 2 0...1Employee's nationalityse
3languageString, max 2 0...1Employee's language fi
3employeenumberNumeric, max 100...1Employee's unique identification number 12
3professionString, max 2550...1Employee's profession Seller
3jobbegindateString, max 100...1Employee's job begin date, yyyy-mm-dd2014-08-10
Attr.formatString1Date format, always ansiansi
3payrollrulegroupnameString, max 501Payroll group nameMonthly salary
3bankaccountnumberString, max 340...1Employee's bank account numberFI21 1234 xxxx xxxx xx
3bankidentificationcodeString, max. 200...1Bank's identification code  
3accountingaccountnumberNumeric 0...1You can access company's accounting information in Netvisor from ACCOUNTING > Administration > Accounting basic information > Account list1751
3hierarchyString0...1Hierarchy levelOy Yritys Ab 
Attr.typeString1Linking type of hierarchynetvisor - Netvisor ID
or
customer - If identified by name, name has to be unique
Read about company hierarchy
3dimensionAggr.0...n Default dimensions
4dimensionnameString1Dimension header name.
Created if needed
Cost centers
4dimensionitemString1Dimension name. Created if neededDevOps
Attr.fatheridNumeric0...1Dimensions parent ID tunnus. IDs can be retrieved with this resource.1
3payslipdeliverymethodString0...1Payslip delivery method1 = local printing
2 = printing service
3 = e-salary
Attr.typeString1Linking type of delivery methodAttribute type is always netvisor, which is Netvisor ID
3isjointownerNumeric0...1In a shareholder relationship with payer1=yes
0=no
3isathleteNumeric0...1Athlete1=yes
0=no
3isperformingartistNumeric0...1Performing atrist1=yes
0=no
3employeeincurancetypeNumeric0...1Employee pension insurance type1=Tyel
2=MYEL
3=YEL
4=No pension insurance
3ispersonworkingonaroadferryonalandislandsNumeric0...1Person working on a road ferry on Åland Islands1=yes
0=no
3isentrepreneurwithoptionalyelormyelNumeric0...1Entrepreneur, no YEL or MYEL insurance obligation1=yes
0=no

1 can be given only when employeeincurancetype=4
3ispersonreceivingeppoinsurancesalary
Numeric0...1EPPO-lain mukaista vakuutuspalkkaa saaja henkilö
1=yes
0=no
3isinvoicingserviceuserwithoutbusinessid
Numeric0...1A self-employed light entrepreneur, a client of an invoicing service, no Business ID
1=yes
0=no
3nosocialsecuritypaymentNumeric0...1Not subject to employer's sickness insurance payment1=yes
0=no
3receivessalaryfromdiplomaticembassy
Numeric0...1Person receiving a salary paid by a diplomatic mission
1=yes
0=no
3activity
Numeric0...1Activity

1=yes

0=no

Default 1

3foreclosure
Numeric0...1Foreclosure

1=yes

0=no

Default 0

3foreclosuremaitenancepersons
Numeric0...1
Persons facing recovery proceedings living under maintenance allowance
Must be given, if foreclosure=1
3taxnumber
String0...1
Tax number123456798912
3placeofbusiness
String0...1Place of business (tulorekisteriin)Pääkonttori
2employmentperiodsAggr.0...1Employments 
3employmentperiodAggr.1...nEmployment 
4companystartdateDate0...1Start date of continuous employment2017-01-01
Attr.formatString1Date format, always ansiansi
4startdateDate1Start date2017-01-01
Attr.formatString1Date format, always ansiansi
4probationenddateDate0...1End date of probation2017-04-01
Attr.formatString1Date format, always ansiansi
4employmentmodeNumeric0...1Form of employment1 = employed
2 = leased employee
3 = self-employed person or
 similar
4 = trainee
5 = voluntary work
Attr.typeString1Linking type of employmentAttribute type is always netvisor, which is Netvisor ID
4professionString, max 250
1Professional titleTester
4commentString, max 5000...1CommentKnows what she is doing
4enddateDate0...1End date2017-12-31
Attr.formatString1Date format, always ansiansi
4endreasonNumeric0...1End reason2=Retirement
4=Employee's own request
5=Reason attributable to the employee
6=Fixed-term employment
11=Financial and production-related grounds for termination
12=End of employment by mutual agreement
13=Other reason
(Not in use anymore:
1 = Normal employment ending
3 = Employee's death
7 = Probation period
8 = Cancellation of the employment
9 = Bankruptcy of the company
10 = Change of ownership of the company)
Attr.typeString1Linking type of endreasonAttribute type is always netvisor, which is Netvisor ID
4occupationclassificationString0...1Occupation classTK10-code of occupation class 
Attr.typeString1 Linking type of occupation classification always isco
4employmentcontractNumeric0...1Duration of employment1 = Permanent
2 = Temporary
Note: For temporary contract must be given end date 
Attr.typeString1Linking type of employment contractalways netvisor
4employmentformNumeric0...1 1 = Full-time
2 = Part-time
Attr.typeString1Linking type of employment formalways netvisor
4parttimepercentNumeric0...1Part-time percentagePermissible value: decimal number from 0 to 100
Note: employmentform must be 2 so that the setting is taken into account.
Rounding to the nearest two decimal places
4regularworkinghoursNumeric0...1Regular working hoursPermissible value: decimal number from 0 to 168
Rounding to the nearest two decimal places
4groundsforemploymentNumeric0...1Grounds for employment0=Other grounds
1=Working or employment relationship
4kevaprofessionalclasscodeNumeric0...1Keva professional class code, max 20 characters
KEVA information can only be given is company has selected "Company pension insurer is Keva"
Keva's professional class codes:
Professional class codes
4kevaemploymentregistrationNumeric0...1Keva employment registration code, max 2 characters.
Keva employment registration codes:
Keva employment registration codes
Attr.typeString1always kevakeva
Attr.pensionprovidercodeString0...1Pension company ID code. If not given, default (20) will be used. This defines which values can be given in kevaemploymentregistrationCodes can be found here: Pension company ID codes
ispaymenttypemonthlywageNumeric0...1Form of payment: Monthly wages1=yes
0=no
4ispaymenttypehourlywageNumeric0...1Form of payment: Hourly wages1=yes
0=no
4ispaymenttypepiecewageNumeric0...1Form of payment: Contract pay1=yes
0=no
4collectiveagreementNumeric0...1Collective agreementIncomes registers collective agreement codes:
Collective agreement codes
Attr.typeString1always cbacodecbacode
4stateemploymentfundNumeric0...1Employed with assistance from the State employment fund1=yes
0=no
4carbenefityearNumeric0...1Year of commissioning of the company car, max 4 characters2012
4isabroadcarbenefitNumeric0...1Company car benefit received in another country. 1=yes
0=no
4caremissionsvalueNumeric0...1Car emission value, an integer between 0-10085
2employeesettingsAggr.0...1Settings for the employee 
3payrollserviceString0...1Payroll operations service. enabled or disabledenabled
3resourcemanagementString0...1Resource management 
2employeesettlementpointsAggr.0...1Settlement points 
3employeeworkpensioninsuranceAggr.0...1Work pension insurance 
4typeString0...1Settlement point handlingnohandling=no handling
automatichandling=automatic handling
under17yearsold=under 17 years old 
17to52yearsold=17 to 52 years old 
53to62yearsold=53 to 62 years old
63to67yearsold=63 to 67 years old
over68yearsold=over 68 years old
4nameString0...1Insurance specific settlement point definition (* 
3employeeunemploymentinsuranceAggr.0...1Unemployment insurance 
4typeString0...1Settlement point handlingnohandling=no handling
automatichandling =Automatic handling 
under17yearsold=under 17 years old
17to64yearsold=17 to 64 years old
over65yearsold=over 65 years old
partowner=part owner
4nameString0...1Insurance specific settlement point definition (* 
3employeeaccidentinsuranceAggr.0...1Accident insurance 
4typeString0...1Settlement point handlingnohandling or attachedtosettlementpoint
4nameString0...1Insurance specific settlement point definition (* 
3employeegrouplifeinsuranceAggr.0...1Group life insurance 
4typeString0...1Settlement point handlingnohandling or attachedtosettlementpoint
4nameString0...1Insurance specific settlement point definition (* 
3employeeotherinsuranceAggr.0...1Other insurance 
4typeString0...1Settlement point handlingnohandling or attachedtosettlementpoint
4nameString0...1Insurance specific settlement point definition (* 
3employeeunionmembershipfeeAggr.0...1Union membership fee 
4typeString0...1Settlement point handlingnohandling or attachedtosettlementpoint
4nameString0...1Insurance specific settlement point definition (* 
3employeeforeclosureAggr.0...1fore closure 
4typeString0...1Settlement point handlingnohandling or attachedtosettlementpoint
4nameString0...1Insurance specific settlement point definition (* 
2EmployeeEducationalInformationAggr.0...1Employee's educational information
3degreeAggr.0...nDegree
3nameString1Name of the degreesecondary school
graduate
3schoolString1Name of the SchoolLyseon lukio
3graduationyearNumeric1Year of graduation2022
3primarydegreeNumeric1Primary degree1 = yes
0 = no
2employeeadditionalinformationAggr.0...nEmployee's additional information fields
3additionalinformationfieldAggr.0...nEmployee additional information field
4nameString1Additional information field's nameAllergies
4valueString1Additional information field's value

 *) Settlement points: Salary > Payroll > Obligations > Settlements

Note when using this resource:

  • Editing employee is also possible when the employee's employment emplyment is not valid
  • If you are updating existing employee and you are not changing Employee number do not give tag
  • With this resource you cannot set holiday accural. This has to be done in Netvisor UI.
    • For a single employee, the information can be set on the employees's information page
    • For multiple employees, information can be set as mass in the management of holiday rights (Salaries > Holiday calculation settings): Select wanted employees, press "Handle select" and "Set holiday accumulation rule", and then select the wanted rule.
  • If employmentperiods-element has been defined, at least one employment has to be imported
    • startdate- and profession-elements are always mandatory
    • If enddate has been defined, then endreason is also mandatory
  • If employmentperiods-element has not been defined, employees employment will be set as it was before (employeepayrollinformation > profession and jobbegindate)
  • If employmentperiods-element has been defined, employment information will override employeepayrollinformation-definitions
  • If employments will be imported through API already existing (if any) employments will be deleted
  • If company is added as employee, do not give basic employee information, like:
    • employeeidentifier
    • firstname
    • lastname
    • foreignemployeeidentification -element


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.