> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Settle anticipated receivables in real time

> How a receivable that the acquirer anticipated is settled one operation at a time, outside the net cycle, through Lerian.

Settle, one operation at a time, a receivable that the acquirer anticipated to the merchant and whose value belongs to your institution as holder or secured creditor.

<Note>
  This flow is a suggested reading of the Núclea and BACEN manuals. The manuals prevail over this page. Your institution, as the participant, validates the flow and implements it on the Lerian APIs. See [how to read the diagrams](/en/diagrams/introduction).
</Note>

## Participants

***

* **Your institution.** The participant that runs the journey and books its effects.
* **Lerian.** Lerian SLC, Lerian SILOC and Lerian SPB. They exchange the messages with Núclea and STR, and expose the API and the events your institution uses.
* **Núclea.** Runs the SLC and SILOC clearinghouses and their settlement windows.
* **STR (BACEN).** The BACEN reserve transfer system. It moves the money between reserve accounts.

## Diagram

***

<img src="https://mintcdn.com/lerian-49cb71fc/uMjNOPyy5mI7z1yU/images/en/d2/id-settle-anticipated-receivables.svg?fit=max&auto=format&n=uMjNOPyy5mI7z1yU&q=85&s=5c15190da1e792a1e8cfb81919fa22ae" alt="Settle anticipated receivables in real time" width="1130" height="930" data-path="images/en/d2/id-settle-anticipated-receivables.svg" />

## Steps

***

| # | From | To | Message | Lerian API | What happens |
| - | - | - | - | - | - |
| 1 | Núclea | Lerian | `ASLC032` | Pending | After the acquirer reports the anticipation (`ASLC031`), Núclea notifies your institution as the domicile, from 06:40 to 17:00. |
| 2 | Lerian | Your institution | Lerian API | Pending | Lerian delivers the anticipation for your institution to check the account. |
| 3 | Your institution | Lerian | Lerian API | Pending | Confirm or refuse the account. |
| 4 | Lerian | Núclea | `ASLC033` | Pending | Lerian sends the confirmation by 18:30. |
| 5 | Núclea | STR (BACEN) | `LTR0005` | | After the debtor bank pays, Núclea orders the credit to the creditor. See the note below for the debtor side. |
| 6 | STR (BACEN) | Lerian | `LTR0005R2` | Pending | STR reports the credit in your institution's reserve account. |
| 7 | Núclea | Lerian | `SLC0005` | Pending | Núclea sends the data that link the credit to each operation. |
| 8 | Lerian | Your institution | Lerian API | Pending | Lerian publishes the settled anticipation, linked to the STR credit. |

When your institution is the debtor bank, it gets the gross result (`LTR0001`) from [`GET /v1/lbtr/results`](/en/reference/rails/slc/list-lbtr-results), may agree or dispute (`LTR0002`) with [`POST /v1/lbtr/results/{resultId}/decision`](/en/reference/rails/slc/decide-lbtr-result), and pays with `LTR0004` through [`POST /v1/str/operations/ltr-transfers`](/en/reference/rails/spb/create-ltr-transfer). If it pays less than due, Núclea returns the payment with `LTR0006`.

## How you know it finished

***

`LTR0005R2` with the STR control number, matched with its `SLC0005`.

## Related

***

* [Receive card receivables at the domicile](/en/diagrams/native-rails/receive-receivables-at-domicile)
* [Recalculate after a default](/en/diagrams/native-rails/recalculate-after-a-default)
* [Lerian SLC](/en/rails/slc/what-is-lerian-slc)
* [Lerian SPB](/en/rails/spb/what-is-lerian-spb)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.