Skip to main content
POST
Exclude a contract from this institution because the worker ported it out

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

Client-chosen idempotency key. REQUIRED: an absent key is 422, never a generated default. It is the durable replay identity of this command.

Required string length: 1 - 128
Example:

"idem-exclusao-portabilidade-0001"

Path Parameters

numero_contrato
string
required

The contract leaving this institution. Must be an averbação of the authenticated tenant that the rail acknowledged.

Required string length: 2 - 15
Example:

"99999999999AP1"

Body

application/json
codigoInscricaoEmpregador
string
required

Employer inscription type: 1 CNPJ, 2 CPF.

Pattern: ^[12]$
Example:

"1"

codigoProponente
string
required

COMPE/CBC of the DESTINATION institution taking the contract. Caller input, because this gateway cannot know it.

Required string length: 1 - 3
Pattern: ^[0-9]{1,3}$
Example:

"994"

cpfTrabalhador
string
required

Worker CPF, 11 digits.

Required string length: 11
Pattern: ^[0-9]{11}$
Example:

"99999999999"

matricula
string
required

Matrícula assigned to the worker by the employer.

Required string length: 1 - 30
Example:

"99999999999-A"

numeroInscricaoEmpregador
string
required

Employer inscription number, Texto per the manual (the mirrored Swagger still types this int64).

Required string length: 1 - 14
Example:

"99999999999881"

numeroUnico
string
required

Número único identificador da portabilidade (NSU oriundo da CIP). A digit STRING: Manual 008 publishes exactly 21 algarismos, which overflows every conventional numeric type, so it stays text end to end.

Required string length: 21
Pattern: ^[0-9]{21}$
Example:

"123456789012345678901"

ultimaParcelaPaga
integer<int64>

Last instalment already paid on the contract being excluded. Optional; omit it rather than sending 0 when unknown.

Required range: 0 <= x <= 999
Example:

5

Response

OK

codigoSucesso
string
required

The rail's own success code.

Example:

"00"

competenciaExclusao
integer<int64>
required

Payroll competência in which the exclusion takes effect, yyyyMM.

Example:

202609

hashOperacao
string
required

The rail's own identity for this operation. Texto on this operation, unlike the other exclusion operations where the same field name is Número.

Example:

"34006311"

mensagem
string
required

The rail's own message.

Example:

"Exclusao realizada com sucesso"

numeroContrato
string
required

The contract this exclusion removed from the origin institution.

Example:

"99999999999AP1"

submittedAt
string<date-time>
required

When this gateway durably authorized the rail call, RFC 3339 UTC.

Example:

"2026-08-29T12:00:00Z"

ultimaParcelaPaga
integer<int64>

Last instalment the rail reports as paid on the excluded contract. Omitted when the acknowledgement carries no entry for the commanded contract: 0 is a live value (exclusion before any instalment was paid), so absence must not fabricate it.

Example:

5