Create a CNAB agreement
Links one Lerian (PCR) collections agreement to CNAB 240 Lerian files.
Providers: Lerian (PCR).
How it works
- The file’s agreement code (G007) is the collections agreement’s 7-digit code. The bank code (G001) is the
bankCodeof the tenant’s PCR connection. - Portfolio and species come from the collections agreement. Do not send them.
- The collections agreement must be
ACTIVE, of the Lerian (PCR) provider, and of the account and ledger you send. - The tenant must have a PCR connection.
- A collections agreement has at most one CNAB agreement.
- Without
returnCutTimes, the return is cut once a day at 07:00, Brasília time. - Both NSAs start at 0.
- The body takes no personal data.
- A retry under the same
Idempotency-Keyreturns the stored answer.
POST
Create a CNAB agreement
Headers
Body
application/json
Response
Created. The CNAB agreement, ACTIVE. A retry under the same Idempotency-Key returns this same 201.
Credit release policy of the collections agreement, read from it on every read and never stored. AFTER_CANCELLATION_WINDOW releases the credit only after the window in which the payer's bank may cancel the write-off has closed; AT_SETTLEMENT releases it on settlement, and a chargeback after the release comes back as movement 90.
Available options:
AFTER_CANCELLATION_WINDOW, AT_SETTLEMENT Example:
"AFTER_CANCELLATION_WINDOW"

