Registrar la averbação de una portabilidad tras la exclusión de origen
Ejecuta averbar-portabilidade-trabalhador (Manual 008 v1.10 §5.3): la averbação de una portabilidad por parte de la institución proponente. La exclusión del lado de origen es un comando separado que este gateway aún no integra. Según el Manual 008 §4, puede ocurrir antes o después de esta averbação; el manual define explícitamente el caso anterior a la exclusión y trata el valor reservado como cero.
dataExclusaoOrigem es opcional y no se envía a Dataprev. Cuando se informa, representa la fecha de exclusión de origen registrada por el cliente. El gateway la repite para poder rechazar, antes de llamar al riel, una averbação cuyo plazo de 20 días naturales (Manual 008 §4) ya haya vencido. No se consulta un calendario laboral porque el plazo se expresa en días naturales. Si el campo está ausente, el gateway envía la averbação como anterior a la exclusión de origen. No existe un hecho iniciador alternativo, por lo que el cliente es la única fuente de la fecha de exclusión cuando esta existe.
X-Idempotency es la clave obligatoria de repetición del transporte. Un reintento con la misma clave devuelve la respuesta almacenada en vez de volver a enviarla al riel, como ocurre en las rutas de averbação y adjunto CCB. Esta ruta aún no dispone de almacenamiento duradero de repeticiones respaldado por PostgreSQL, por lo que, a diferencia de la ruta de oferta, la garantía no sobrevive a una expulsión de Redis ni a un reinicio.
Autorizaciones
JWT bearer token issued by the identity provider.
Encabezados
Required transport replay key, scoped by authenticated tenant.
1 - 128"idem-portabilidade-averbacao-2026-01-21-0001"
Parámetros de ruta
The portability's NSU (Manual 008 v1.10 publishes 21 algarismos, which overflows int64/float64 — carried and validated as a digit string only).
1 - 21^[0-9]{1,21}$"100000000000000000001"
Cuerpo
1 CNPJ, 2 CPF.
^[12]$"1"
Worker CPF, 11 digits.
^[0-9]{11}$"99999999999"
Contract end date.
"2031-01-01T00:00:00Z"
Contract start date.
"2026-01-01T00:00:00Z"
First payroll discount date.
"2026-02-01T00:00:00Z"
Worker registration number at the employer.
1 - 30"99999999999-A"
Worker's full name. Manual 008 §5.3.1 publishes 90 characters; the mirrored Swagger publishes maxLength 100 for the same field — the wider bound is accepted here for the same reason as numeroContrato above.
1 - 100"Trabalhador 99999999999"
Contract number being averbado. Manual 008 §5.3.1 publishes 2-15 characters; the mirrored Swagger publishes maxLength 20 for the same field — the wider bound is accepted here so a value the rail itself would honour is never rejected first.
2 - 20"199971600000"
Employer inscription number.
1 - 15"99999999999881"
Number of instalments.
1 <= x <= 99948
Whether this averbação pledges FGTS collateral.
false
Annual total effective cost in percent.
10^[0-9]+(\.[0-9]{1,2})?$"11.00"
Monthly total effective cost in percent.
10^[0-9]+(\.[0-9]{1,2})?$"0.90"
Principal plus financed costs as an exact decimal string.
13^[0-9]+(\.[0-9]{1,2})?$"2160.00"
Settlement amount for the ORIGINAL contract(s) being ported — a field unique to this averbação.
13^[0-9]+(\.[0-9]{1,2})?$"2000.00"
Instalment amount as an exact decimal string.
13^[0-9]+(\.[0-9]{1,2})?$"180.00"
Annual interest rate in percent.
10^[0-9]+(\.[0-9]{1,2})?$"10.00"
Monthly interest rate in percent.
10^[0-9]+(\.[0-9]{1,2})?$"0.80"
OPTIONAL correspondent/cooperado CNPJ.
14"12345678000199"
OPTIONAL. yyyyMM.
^[0-9]{6}$"202602"
OPTIONAL. Origin exclusion date the client tracks, NEVER sent to Dataprev. When present, the gateway's own 20-calendar-day pre-rail refusal is judged against it. When absent, this averbação is submitted as occurring BEFORE the origin exclusion (Manual 008 §4 permits either order).
"2026-01-01T00:00:00Z"
OPTIONAL. Manual-only field of undocumented referent — see the operation description.
20"7K9M2P4R6T8V3W5X2Y4Z"
OPTIONAL severance-pay percentage pledged as collateral.
6^[0-9]+(\.[0-9]{1,2})?$"15.00"
OPTIONAL rescission-penalty amount pledged as collateral.
13^[0-9]+(\.[0-9]{1,2})?$"300.00"
OPTIONAL consignable FGTS balance pledged as collateral.
13^[0-9]+(\.[0-9]{1,2})?$"600.00"
Respuesta
OK
Bounded rail outcome code, relayed verbatim. Free-form provider text is never returned.
32^[A-Za-z0-9_-]*$"BD"
First payroll-discount competência (yyyyMM) echoed by Dataprev.
202602
Contract number echoed by Dataprev.
"199971600000"
The portability identity addressed by this averbação.
"100000000000000000001"
UTC instant the gateway submitted this averbação.
"2026-01-15T00:00:00Z"
Rail message, relayed verbatim.
"Averbacao realizada com sucesso"

