关于「多主体清分:双边轧差、多边轧差与在途余额」,《多主体清分与审计就绪账本》给出的定量结论是什么?
结论:模拟假设内部往来每天平均产生 6,761.68 个示意单位,即上一个合成月份的总额平均摊到三十天;每次结算要两天才到账。A 段给出四种周期。每天结算,一个月要 120.00 笔转账,平均在途余额按利特尔公式为 20,285.05,逐日模拟为 20,251.24。每周结算,转账降到 17.14 笔,在途余额升到约 40,570.09。半月结算,8.00 笔,在途约 67,616.82。每月结算,4.00 笔,在途约 118,329.44,逐日模拟为 117,653.27。模拟值略低于公式值,是因为模拟从零开始,头几天还没有在途的钱,再加上模拟天数不能被每个周期整除。
数据口径:书中参数为示意,数据为合成;全部计算由书中程序生成。 第一章按 IFRS 15 的控制判断给七类合成交易打分,「到账即收入」有 3 类出错,误差有正有负,合计高估 0.2763。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 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 |
查看完整验算程序
# 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")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《跨国数字业务多主体清分、跨境税基合规边界与一键审计就绪账本母典》第 3 章「多主体清分:双边轧差、多边轧差与在途余额」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 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}
}