Adopt the provider title of an installment
Records the providerβs title on an installment that the emission check did not adopt. Use it for an installment that is PENDING, has no provider id and was already attempted. Typical cases: the provider proved the title exists, a lapsed discount withheld the resend, or the provider keeps refusing the resends.
How it works
- Send the
providerIdof the title at the provider. - The service reads that title and compares its
clientRequestId, amount and due date with the installmentβs. - All three match: the provider id is recorded, and the installment moves to
CREATEDon the next acceptance sweep. The response is the boleto, as inGET /v1/boletos/{id}. - Any of them differs, the title does not exist, or the installment is not in that state: the request is refused and nothing is written.
- A repeat with the same
providerIdon an installment already adopted returns200. - Each call is audited: who called, when, the
providerIdand the result of the comparison. - There is no route to fail an installment.
Headers
Path Parameters
Body
Response
OK. The provider id is recorded on the installment. The body is the boleto, as in GET /v1/boletos/{id}.
Whether cancelling this boleto would effect a cancellation at the provider. Always present. Derived from the boleto's state, not from any request field: true only for a CREATED boleto that carries a providerId. An already-canceled boleto reads false even though POST /v1/boletos/{id}/cancel answers it 200 as an idempotent replay.
Payee's own reference of the charge (seu numero), as recorded. Present only when informed at issuance; an installment of a series carries its own, from documentNumbers. Answered as the payee sent it, so it can hold quotes, &, =, +, - or @: encode it for the place it is written to, such as a spreadsheet cell or a web page.
Bank-side identification of the boleto (nosso numero), as assigned by the provider, with leading zeros, at the width of the provider the boleto was issued at. How it becomes known depends on that provider: either it is read from the barcode, in the instrument's form, and is absent while the provider has not produced a valid barcode; or the provider returns it in its answer to the issuance, and it is present while the boleto has no barcode or digitable line yet. When the payee supplied ourNumber on issuance, this field still reports the provider's value and not the value supplied: if the two differ, the value here is the one the provider issued, and the divergence is recorded by the service. Optional: absent for boletos issued before this field existed, and absent while the provider has not made it known. Absence means not yet known; the periodic reconciliation fills it in once the provider makes it known, with no action needed from the client; it is never sent as an empty string.
29
Check digit of ourNumber, computed by the bank and never accepted in a request. Optional: absent whenever the provider the boleto was issued at did not return it, in which case ourNumber is presented alone, with no trailing hyphen. It is absent in particular when the payee supplied ourNumber: a provider returns the digit only for numbers it assigned itself, and some providers never return it. When present, the canonical presentation is {ourNumber}-{ourNumberDigit}.
"3"
Leg by which the boleto was paid: BOLETO for a payment of its barcode or digitable line. Present only on a SETTLED boleto, absent on every other status. PIX, a payment of a hybrid boleto's Pix QR code, is not served: hybrid boletos (boleto with Pix) are not available on this service, and no read or list shows one.
BOLETO, PIX Last day the boleto can be paid, YYYY-MM-DD: the one informed at issuance or, without it, the due date plus the tenant's setting for the provider or, with no setting, the provider's own default, batch items included; on LERIAN, the due date plus the agreement's paymentDeadlineDays. Absent on boletos issued before the service recorded the deadline, when the provider registers no deadline, and while LERIAN has not answered the emission.
"2030-01-31"
Only on a FAILED installment of a series that its provider refused from its own refusal catalog: the stable reason of the rule the request broke, which tells apart the rules one code covers (for example PAYMENT_DEADLINE_BEFORE_DUE with PBP-0832). That installment's BOLETO_FAILED carries the code as errorCode and this reason as providerReason. Absent on every other boleto, a single boleto included: the emission request is answered with its refusal.
^[A-Z][A-Z0-9_]{0,63}$"PAYMENT_DEADLINE_BEFORE_DUE"
How the paid amount reaches the beneficiary's account. Present only when status is SETTLED, absent on every other status. status does not change with it: a paid boleto stays SETTLED at every stage, after a reversal or a chargeback included. Boletos settled before this member existed read mode DIRECT, state RELEASED and cycle 1.
Situation of the title at the base (CIP/Nuclea), alongside status, which keeps today's rules. Present on every boleto that reached the base; absent on PENDING and FAILED, which never did. It follows status (SETTLED as PAID, CANCELED as CANCELLED, INACTIVATED as LAPSED, every other status as OPEN, REVERSED included), with exceptions recorded by the collections module: a paid title reopened at the base reads OPEN while status stays SETTLED, which is terminal; if that reopened title is then canceled or lapses, it reads CANCELLED or LAPSED and status still stays SETTLED (and a canceled one that reopens again reads OPEN); a canceled title reopened at the base reads OPEN and status goes back from CANCELED to CREATED, the transition that already exists, so the boleto can be paid again. Boletos written before this member existed are filled from their status.
OPEN, PAID, CANCELLED, LAPSED "OPEN"

