Update the financial section for a given employee id.

This endpoint updates the employee financial section for a given employee id. The operation only updates the fields provided in the body.


Custom fields information can be provided in this operation. The API name of the custom field is required and the data format has to match with the type defined for the custom field in Kenjo.
API names start with 'c_' and the rest is composed by the trimmed name (spaces are removed).



Example:


The custom field 'special tax' belongs to the 'financial' section:

{
  ...,
  "iban": "ES2345123456789077",
  "c_specialtax": 1500,
  ...
}

'special tax' is a field type 'Number'. It means that if a different type of data (string or boolean) is provided then the request will return an error.

Path Params
string
required

The _id of the employee to update.

Body Params
string

The accounts holder's name.

string

The bank name.

string

The account number.

string

The IBAN.

string

The SWIFT code.

string

The national id document.

string

The passport number.

string

The national insurance number

string

The tax number.

string

The tax identification number.

Headers
string
required

A valid bearer token.

Responses

401

UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json