Withdraw balance from the settlement account
Issues an LDL0032 “IF requisita saque parcial ou total na Câmara” to the Câmara LDL (Catálogo de Serviços do SFN v5.13, Vol II). It asks the câmara to return part or all of this institution’s net balance from the Conta de Liquidação to its Reservas Bancárias or settlement account at the Bacen. TpDev chooses which amount: TOT (everything the participant may withdraw), LIM (at most VlrLimDev) or VAL (exactly VlrLimDev) — LIM and VAL require VlrLimDev, and a request carrying either without it is refused here rather than signed. The câmara determines the maximum it will return, so this rail neither computes nor bounds the amount. The request is minted, built, signed, encrypted and durably recorded BEFORE anything reaches the queue, so this returns 202 with the control number the câmara will echo; the answer (LDL0032R1) arrives asynchronously and is read back with getLDL0032. Every amount is a decimal STRING carried to the wire exactly as written. A deployment with no send leg configured answers 503 with SILOC-0023; one whose dispatcher is not running answers 503 with SILOC-0024.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Idempotency key for this state-changing request (required, max 255 characters).
255Body
Data Movimento (xs:date, [1..1]).
Tipo Devolução (TpDev, [1..1]): TOT (everything the participant may withdraw), LIM (at most VlrLimDev) or VAL (exactly VlrLimDev). LIM and VAL require VlrLimDev.
Valor Limite Devolução (Valor, [0..1]): the amount LIM bounds and VAL names exactly. Normally omitted for TOT, where the câmara determines the total; if sent, it is written to the wire as given.
Response
Accepted
Queue-put attempts made so far.
The SFN command code this row carries, e.g. LDL0003.
Outbound message id.
The control number this institution issued (NumCtrlIF). The câmara echoes it on the answer, which is what correlates the two.
The BCMSG operation number of the frame.
The request exactly as it was submitted, projected verbatim.
Lifecycle state. REFUSED means the câmara received the command and returned its E twin; FAILED means this rail could not deliver it. Both are terminal and they are different facts. LDL1019 has no positive answer leg in the Catálogo, so an accepted LDL1019 stays DISPATCHED: delivered, and no reply is owed.
SUBMITTED, DISPATCHED, ANSWERED, REFUSED, FAILED When the command was recorded.
What the câmara answered; omitted until it has answered, and never present for LDL1019, which has no answer leg.
True only on an ANSWERED message whose answer body this rail does not hold. The câmara did answer; what it wrote is not here, and the missing answer block is that absence, never an empty answer. Omitted otherwise.
When the câmara's answer was applied; omitted until it is.
When the frame reached the send queue; omitted until it has.
Why the last queue put failed, or — on REFUSED — the CodErro values the câmara marked, verbatim. Omitted when neither applies.

