---
title: "Multilateral Cash Netting"
method: POST
path: "/v1/tools/compute_multilateral_netting"
tags: ["TODO_TAGS_REVIEW", "TODO_AP2_EXPORT_REVIEW"]
---

# Multilateral Cash Netting

`POST /v1/tools/compute_multilateral_netting`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/compute_multilateral_netting`
- Auth: none declared

Computes N-entity corporate cash netting: gross inter-company positions to net positions to minimum settlement legs using the BIS CPMI greedy matching algorithm (Net Settlement Framework 2012). Reports wire-count savings and netting_efficiency_pct. Corporate cash netting only -- NOT estimate_ficc_margin_netting (FICC US-Treasury clearing). Netting statement suitable for anchor_batch Merkle-leaf receipts. ZERO PII: aggregate entity balances only, no account-holder identifiers.

**Tool URL:** https://ainumbers.co/chaingraph/art-259-compute-multilateral-netting.html

## Request body

- object
  - `base_currency` unknown, required
  - `entities` unknown[], required
    - unknown
  - `fx_rates` unknown, required
  - `gross_positions` unknown[], required
    - unknown

## Response `200`

Successful tool execution result

- object
  - `anchor_surface` string
  - `base_currency` string
  - `entity_count` integer
  - `entity_net_positions` object[]
    - `currency` string
    - `entity_id` string
    - `entity_name` string
    - `net_amount` integer
    - `role` string
  - `gross_count` integer
  - `gross_volume` integer
  - `net_count` integer
  - `net_volume` integer
  - `netting_efficiency_pct` number
  - `not_legal_advice` string
  - `pii_note` string
  - `regulatory_basis` string
  - `settlement_legs` object[]
    - `amount` integer
    - `currency` string
    - `from_entity` string
    - `to_entity` string
  - `table_source` string
  - `table_version` string
  - `wire_count_savings` integer
  - `wire_count_savings_pct` number

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
