Ingest the collection agent's Arquivo de Baixa Extraordinária
Accepts the file in which the client’s collection agent declares what it received into its own account, against the instructions the lender issued. Identity is the file’s CONTENT: the same file re-uploaded is inert and reduces no debt twice. The file’s own header names the agent, and a file this tenant cannot attribute to anybody — neither its active channel nor an agent still holding an open instruction — is refused before a single line is stored. Accepting the file applies nothing: each line becomes durable work, applied independently, so one unrecognised instruction is quarantined for an operator instead of blocking every other borrower’s payment in the same upload. A line declaring a receipt the agent cannot have taken yet — a paid instant more than a few minutes ahead of the moment we receive the file — is refused too, and refuses the whole file: that instant is the ACCOUNTING instant of the settlement, so a skewed clock or a broken date formatter would book a repayment in the future.
Autorizaciones
JWT bearer token issued by the identity provider.
Encabezados
Canonical idempotency request ID. Required: this request moves money, and without a key a retry cannot be told apart from a second instruction.
Cuerpo
The collection agent's Arquivo de Baixa Extraordinária, base64-encoded, exactly as received. Its sha-256 is the file's identity: the same file re-uploaded changes nothing and reduces no debt twice.
1Respuesta
Accepted
The collection agent the file came from. Checked before anything was stored: it has to be this tenant's active channel, or the agent an instruction still open was issued to.
ISO 4217 currency code.
sha-256 of exactly the ingested bytes — the identity a re-upload is recognised by.
The layout the bytes were parsed under, recorded on every line.
Settlements the file carries.
True when every line of this file was already known and nothing was written.
Settlements this upload durably added. Zero on a re-upload: every line was already known and nothing was applied a second time.
Total the file declares, cent scale, decimal string; never a float.

