/issuer/issuers/{ruc}/payroll/employees/{id}Editar Trabajadores
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Request body
application/jsonrequiredValues: "DNI" · "CE"
Values: "essalud" · "eps" · "sis" · "special"
Importes PEN en céntimos. Liquidación laboral por régimen; aportes especiales explícitos.
Values: "general" · "micro_remype" · "small_remype" · "agrarian" · "domestic" · "construction" · "cas" · "public" · "other"
Values: "onp" · "afp" · "special"
Responses
Correcto.
{
"active": true,
"documentNumber": "string",
"documentType": "DNI",
"endDate": "string",
"healthSystem": "essalud",
"hireDate": "string",
"id": "",
"laborRegime": "general",
"name": "string",
"pensionSystem": "onp",
"position": "string",
"regimeReference": "string",
"revision": 1.5,
"salaryCents": 1.5
}Values: "DNI" · "CE"
Values: "essalud" · "eps" · "sis" · "special"
Importes PEN en céntimos. Liquidación laboral por régimen; aportes especiales explícitos.
Values: "general" · "micro_remype" · "small_remype" · "agrarian" · "domestic" · "construction" · "cas" · "public" · "other"
Values: "onp" · "afp" · "special"
VALIDATION_ERROR: El cuerpo, los parámetros o una regla del comprobante no son válidos. fields indica el campo.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}UNAUTHENTICATED: Falta la clave API o no es válida.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}TRIAL_EXPIRED: La prueba gratuita venció.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}WORKSPACE_SUSPENDED: El workspace está suspendido.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}RATE_LIMITED: Se superó el límite de peticiones. Respeta el header Retry-After.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}INTERNAL_ERROR: Error interno. Reintenta y comparte el requestId con soporte.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}Powered by heyo
