> ## 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.

# What is Bank Transfer?

> Move money between Brazilian banks the same business day with Lerian's Bank Transfer plugin — sending, receiving, P2P, and BACEN compliance built in.

TED (Transferência Eletrônica Disponível) is Brazil's interbank transfer system, allowing money to move between any two banks on the same business day. Lerian's Bank Transfer plugin gives your institution a production-ready integration — sending, receiving, fee management, and full BACEN compliance included.

<Tip>
  **Regulatory reference**

  This page presents a practical overview of how TED works. For complete technical, legal, and regulatory details, consult the [official documentation](https://www.bcb.gov.br/estabilidadefinanceira/spb) published by the **Central Bank of Brazil (BACEN)**.
</Tip>

## What you can build

***

* **Payroll disbursements** — send salaries or contractor payments directly to employees' accounts at any Brazilian bank
* **Supplier and vendor payments** — pay invoices and settle B2B obligations without manual bank portal access
* **Customer withdrawals** — let customers move funds out of your platform to their external bank accounts on demand
* **Internal fund movement** — transfer between accounts within your own institution instantly, without BACEN routing (P2P)

## Transfer types

***

| Type        | What it means for your business                                                          |
| ----------- | ---------------------------------------------------------------------------------------- |
| **TED OUT** | Your customer sends money to an account at another bank                                  |
| **TED IN**  | Your institution receives money from another bank automatically                          |
| **P2P**     | Money moves between two accounts within your institution — same-day, no external routing |

## How it works

***

1. **Customer initiates** — enters the recipient's bank details and the amount; sees the fee before confirming
2. **Customer confirms** — authorizes the transfer; funds are provisioned immediately
3. **Transfer is sent** — the payment is routed through the BACEN STR network to the destination bank
4. **Settlement completes** — the recipient receives the funds, and the customer gets a confirmation number

## Operating hours and limits

***

What your customers can expect:

| Rule                | Details                                                                   |
| ------------------- | ------------------------------------------------------------------------- |
| Operating window    | Monday–Friday, 06:30–17:00 (Brasília, UTC-3)                              |
| Settlement SLA      | Same day (D+0) for transfers confirmed before 17:00                       |
| Weekends / holidays | TED is unavailable; transfers must be scheduled for the next business day |
| Typical completion  | Under 10 minutes from confirmation                                        |

<Note>
  Transfers initiated outside the operating window are automatically rejected with a clear error indicating the next available time. No funds are moved.
</Note>

## What the plugin handles for you

***

Your team does not need to build or maintain:

* **Fee calculation** — fees are computed automatically via Fees Engine at the moment of initiation, before the customer confirms
* **Duplicate detection** — the plugin rejects repeated transfer attempts with the same details within the same window
* **BACEN compliance** — operating hours, limits, and audit trail are enforced automatically
* **Holiday calendar** — BACEN business-day validation, backed by the `bacen_holidays` table (seeded for 2026–2099)
* **Webhook notifications** — real-time events notify your system when a transfer is sent, received, or fails
* **Reconciliation** — every transfer records the JD SPB control number, timestamps, and status history, retained for 5 years per regulation
* **Automatic returns (devolução)** — if an incoming transfer cannot be credited to a recipient, the funds are returned to the origin bank without manual intervention (distinct from a chargeback, which reverses an already-completed credit)

<Tip>
  To configure fee pricing for TED transfers in your organization, see [Fees Engine](/en/midaz/fees/fees-engine-overview).
</Tip>

<Tip>
  [Explore the TED API](/en/reference/midaz/plugins/ted/initiate-transfer). Browse the endpoints for initiating and managing transfers.
</Tip>
