Dispose consignado contract divergence
Records the operator’s structured result and closes the item. A parked payroll competência (employer_shortfall or reconciliation_hold_for_review awaiting its posting) is never disposed: it leaves only by requeue, which re-runs it. The exceptions are the item naming money already placed (run=placed) and a run held for its escrituração: the operador disposes them, and the held money is then his. So is the reconciliation_hold_for_review of a settle the rail never confirmed (lender evidence rail 0): its dispose says the rail did not pay and books the month with what the rail confirmed by then, the rest the employer’s receivable where the escrituração proves the withholding, or parks it as its closed_contract_month_unremitted item once the contract left our book; what still refuses that booking answers LENDER-0363 and the item stays open. 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.

