Settlements
Access Prerequisites
- Permission (module):
creditDisburse(execute/operate settlements). - License/Feature:
CREDIT_INVESTMENTSenabled on the tenant license (Vault). - Menu container: TOKENIZATION → group Tokenized Credit
What it is / when to use
The Settlements screen shows the final distribution of money from a Deal when the receivables are paid. A settlement applies the Waterfall Template of the deal, splitting the received amount among recipients (investors, house, fees) in a priority order. Each settlement has a set of ordered items, each with a type, receivable/recipient, and amount.
Use this screen to track which deals have already been settled (fully or partially), the total amount distributed, and the item-by-item breakdown of each settlement.
Prerequisites
- Permission:
creditDisburse(a dual permission — CPM enum + dynamic module in the DB). - License/Feature:
CREDIT_INVESTMENTSenabled. Without it the group does not appear in the menu at all. - Dependencies on other screens: the Deal must have been funded/disbursed and have paid Charges; the Waterfall Template determines the item order.
Step by step
- Go to the menu Tokenized Credit → Settlements.
- Filter by Status (All / Pending / Processing / Completed / Failed).
- Click View on a settlement to open the details panel with the ordered items.
- Close the panel to return to the list.
Filters and columns
| Filter/Column | What it shows | Data source |
|---|---|---|
| Deal Number | Settled deal | Settlement.dealNumber / dealId |
| Status | PENDING, PROCESSING, COMPLETED, FAILED | Settlement.status (filter statusFilter) |
| Total amount | Amount distributed in this settlement | Settlement.totalAmount (BigNumber) |
| Settlement date | When it was processed | Settlement.settlementDate |
| No. of items | Number of distribution lines | Settlement.items.length |
| Created at | Record creation date | Settlement.createdAt |
Detail of each item (SettlementItem): order (priority), itemType, receivableId/recipient, amount. Items are displayed sorted by order — exactly the waterfall order.
Actions and modals
- View: opens the side panel with the settlement items, sorted by priority (
getOrderedItems). There is no destructive action in this listing — the execution of the settlement is triggered by the disbursement flow /executeSettlement(modulecreditDisburse), which assembles thesettlementItems(itemType,recipientPartyId,toAccountId,amount,priority) according to the waterfall.
Business rules / considerations
Attention
- The waterfall order is the payment order. The
order/priorityof each item follows the deal's Waterfall Template — items with lower priority values are paid first; changing the waterfall afterwards does not rewrite settlements already executed. - Partial settlement exists. A deal can remain
PARTIALLY_SETTLEDwhile not all receivables have been paid; new settlements accumulate until reachingSETTLED. - FAILED status requires attention. A
FAILEDsettlement indicates a transfer failure — investigate before reprocessing.
Irreversible
- Settlement distribution is final. Upon execution, the money is transferred to recipients on/off-chain. There is no automatic rollback — corrections require a new financial event (e.g. Buyback or manual adjustment).
- Financial values:
totalAmountandamountof each item are BigNumber in the backend; the sum of items must match the total — do not round when reconciling. - Idempotency: the transfer goes through FinLib and is idempotent by externalId — on reprocessing,
E00021("already processed") is success, not an error. See [[reference_finlib_idempotency]].