Resource: tripexpense.nv

HTTP-method: POST

Request:

LevelElement nameType and lengthOccursDescriptionExample
RootrootAggr.1  
1tripexpenseAggr1  
2headerString1Header of the invoiceTrip expense
2descriptionString0...1Free description for invoice 
2customlinesAggr.0...1  
3customlineAggr.1...n  
4employeeidentifierString1Identifier of the employee, either number, finnish personal identifier or netvisorkey140785-xxxx
Attr.typeString0...1Type of identifier number or finnishpersonalidentifierfinnishpersonalidentifier
4ratioString1Type of Expense
HTTP-header X-Netvisor-Interface-Language=FI
affects to the name of ratio
Majoituskulut
Attr.typeString1Type of identifier name name
4amountNumeric1Amount of expense1,00
4customlineunitpriceNumeric1Unit price of the expense 150,00
Attr.iso4217currencycodeString0...1Currency used EUR
Attr.currencyrateNumeric0...1Currency exchange rate 
4vatpercentageNumeric0...1VAT percentage 24
4linedescriptionString1Description of the line Hotel bill
4begindateDate1Begin date2018-10-05
4enddateDate1End date2018-10-05
4crmprocessidentifierString0...1Identifier of a related CRM process  
4customeridentifierString0...1Netvisor ID or customer codeNV#123456
Attr.typeString0...1Type of identifier, netvisor or customer customer
4expenseaccountnumberNumeric0...1Expense account number 1701
4linestatusString0...1Travel line status. Different statuses are open (unfinished), confirmed (acknowledged), contentsupervisiored (travel expense rows with factual verification performed), accepted (approved) and paid.Paid
4dimensionAggr.0...n  
5dimensionnameString1Dimension header. If the header can't be found in system, Netvisor will create itProject
5dimensionitemString1Dimension item. If the item can't be found in system, Netvisor will create it
Payroll
Attr.fatheridNumeric0...1  
4tripexpenseattachmentsAggr.0...1  
5tripexpenseattachmentAggr.1...n  
6mimetypeString1MIME-Type of the attachmentApplication/Pdf
6attachmentdescriptionString1DescriptionDescription
6filenameString1File name Description.pdf
6documentdataString1Attachment data as Base64 encoded stringBwgHBgoICAgLCgoLDhg...
2travellinesAggr.0...1  
3travellineAggr.1...n  
4employeeidentifierString1Identifier of the employee, either number or personal identification number 140785-xxyy
Attr.typeString0...1type of identifier used, number or finnishpersonalidentifierfinnishpersonalidentifier
4traveltypeString1Type of travel, allowed values:
car,
car_with_trailer,
car_with_caravan, car_with_heavy_cargo, car_with_big_machinery, car_with_dog, car_travel_in_rough_terrain, motorboat_max_50hp, motorboat_over_50hp, snowmobile,
atv,
motorbike,
moped,
other,
carbenefit
car
4passengeramountNumeric 1Amount of passenger 1
4kilometeramountNumeric1Kilometers travelled 252,00
4unitpriceNumeric0...1Price of a single unit, if not given will be retrieved from Netvisor based on mileage type. Amount of passengers does not affect the unit price.5,50
4linedescriptionString1Description of the line  
4traveldateDate1Date of travel 2014-10-03
4routedescriptionString1Description of the route  
4crmprocessidentifierString0...1Identifier of related CRM process  
4customeridentifierString0...1Identifier of customer, either id or number  
Attr.typeString0...1Type of identifier, netvisor or customer  
4linestatusString0...1Travel line status. Different statuses are open (unfinished), confirmed (acknowledged), contentsupervisiored (travel expense rows with factual verification performed), accepted (approved) and paid.Paid
4dimensionAggr.0...n  
5dimensionnameString1Dimension header. If the header can't be found in system, Netvisor will create itProject
5dimensionitemString1Dimension item. If the item can't be found in system, Netvisor will create itPayroll
Attr.fatheridNumeric0...1  
4tripexpenseattachmentsAggr.0...1  
5tripexpenseattachmentAggr.1...n  
6mimetypeString1MIME type of the attachment Application/pdf
6attachmentdescriptionString1Description 
6filenameString1File name  
6documentdataString1Attachment as base64-encoded string 
2dailycompensationlinesAggr.0...1  
3dailycompensationlineAggr.1...n  
4employeeidentifierString1Identifier of the employee, either number or personal identifier 140785-xxxx
Attr.typeString0...1type of identifier, number tai finnishpersonalidentifierfinnishpersonalidentifier
4compensationtypeString1Type of compensation, DomesticFull, DomesticHalf tai Foreigndomesticfull
4amountNumeric 1Amount of compensation1
4unitpriceNumeric 0...1Price of compensation, if not given, will be retrieved from Netvisor based on compensations's type500,00
4linedescriptionString1 Day in Helsinki 
4timeofdepartureDate and time 1Date of departure, must include time2012-04-04 08:00:00.000
4returntimeDate and time 1Date of departure, must include time2012-04-04 16:00:00.000
4crmprocessidentifierString0...1 NV#123456 
4customeridentifierString0...1Identifier of customer, either id or number 
Attr.typeString0...1Type if identifeir used, either netvisor tai customernetvisor
4linestatusString0...1Travel line status. Different statuses are open (unfinished), confirmed (acknowledged), contentsupervisiored (travel expense rows with factual verification performed), accepted (approved) and paid.Paid
4dimensionAggr.0...n  
5dimensionnameString1Dimension header. If the header can't be found in system, Netvisor will create itProject
5dimensionitemString1Dimension item. If thitem can't be found in system, Netvisor will create itPayroll
Attr.fatheridNumeric0...1  
4tripexpenseattachmentsAggr.0...1  
5tripexpenseattachmentAggr.1...n  
6mimetypeString1MIME type of the attachment  
6attachmentdescriptionString1Description  
6filenameString1File name  
6documentdataString1Attachment as base64-encoded string

 



Did you find it helpful? Yes No

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