Skip to main content
POST
Close a short retained instalment from the desk

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

Canonical idempotency request ID. Required: this request moves money, and without a key a retry cannot be told apart from a second instruction.

Path Parameters

id
string<uuid>
required

The retained instalment.

Body

application/json
reason
string
required

Why the rest is the client's loss, kept with the close.

Required string length: 1 - 512

Response

Created

carvedOutAt
string<date-time>
required

RFC 3339 instant the instalment was carved out at the sale.

cash
string
required

The cash on the desk the close applies to it (2 d.p. string).

Example:

"187.40"

closedAt
string<date-time>
required

RFC 3339 instant of the close, which dates the posting.

competencia
string
required

YYYYMM payroll cycle of the instalment.

currency
string
required

ISO 4217 currency code.

id
string<uuid>
required

The retained instalment; the id the close route takes.

numeroContrato
string
required

Consignado contract number.

owed
string
required

What the instalment owes the client (2 d.p. string).

Example:

"250.00"

rest
string
required

What the close books as the client's credit loss (2 d.p. string).

Example:

"62.60"