Skip to main content
POST
Declare a qualitative problem-asset assessment

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string
requerido

Canonical idempotency request ID. Required: a declaration changes what the contract is provisioned at, so without a key a retry cannot be told apart from a second characterisation.

Parámetros de ruta

id
string<uuid>
requerido

Loan account (contract) identifier.

Cuerpo

application/json
characterizesProblemAsset
boolean
requerido

The verdict. False records that the trigger was evaluated and did NOT characterise the asset — which is how a prior characterisation is withdrawn, and is not the same as never having looked.

evaluatedOn
string
requerido

The business day the assessment was made (YYYY-MM-DD). A day and not an instant: it is compared against a competencia, which is a civil day.

Ejemplo:

"2026-09-30"

evidenceReference
string
requerido

Mandatory pointer to the evidence: a document id, a case number, a URL. Required because this declaration suspends the contract's income recognition and raises its provision, and one that cites nothing cannot be reviewed.

Maximum string length: 512
Ejemplo:

"proc-0801234-56.2026.8.26.0100"

source
string
requerido

Where the characterisation came from: the credit committee, the bureau feed, the court notice.

Maximum string length: 256
Ejemplo:

"Comite de credito 2026-09-30"

trigger
string
requerido

The norm article the assessment invokes. Free text because art. 3 par. 2 is an open list ("entre outros"): the console offers the incisos as presets and accepts any other article an assessor names. Stored trimmed and lower-cased, because the article is the identity a later withdrawal has to match: sent as ART_3_P2_III it is stored, returned and withdrawn as art_3_p2_iii. Examples: art_3_p1, art_3_p2_i, art_3_p2_iii, art_3_p2_iv, art_3_p2_vi.

Maximum string length: 128
Ejemplo:

"art_3_p2_iii"

declaredBy
string

Declaring subject, used ONLY on a deployment with authentication disabled. When the request carries a validated identity, that subject is recorded and this field is ignored.

Maximum string length: 256
evidenceNotes
string

The assessor's own notes. Optional: the reference is what makes the declaration checkable, the prose is what makes it readable.

Maximum string length: 4096

Respuesta

Created

assessmentId
string
requerido

Identity of this declaration.

characterizesProblemAsset
boolean
requerido

The verdict recorded.

createdAt
string
requerido

When the declaration was recorded (RFC 3339, UTC).

declaredBy
string
requerido

Authenticated subject that declared it, as free text.

evaluatedOn
string
requerido

Business day the assessment was made (YYYY-MM-DD).

evidenceNotes
string
requerido

The assessor's own notes, empty when none were written.

evidenceReference
string
requerido

Pointer to the evidence behind the declaration.

loanAccountId
string
requerido

Contract the declaration is about.

source
string
requerido

Where the characterisation came from.

trigger
string
requerido

The norm article invoked, trimmed and lower-cased. This is the form a withdrawal of this declaration must use.