Skip to main content
GET
Get one contract's averbação operation

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

numero_contrato
string
required

The rail contract number, exactly as it was registered. It is never trimmed or normalized.

Required string length: 2 - 15

Response

OK

attachment_at
string<date-time> | null
required
attachment_invocation_deadline_at
string<date-time> | null
required
attachment_unknown_at
string<date-time> | null
required
averbacao_at
string<date-time> | null
required
averbacao_at_origin
enum<string> | null
required

Who stamped averbacao_at. dataprev_response: the gateway clock on receiving Dataprev's acceptance, seconds after it. recovery_read: the recovery pass clock when its read proved the acceptance, at or after Dataprev's real acceptance, so the real due instant can be earlier than documentation_due_at. imported: the rail's own instant, declared at import. Null exactly when documentation_due_at is.

Available options:
dataprev_response,
recovery_read,
imported,
null
averbacao_invocation_deadline_at
string<date-time> | null
required
averbacao_unknown_at
string<date-time> | null
required
booking_profile
enum<string>
required

Fixed by the averbação. booked: the documentation sends signature_evidence_ref and artifacts.biometrics_documents_pack. rail_only: it sends neither.

Available options:
booked,
rail_only
claimed_at
string<date-time>
required
contract_id
string
required
documentation_due_at
string<date-time> | null
required

When the averbação's documentation is due: averbacao_at plus 7 calendar days (Manual 004 v1.6 §1.1). Null until Dataprev accepted the averbação, and on a refusal. The real due instant can be earlier than this one: see averbacao_at_origin.

documentation_overdue
boolean
required

True while the averbação is attachment_pending, nobody sent its documentation, exclusion_status is null or rejected, the contract has not left the registry (by a refinanciamento or renegociação no reversal undid, a portability exclusion, an exclusion dataprev_follow_up observed at Dataprev, or a termination the Manual 006 report listed), and documentation_due_at has passed. A signal only: the gateway excludes or changes nothing because of it.

exclusion_status
enum<string> | null
required

The exclusion requested through this gateway that describes the contract now, by the rule of GET .../exclusion. Null when none was claimed here; an exclusion made outside the gateway leaves it null and shows in dataprev_follow_up. While the operation is attachment_pending, any value but rejected makes POST .../ccb-attachment answer 409 AVERBACAO_EXCLUDED.

Available options:
claimed,
invoking,
confirmed,
rejected,
outcome_unknown,
null
fact_id
string | null
required
numero_contrato
string
required
outcome_at
string<date-time> | null
required
response_code
string
required

The rail's return code for the averbação call. Empty until the rail answered.

response_message
string
required

The rail's message for the averbação call. Empty until the rail answered.

status
enum<string>
required

The situation the operation is durably parked in. An attachment_invoking call past attachment_invocation_deadline_at lost its process: the contract takes documentation or an exclusion as in attachment_pending.

Available options:
claimed,
averbacao_invoking,
averbacao_unknown,
attachment_pending,
attachment_invoking,
attachment_unknown,
confirmed,
rejected
dataprev_follow_up
object

What the gateway last read at Dataprev (Manual 005) while the contract waited for its documentation: one read a day, from one day after averbacao_at until the follow-up ends or observes the contract excluded or ended. Absent until the first read.

last_documentation_close
object

The newest documentation attempt Dataprev did not accept, which returned the contract to attachment_pending. Absent when none closed. A later accepted documentation does not clear it: compare closed_at with attachment_at.