Exclude a contract from this institution because the worker ported it out
Proxies excluir-portabilidade-trabalhador (Manual 008 v1.10 §4.1), the ORIGIN institution’s write: the contract named in the path stops being consigned here because the worker moved it to the institution named by codigoProponente. codigoOrigem is never accepted from the caller — it is the authenticated tenant’s own COMPE/CBC. The contract must be an averbação of the authenticated tenant that the rail acknowledged; anything else is 404 before the rail is called. The call is claimed durably before it departs and closed durably after the answer lands, so a retry under the same X-Idempotency key is answered from the retained rail answer instead of excluding a second time, and a call whose outcome nobody established is reconciled against the registry rather than lost. Success publishes consignado.portabilidade.efetivada and a published refusal publishes consignado.portabilidade.rejeitada. A portability the client performs OUTSIDE this gateway publishes nothing: Manual 008 §5.4’s consulta is proponente-only, so the origin institution has no discovery path. 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. It is the durable replay identity of this command.
1 - 128"idem-exclusao-portabilidade-0001"
Path Parameters
The contract leaving this institution. Must be an averbação of the authenticated tenant that the rail acknowledged.
2 - 15"99999999999AP1"
Body
Employer inscription type: 1 CNPJ, 2 CPF.
^[12]$"1"
COMPE/CBC of the DESTINATION institution taking the contract. Caller input, because this gateway cannot know it.
1 - 3^[0-9]{1,3}$"994"
Worker CPF, 11 digits.
11^[0-9]{11}$"99999999999"
Matrícula assigned to the worker by the employer.
1 - 30"99999999999-A"
Employer inscription number, Texto per the manual (the mirrored Swagger still types this int64).
1 - 14"99999999999881"
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.
21^[0-9]{21}$"123456789012345678901"
Last instalment already paid on the contract being excluded. Optional; omit it rather than sending 0 when unknown.
0 <= x <= 9995
Response
OK
The rail's own success code.
"00"
Payroll competência in which the exclusion takes effect, yyyyMM.
202609
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.
"34006311"
The rail's own message.
"Exclusao realizada com sucesso"
The contract this exclusion removed from the origin institution.
"99999999999AP1"
When this gateway durably authorized the rail call, RFC 3339 UTC.
"2026-08-29T12:00:00Z"
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.
5

