Contracheques / Paychecks

Atualizar / Update

[PT] Este serviço permite o atualizar os dados de um Contracheque especificado. Um JSON no formato abaixo relacionado deve ser enviado como payload. Os campos obrigatórios estão marcados com um "*" na aba "Model".

[EN] Updates the specified paycheck. The payload to be sent is the bellow JSON. Required fields have a asterisk mark "*" in "Model" tab.

put/paychecks/{id}

Request

  • Base URL: https://api.nexti.com
  • URL: https://api.nexti.com/paychecks/{id}
  • Auth: OAuth 2 (client credentials, token URL https://api.nexti.com/security/oauth/token)

Path parameters

idinteger required

Request body

object required

Response

OK

idinteger

ID do response

messagestring

Mensagem do response

commentsstring[]

Comentários do response

Example response

{
  "value": {
    "grossPay": 459.23,
    "netPay": 459.23,
    "paycheckPeriodDate": "2018-05-01",
    "paycheckRecords": [
      {
        "description": "Horas extras 50%",
        "cost": 459.23,
        "externalId": "001"
      }
    ],
    "personEnrolment": "12-1-909",
    "paycheckPeriodName": "05/2018",
    "companyNumber": "99.999.999/9999-99",
    "companyId": 9,
    "personId": 9999,
    "baseFgts": 459.23,
    "baseInss": 459.23,
    "baseIrrf": 459.23,
    "monthFgts": 459.23,
    "totalRevenue": 1459.23,
    "totalExpense": 1459.23,
    "externalId": "1-1-11111-20170101-111"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.