Requeue consignado contract divergence
Records an explicit retry signal over the same immutable command; the requeue itself never reopens a disposed item. A parked payroll competência (employer_shortfall or reconciliation_hold_for_review awaiting its posting), or a reconciliation_hold_for_review naming money on a month a live cession holds, re-runs its stored verdict through the match run’s posting path without the repasse composition (the item holds the composed verdict); a run’s item takes the route its run’s redelivery takes, the post-cession route included on a month a live cession holds. Once the re-run posts, or parks where its run would, the item is disposed with result rerun. A reconciliation_hold_for_review item whose verdict_reason is ESCRITURACAO_PENDING (a confirmed remittance held until payroll states what it withheld; its lender evidence names the expected, received and residual amounts) is judged again on the escrituração now on file and, once it posts, runs the match run’s whole path, diversion and composition included; with no escrituração yet it is refused and writes nothing. The escrituração’s arrival runs this re-run itself for each such item still open; a disposed one keeps the operador’s answer. When the instalment settles on a competência whose desk holds an excess, an employer_shortfall or reconciliation_hold_for_review item is disposed as rerun and what the rail states beyond the instalment opens as a ceded_cash_unplaced item. A ceded_cash_unplaced item is refused while its contract is still sold; once the repurchase ended the sale it re-runs on our books, a held group at its shortfall door, and one our books still cannot place, or that names the fund’s money, is refused and leaves by dispose. A closed_contract_month_unremitted item (a month of a contract that left our book, with no repasse placed) re-runs as its run’s redelivery: it is refused while the contract stays closed. The rail’s undoing of the refinance that closed it puts the item back open at a newer version, whatever its state; its re-run then books the month at its door and disposes the item with result rerun. Any other refused re-run writes nothing, except on a repasse held for a contract the Lender did not service (repasse_contract_not_serviced): there the retry records the stored repasse’s receipt and runs its payroll match (a severance registro, verbas_rescisorias, is instead booked as termination-benefit cash, may pay the contract off, and runs no match), then disposes the item with result rerun; a payroll repasse naming a renegotiated contract number for a month before the month that number names its loan from is instead held as the portador’s excess, as below, and the item is disposed with result rerun; a severance under that number pays the loan down from the end, whatever its month; while the contract is still not serviced, or when expectedVersion is stale, it is refused and writes nothing, and a retry refused after it recorded the receipt leaves that receipt recorded: the next retry replays it, never booking it twice. On a renegotiation_* item the requeue links the new contract number (N) to the closed contract’s loan (X) from competência K or, when X has a clean escrituração (one Dataprev flagged on none of its checks) for K or a later month, from the month after X’s last clean escrituração, keeping X’s schedule whatever N’s terms, moves the loan to the new bond and disposes the item with result rerun; K is the renegociação’s, or competenciaInicioDesconto when it named none. It is refused, writing nothing, while X is not serviced, when the renegociação names no new bond or no K, when the month the link starts at falls outside X’s schedule, when competenciaInicioDesconto names another K than the renegociação’s, or when N already names another loan; competenciaInicioDesconto on any other item is refused. Once the link commits, each repasse_contract_not_serviced item held under N re-runs as its own requeue would; one that does not stays open for that requeue. Every payroll repasse under N for a month before the link’s start settles nothing of X: each registro’s whole amount is the portador’s unapplied cash on X’s account, and the over-deduction refund case under N and that month in GET /api/v1/internal/br/consignado/overdeduction-refunds holds the sum of the month’s registros for the operador, each growth published again with the case’s running total; a held one re-runs into it, and a redelivery holds nothing twice. A registro arriving after the operador disposed that month’s case books nothing and opens a repasse_contract_not_serviced item whose requeue is refused (422) until the operador disposes it. On a sold X the registro books nothing and the item only audits it. Compare-and-swap guarded by expectedVersion; idempotent via the X-Idempotency header enforced by the platform middleware.
Cuerpo
Respuesta
OK
True when the item is open and Dispose accepts it. False on a closed item and on a competência parked for its re-run (posting_pending employer_shortfall of a month no live cession holds, or reconciliation_hold_for_review), which leaves only by Requeue; true on its placed item (occurrenceKey run=placed|...), on a run held for its escrituração, on the review hold of a settle the rail never confirmed (lenderEvidence rail 0) and on every review hold of a month whose escrituração Dataprev flagged or a live cession holds, whose money the operador then holds. An employer_shortfall of a month a live cession holds (sold or retained) is also true: disposing it posts nothing, and a repurchase still books the employer's receivable from the escrituração.
True when the item is open and Requeue re-executes it: a parked payroll competência, an unserviced repasse, a renegociação link, a closed contract's month, a ceded_cash_unplaced item whose month no live cession holds, or a review hold naming money on a month a live cession holds. The re-run reads the live books and can still be refused with its reason (a contract sold again, cash the cession's desk holds, an escrituração Dataprev flagged), the item staying open. False on a closed item, where the requeue only records a retry signal, and where the item itself shows a refusal every time: an item naming the fund's money, a ceded_cash_unplaced item of a month a live cession holds.

