What does Multi-Entity Clearing and Audit-Ready Ledgers conclude, in numbers, about “Clearing Among Entities: Bilateral and Multilateral Netting and Open Balances”?
Answer: Section B lists the net positions. The destiny entity is a net receiver of +17,449.23, the library entity of +11,350.45 and the shared-service entity of +22,272.25; the marketing entity is a net payer of -34,708.64 and the purchasing entity of -16,363.29. Section C checks that the five positions add to exactly 0.00. That is a necessary condition for correct netting: whenever the total is not zero, some invoice has been recorded on one side only. Section D gives the ratio: after multilateral netting the amount actually moved is 0.2518 of what full payment would move.
Scope of the numbers: The book is a handbook of accounting and compliance routines and is not personal tax advice. Parameters are illustrative, data synthetic, and all calculations come from the book's programs.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 117653.27, 118329.44, 120.00, 17.14, 20251.24, 20285.05
| A. cycle length, transfers a month, average open balance (u) | |
| cycle(d) transfers simulated avg Little lam*W | |
| 1 | 120.00 20,251.24 20,285.05 |
| 7 | 17.14 40,401.05 40,570.09 |
| 15 | 8.00 67,278.74 67,616.82 |
| 30 | 4.00 117,653.27 118,329.44 |
| B. daily accrual lambda | 6,761.68 u per day |
| C. a shorter cycle cuts the open balance in proportion to | |
| the wait, and multiplies the transfers by the same factor |
Show the full program
# Chapter 3. p32: settlement cycle, open intercompany balances and the
# number of transfers. Charges accrue evenly at the monthly gross of
# p31 (202,850.46 u over 30 days); every cycle of T days ends in one
# multilateral run of 4 transfers (p31), which then take 2 days to
# arrive. Open balance is averaged day by day in exact fractions and
# compared with Little's law L = lambda * W (Little 1961), where W is
# (T + 1) / 2 days waiting for the cut plus 2 days in the bank.
from decimal import Decimal, ROUND_HALF_EVEN
from fractions import Fraction
MONTH = Fraction(20285046, 100)
DAYS = 30
LAM = MONTH / DAYS # u per day
LAG = 2
MOVES = 4
def simulate(cycle, horizon=600):
accrued = Fraction(0)
in_bank = [] # (arrival day, amount)
area = Fraction(0)
for d in range(horizon):
accrued += LAM
in_bank = [(a, x) for a, x in in_bank if a > d]
total = accrued
for _, x in in_bank:
total += x
area += total # day-end open balance
if (d + 1) % cycle == 0:
in_bank.append((d + LAG + 1, accrued))
accrued = Fraction(0)
return area / horizon
def show(x):
v = Decimal(x.numerator) / Decimal(x.denominator)
return "{:,}".format(v.quantize(Decimal("0.01"), ROUND_HALF_EVEN))
if __name__ == "__main__":
print("A. cycle length, transfers a month, average open balance (u)")
print(" cycle(d) transfers simulated avg Little lam*W")
for cycle in (1, 7, 15, 30):
transfers = Fraction(DAYS, cycle) * MOVES
avg = simulate(cycle)
little = LAM * (Fraction(cycle + 1, 2) + LAG)
print(" {:>7} {:>9} {:>13} {:>12}".format(
cycle, show(transfers), show(avg), show(little)))
print("B. daily accrual lambda = {} u per day".format(show(LAM)))
print("C. a shorter cycle cuts the open balance in proportion to")
print(" the wait, and multiplies the transfers by the same factor")Single source and citation
Fan, Y. (2026). Multi-Jurisdiction Digital Revenue Clearing, Cross-Border Tax-Base Compliance Boundaries and Audit-Ready Automated Ledgers (Version 1.0.0), Chapter 3: Clearing Among Entities: Bilateral and Multilateral Netting and Open Balances. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-402 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026402,
author = {Fan, Yafu},
title = {Multi-Jurisdiction Digital Revenue Clearing, Cross-Border Tax-Base Compliance Boundaries and Audit-Ready Automated Ledgers},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Gross or Net: Judging the Principal by Control, Not by How the Platform Pays
- Chapter 2 · When the Currency Turns: Transaction-Date Rates, Closing-Rate Remeasurement and Decimal Rounding
- Chapter 4 · Shared Costs Between Related Entities: the Arm's Length Principle, Allocation Keys and Contemporaneous Documentation
- Chapter 5 · Four-Way Reconciliation: Auto-Match Rate, Tolerance and Cross-Entity Duplicates
- Chapter 6 · Evidence Chains, First-Digit Leads and Month-End Close Time
- Chapter 7 · Four Pillars and Double Entry: the Ming Registers and Pacioli's Ledger Examined
- Chapter 8 · Field Tools and Checker Specifications: the Month-End Ledger, the Four Kits and a Pre-Registered Test