Skip to main content
POST
Excluir um contrato desta instituição porque o trabalhador o portou para fora

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

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
Exemplo:

"idem-exclusao-portabilidade-0001"

Parâmetros de caminho

numero_contrato
string
obrigatório

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

Required string length: 2 - 15
Exemplo:

"99999999999AP1"

Corpo

application/json
codigoInscricaoEmpregador
string
obrigatório

Employer inscription type: 1 CNPJ, 2 CPF.

Pattern: ^[12]$
Exemplo:

"1"

codigoProponente
string
obrigatório

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}$
Exemplo:

"994"

cpfTrabalhador
string
obrigatório

Worker CPF, 11 digits.

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

"99999999999"

matricula
string
obrigatório

Matrícula assigned to the worker by the employer.

Required string length: 1 - 30
Exemplo:

"99999999999-A"

numeroInscricaoEmpregador
string
obrigatório

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

Required string length: 1 - 14
Exemplo:

"99999999999881"

numeroUnico
string
obrigatório

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}$
Exemplo:

"123456789012345678901"

ultimaParcelaPaga
integer<int64>

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

Intervalo obrigatório: 0 <= x <= 999
Exemplo:

5

Resposta

OK

codigoSucesso
string
obrigatório

The rail's own success code.

Exemplo:

"00"

competenciaExclusao
integer<int64>
obrigatório

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

Exemplo:

202609

hashOperacao
string
obrigatório

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.

Exemplo:

"34006311"

mensagem
string
obrigatório

The rail's own message.

Exemplo:

"Exclusao realizada com sucesso"

numeroContrato
string
obrigatório

The contract this exclusion removed from the origin institution.

Exemplo:

"99999999999AP1"

submittedAt
string<date-time>
obrigatório

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

Exemplo:

"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.

Exemplo:

5