---
title: "Intercompany Elimination and Netting Workflow"
method: POST
path: "/v1/tools/compute_intercompany_elimination_netting"
tags: ["intercompany", "elimination", "netting", "consolidation", "receivable", "payable", "matching", "mismatch", "settlement summary", "zero network", "zero-PII"]
---

# Intercompany Elimination and Netting Workflow

`POST /v1/tools/compute_intercompany_elimination_netting`

## Request

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

Deterministic intercompany elimination and netting arithmetic over caller-declared synthetic entity pairs: receivable-versus-payable matching at 2dp half-up rounding, mismatch listing with differences, elimination totals, unmatched residual, and an overall GAPS_FOUND or ALL_MATCHED verdict. Pure matching arithmetic — no posting, no payment, no network, no clock.

**Tool URL:** https://ainumbers.co/tools/684-intercompany-elimination-netting.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `pairs` unknown[], required: declared entity pairs with a, b, a_receivable, b_payable
    - unknown

## Response `200`

Successful tool execution result

- object
  - `matched_pairs` integer, nullable: Count of pairs whose rounded receivable equals the rounded payable; null on the fail-closed path.
  - `mismatched_pairs` integer, nullable: Count of pairs with unequal rounded amounts.
  - `elimination_total` number, nullable: Sum over all pairs of the smaller (eliminated) side, 2dp half-up.
  - `unmatched_residual` number, nullable: Sum of mismatch differences, 2dp half-up.
  - `mismatches` unknown
  - `trace` string: Full elimination and residual trace, or the fail-closed reasons naming each rejected input.
  - `overall` 'GAPS_FOUND' | 'ALL_MATCHED' | 'null', nullable: GAPS_FOUND when at least one pair mismatches.

---

[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)
