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

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

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 caminho

id
string<uuid>
obrigatório

Loan account (contract) identifier.

Corpo

application/json
characterizesProblemAsset
boolean
obrigatório

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
obrigatório

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.

Exemplo:

"2026-09-30"

evidenceReference
string
obrigatório

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

"proc-0801234-56.2026.8.26.0100"

source
string
obrigatório

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

Maximum string length: 256
Exemplo:

"Comite de credito 2026-09-30"

trigger
string
obrigatório

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

"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

Resposta

Created

assessmentId
string
obrigatório

Identity of this declaration.

characterizesProblemAsset
boolean
obrigatório

The verdict recorded.

createdAt
string
obrigatório

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

declaredBy
string
obrigatório

Authenticated subject that declared it, as free text.

evaluatedOn
string
obrigatório

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

evidenceNotes
string
obrigatório

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

evidenceReference
string
obrigatório

Pointer to the evidence behind the declaration.

loanAccountId
string
obrigatório

Contract the declaration is about.

source
string
obrigatório

Where the characterisation came from.

trigger
string
obrigatório

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