Skip to main content
Lerian SPB is Lerian’s own, non-intermediated messaging connector to the STR (Sistema de Transferência de Reservas), the real-time gross-settlement core of the Brazilian payment system. It reaches the STR over the RSFN, the private national network that carries payment-system messages between participants and the Central Bank of Brazil (BACEN). It gives a participant institution a direct path to send and settle interbank and large-value wire transfers — the TED family — and reserve-account operations against BACEN’s settlement system, with no connectivity partner between the institution and BACEN.

Who it serves


Lerian SPB serves financial institutions that hold their own reserve and settlement account at BACEN. Those institutions send TED-family transfers, move liquidity between their reserve account and their liquidity account (Conta PI), and query their reserve position directly through the STR.

An operation-centric API


You do not hand-pick a wire code. You declare the typed roles of the parties to an operation — who debits, who credits, and whether each side is an account-holding institution or a client — and the platform derives the correct STR message code for you.
Declared partiesSTR codeMovement
Institution to institutionSTR0004Interbank transfer between two account-holding participants
Non-account-holdersSTR0005Transfer involving parties that do not hold a reserve account
Client to institutionSTR0006A client sends to an institution
Institution to clientSTR0007An institution sends to a client
Client to clientSTR0008Transfer between two clients across institutions

Settlement is asynchronous


The STR is a real-time gross-settlement system: every operation settles individually against reserve balances. When you submit a transfer, the platform returns SUBMITTED — dispatch was accepted, not that BACEN has settled it. BACEN confirms asynchronously through a settlement reply (the R-leg), which moves the operation to SETTLED or REJECTED and carries BACEN’s settlement fields (for example numCtrlSTR and sitLancSTR), projected verbatim.

Money-neutrality


Lerian SPB is money-neutral by design. It forwards the amounts you declare exactly as declared and computes no balance or position of its own. Every accounting position lives in Midaz, the ledger; Lerian SPB carries the message, Midaz carries the money.

Glossary


TermMeaning
STR — Sistema de Transferência de ReservasBACEN’s real-time gross-settlement (RTGS) system, where each operation settles individually.
SPB — Sistema de Pagamentos BrasileiroThe Brazilian payment system that the STR is the settlement core of.
RSFNThe private national financial-system network that carries SPB messages between participants and BACEN.
TEDAn electronic wire transfer settled through the STR.
NUOp23-digit BACEN operation identifier (ISPB + date + sequence) that correlates a submitted message with its reply.
ISPB8-digit BACEN code identifying a payment-system participant institution.
Conta PI / reserve-settlement accountThe accounts an institution holds at BACEN for settlement and liquidity.
ICP-Brasil certificateThe digital certificate used to sign outbound SPB messages.
Settlement confirmation (R-leg)The asynchronous BACEN reply that moves a submitted operation to SETTLED or REJECTED.
STR / LPI / GEN codesOfficial BACEN protocol identifiers for each STR and SPB message type (for example STR0004, LPI0001, GEN0006).
For how Lerian SPB sits alongside the other native rails and the provider interfaces, see Native Messaging.