Pular para o conteúdo principal
GET
Read a contract's write-off and its recoveries

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

id
string<uuid>
obrigatório

Written-off direct-credit loan account.

Resposta

OK

additionalLoss
string
obrigatório

Loss above the allowance booked to provision expense: W - B when positive (2 d.p. string).

Exemplo:

"3850.00"

carryingAmount
string
obrigatório

Carrying amount written off (W): the book net of the withheld interest, after the held cash paid what it reached (2 d.p. string).

Exemplo:

"9850.00"

controlOpen
string
obrigatório

Written-off control still open (2 d.p. string); 0.00 once it was released.

Exemplo:

"0.00"

currency
string
obrigatório

ISO 4217 currency of the amounts.

Exemplo:

"BRL"

debtAtWriteOff
string
obrigatório

Debt D the borrower still owes after the write-off: the contract's full payoff of the write-off day, frozen at the write-off; recoveries pay it down (2 d.p. string).

Exemplo:

"11600.00"

heldCashApplied
string
obrigatório

Held cash the write-off's receipt applied to the debt first (2 d.p. string).

Exemplo:

"150.00"

id
string<uuid>
obrigatório

Recorded write-off.

loanAccountId
string<uuid>
obrigatório

Written-off loan account.

provisionConsumed
string
obrigatório

Provision the write-off consumed: the lesser of the allowance B and W (2 d.p. string).

Exemplo:

"6000.00"

provisionReleased
string
obrigatório

Allowance beyond the loss booked as a provision reversal: B - W when positive (2 d.p. string).

Exemplo:

"0.00"

reason
string
obrigatório

Why the contract was written off.

recordedBy
string
obrigatório

Subject of the validated identity that wrote it off; empty when none reached the route.

recoveredTotal
string
obrigatório

Recovered so far across every standing recovery, reversed ones excluded (2 d.p. string).

Exemplo:

"10200.00"

recoveries
object[] | null
obrigatório

The latest 100 recoveries, newest first, reversed ones included.

remainingDebt
string
obrigatório

Debt still standing: debtAtWriteOff minus recoveredTotal (2 d.p. string).

Exemplo:

"1400.00"

requestId
string
obrigatório

X-Idempotency key the write-off was recorded under.

withheldDerecognized
string
obrigatório

Withheld interest cleared from rendas a apropriar (2 d.p. string).

Exemplo:

"1600.00"

writtenOffAt
string<date-time>
obrigatório

RFC 3339 instant the write-off was recorded, with fractional seconds; the server clock dates it.

collectionEndedAt
string<date-time>

RFC 3339 instant the client operator declared collection ended; absent until declared.

collectionEndedBy
string

Subject that declared it.

controlReleasedAt
string<date>

Business day the rest of the control left the books, the later of 5 years after the write-off and the declared end; absent while it stands.

Exemplo:

"2032-03-10"