OpenChainGraph Suite · OCG v0.8.0 · Corporate Treasury STP

Multilateral Netting Settlement

Note (dated 2026-08-04): a chain composes independent computations performed in an analytical order. No step's output is carried into the next step by the execution model; each step computes from its own declared inputs. This is true of every chain on this site, including chains whose per-step copy below reads as a data handoff.

Linear two-step chain for in-house-bank (IHB) settlement cycles. Step 1 computes N-entity corporate cash netting: gross inter-company positions to net positions to minimum settlement legs using a greedy matching algorithm per BIS CPMI net settlement framework (2012). Reports wire-count savings and netting efficiency. Netting statement is suitable for anchor_batch Merkle-leaf receipts. Step 2 allocates overnight IHB interest on the net settlement balances per OECD Transfer Pricing Guidelines 2022 Chapter X arm’s-length rate, with ACT/360 day-count and per-member withholding tax deduction. NOT FICC clearing margin netting. No personal data is processed.

OpenChainGraph · 2 Steps analytics mandate · Linear Hash-Anchored §4 chain_depth:2 Client-Side · Zero PII
Not legal, accounting, or tax advice. Netting arrangements must be validated under applicable netting law (ISDA master netting agreement, national netting legislation). Interest allocation and withholding obligations require review by qualified tax counsel.
Chain Topology (linear) — Multilateral Netting → IHB Interest Allocation
compute_multilateral_netting ART-259 · Multilateral Netting entity_net_positions[], netting_efficiency_pct allocate_ihb_interest ART-260 · IHB Interest Allocation
§4 Execution Hash · Chain Definition Anchor
execution_hash:computing…
Chain Stages · 2 Steps · Linear
1 ROOT node
Multilateral Cash Netting art-259-compute-multilateral-netting
Computes N-entity gross inter-company positions to net positions to minimum settlement legs using the BIS CPMI greedy matching algorithm. Emits entity_net_positions[], settlement_legs[], wire_count_savings, netting_efficiency_pct, and gross_volume/net_volume. Netting statement suitable for anchor_batch Merkle-leaf receipts (cry-04). NOT FICC clearing margin netting — corporate cash netting only.
MCP Call · compute_multilateral_netting
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "compute_multilateral_netting",
    "arguments": {
      "base_currency": "USD",
      "entities": [
        {"entity_id": "PARENT_CO", "name": "Parent Corp"},
        {"entity_id": "SUB_US",    "name": "US Subsidiary"},
        {"entity_id": "SUB_EU",    "name": "EU Subsidiary"}
      ],
      "gross_positions": [
        {"from_entity":"PARENT_CO","to_entity":"SUB_US","amount":1000,"currency":"USD"},
        {"from_entity":"SUB_US","to_entity":"SUB_EU","amount":800,"currency":"USD"},
        {"from_entity":"SUB_EU","to_entity":"PARENT_CO","amount":600,"currency":"USD"}
      ]
    }
  },
  "id": 1
}
↓
2 TERMINAL node
In-House Bank Interest Allocation art-260-allocate-ihb-interest
Allocates overnight IHB interest on the net settlement balances from Step 1. Notional pooling (pro-rata on pool net) or ZBA sweep. ACT/360 day-count. Per-member withholding tax deduction. OECD TP Guidelines 2022 Chapter X arm’s-length rate. Returns per-member gross_interest, withholding_amount, net_interest, and total_interest_allocated. Final stage.
MCP Call · allocate_ihb_interest
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "allocate_ihb_interest",
    "arguments": {
      "pool_type": "notional",
      "pool_rate_annual_pct": 5.0,
      "day_count_convention": "ACT/360",
      "period_days": 1,
      "currency": "USD",
      "members": [
        {"member_id": "PARENT_CO", "balance":  200, "withholding_rate_pct": 0},
        {"member_id": "SUB_US",    "balance": -200, "withholding_rate_pct": 0},
        {"member_id": "SUB_EU",    "balance":  200, "withholding_rate_pct": 15}
      ]
    }
  },
  "id": 2
}
Export Chain Artifact
Download a §4-compliant chain artifact with execution hash and step definitions. Hash is deterministic over canonical {policy_parameters, output_payload} per RFC 8785/JCS.

Ask your agent

Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this whole workflow on the server and check one field that answers a real question.

Question: Under a single master agreement, how much settlement volume does multilateral netting remove across these positions?
Run the AINumbers MCP tool `run_chain` with {"chain":"multilateral-netting-settlement"} and read `art-259-compute-multilateral-netting.netting_efficiency_pct`.
Re-run with `inputs` for `art-259-compute-multilateral-netting`, reusing the values that result echoed, with `gross_positions` changed so ENTITY A pays only 100 instead of 1000. Compare the same field.
Verify: call `verify_execution_hash` (https://mcp.ainumbers.co/mcp) with `claimed_hash` set to `composite_execution_hash` and the full `composite_artifact`.
Ledger, for a human re-check: https://ledger.ainumbers.co/
PII rule: send synthetic or anonymised inputs only. The MCP server runs these kernels and logs no payloads.
Chain page: https://ainumbers.co/chaingraph/chains/multilateral-netting-settlement.html