TODO_TAGS_REVIEW
TODO_AP2_EXPORT_REVIEW

N-Way Balance Closure Check

Takes three or more caller-declared balances for the same measure, at the same as-of moment, across named internal systems, and ENFORCES the arithmetic closure identity (A minus B) plus (B minus C) equals (A minus C) within a caller-declared tolerance. Reports every pairwise difference, the closure residual for every triple, which pair carries the break, and which system is the single consistent explanation for all breaking pairs. This is not a fourth balance display: three pairwise tables enforce nothing across each other, because the third difference is fully determined by the other two, and the residual is the test a dashboard leaves to a human. Where a firm already reconciles hop by hop, each hop's own reconciled difference can be declared as an independent input, and the node then checks that those hops close against each other and agree with the declared balances. Tolerance is always a declared input, never defaulted, since an unstated tolerance turns every rounding difference into a break. Residual within tolerance yields auto_pass; outside tolerance, or a pairwise break, or a declared hop that disagrees with the balances, yields review_required, which routes to an exception step and never blocks. Balances at differing or undeclared as-of moments yield a ran-stale execution state; fewer than three systems, an undeclared tolerance, or no designated authoritative system yields a did-not-run execution state rather than a degraded pass. Balances, hop differences and the tolerance are integer minor units, so the arithmetic is exact. Scoped to internal system-boundary hops inside one firm, ahead of any filing. Clause: BCBS 239 Principle 2 fn.16 (robust automated reconciliation where multiple systems are in use); BCBS 239 SS36(d) (reconcile to a designated authoritative source, never consumer to consumer).

Tool URL: https://ainumbers.co/chaingraph/art-525-nway-balance-closure-check.html

post/v1/tools/check_nway_balance_closure

Request

  • Base URL: https://ainumbers.co
  • URL: https://ainumbers.co/v1/tools/check_nway_balance_closure
  • Auth: none declared

Request body

authoritative_system_idunknown required
closure_tolerance_minorunknown required
measure_labelunknown required

Response

Successful tool execution result

measure_labelstring
authoritative_system_idstring
closure_tolerance_minorinteger
system_countinteger
as_of_consistentboolean
as_of_valuesstring[]
triple_countinteger
closure_holdsboolean
max_abs_residual_minorinteger
scope_notestring
boundary_notestring

Changes

No recorded changes to this operation across all 1 revision of this API.