Skip to main content
Lerian STA is the client-owned messaging integration between a financial institution and BACEN’s STA (Sistema de Transferência de Arquivos), the Banco Central file-exchange hub. It moves regulatory and operational files in both directions. The institution submits files to BACEN (outbound), and BACEN makes files available for the institution to download (inbound). Lerian STA authenticates every exchange with a stored BACEN operator credential for the institution. It validates BACEN’s TLS certificate against the tenant’s trust store. It drives each transfer through BACEN’s protocol state machine and verifies file integrity by SHA-256. It stores inbound artefacts durably and can publish terminal-state facts through separate audit and business outboxes for consumers. It supports a multi-tenant mode with physical database-per-tenant isolation, as well as single-tenant operation, and is API- and event-first.

What Lerian STA does — and does not — do


  • It is the transport and integrity boundary between the institution and BACEN’s file hub. It moves the bytes, authenticates the exchange, verifies the SHA-256, and records the outcome — it does not interpret the file’s business content.
  • It does not post to a ledger. On a completed inbound download, Lerian STA publishes a terminal-state event that carries a claim-check. The consuming domain product (for example, Lerian SISBAJUD) fetches the artefact and reconciles it into the client’s ledger. The ledger posting belongs to the consumer, not to Lerian STA.
  • It supports a multi-tenant mode with physical database-per-tenant isolation. In single-tenant mode, it uses the default database/pool with no tenant context.

Who it serves


Lerian STA serves financial institutions that operate on BACEN rails and need a governed, auditable path for file exchange with the Banco Central. It can run in single-tenant mode or, when multi-tenancy is enabled, serve multiple institutions in one deployment with isolated databases. Downstream, it serves the Lerian products that consume the files it delivers. Lerian STA routes each inbound file to a source product — the downstream product that owns the file’s business meaning. That product subscribes to its own events and takes it from there.

Glossary


For how Lerian STA sits alongside the other native rails and the partner interfaces, see Native messaging and partner interfaces.