Renegotiate a contract closed by employment-link termination
Proxies renegociar-consignado-trabalhador (Manual 006 v1.12 §2.3): renegotiates a contract closed in situação 15 (“Encerrado por término de vínculo”) into a new one against the worker’s new employment bond. numeroContratoEncerrado must be an averbação of the authenticated tenant that the rail acknowledged, and must differ from the new contract number in the path; that is checked here, before the rail is called. Whether the closed contract actually sits in situação 15, whether the new bond is elegível or inelegível only by motivo 8, and whether valorParcela stays within the closed contract’s own instalment (regra BL) are live registry facts this gateway holds no local copy of and defers to the rail’s own judgment. valorIOF is required, following the manual rather than the mirrored Swagger’s required list. X-Idempotency is required.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Client-chosen idempotency key. REQUIRED: an absent key is 422, never a generated default.
"idem-renegociacao-0001"
Path Parameters
The NEW (renegotiated) contract number, minted by the CLIENT — the rail mints nothing here.
1 - 15"Qwerty123456789"
Body
Employer inscription type: 1 CNPJ, 2 CPF.
^[12]$"2"
Worker CPF, 11 digits.
11^[0-9]{11}$"27928255022"
End date of the new consignado contract, RFC 3339 UTC.
"2026-01-24T00:00:00Z"
Start date of the new consignado contract, RFC 3339 UTC.
"2025-01-24T00:00:00Z"
Date of the first payroll deduction, RFC 3339 UTC.
"2025-01-28T00:00:00Z"
Matrícula assigned to the worker by the employer.
20"teste4243"
Worker's full name.
100"testeead"
The PRIOR contract this renegociação replaces. Must be an averbação of the authenticated tenant that the rail acknowledged, and must differ from the new contract number in the path.
1 - 15"Qwerty123456780"
Employer inscription number, Texto.
14"42422253000101"
Number of instalments of the new contract, capped at the manual's own published range 1 to 99 (Manual 006 §2.3.2 line 748).
1 <= x <= 998
valorCETAnual — Custo Efetivo Total, annual percent decimal string.
13^[0-9]+(\.[0-9]{1,2})?$"0.20"
valorCETMensal — Custo Efetivo Total, monthly percent decimal string.
13^[0-9]+(\.[0-9]{1,2})?$"0.10"
valorEmprestimo — the new contract's principal (decimal string, BRL).
13^[0-9]+(\.[0-9]{1,2})?$"3000.00"
valorIOF — the IOF charged, in reais (decimal string, BRL). Obrigatório on the manual even though the mirrored Swagger's required list omits it.
13^[0-9]+(\.[0-9]{1,2})?$"0.10"
valorLiberado — amount delivered to the worker (decimal string, BRL).
13^[0-9]+(\.[0-9]{1,2})?$"2000.00"
valorParcela — the new contract's instalment amount (decimal string, BRL). Must not exceed the closed contract's own instalment (regra BL) — a comparison this gateway cannot make locally and leaves to the rail.
13^[0-9]+(\.[0-9]{1,2})?$"400.00"
valorTaxaAnual — annual interest rate, percent decimal string.
13^[0-9]+(\.[0-9]{1,2})?$"0.30"
valorTaxaMensal — monthly interest rate, percent decimal string.
13^[0-9]+(\.[0-9]{1,2})?$"0.10"
Payroll competência of the first deduction, yyyyMM. Optional; the rail assumes the current competência when omitted.
^[0-9]{6}$"202501"
Response
OK
Payroll competência of the first deduction, yyyyMM.
"202501"
The rail's own identity for this operation.
"9598435"
The rail's own message.
"Inclusão efetuada com sucesso"
The new contract's number, as confirmed by the rail.
"Qwerty123456789"

