关于「结汇时点:交易日汇率、期末重估与十进制舍入」,《多主体清分与审计就绪账本》给出的定量结论是什么?
结论:第二章按 IAS 21 比较交易日入账与结汇日入账,平均绝对收入偏差 0.0602,主要来自期间错位。
数据口径:书中参数为示意,数据为合成;全部计算由书中程序生成。 第一章按 IFRS 15 的控制判断给七类合成交易打分,「到账即收入」有 3 类出错,误差有正有负,合计高估 0.2763。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.0602, 21
A. 200 synthetic months, about 120 USD invoices in each B. revenue gap (cash-conversion habit minus IAS 21), share: p05 -0.1114 median -0.0074 p95 +0.1272 mean absolute gap 0.0602 C. exchange difference to profit or loss, share of revenue: p05 -0.0105 median +0.0005 p95 +0.0093 D. invoices open at month end, mean 31.9 of about 120 E. the habit mixes two months and two rates into one line; IAS 21 keeps sales and currency results on separate lines
查看完整验算程序
# Chapter 2. p21: transaction-date measurement versus "book it when the
# cash is converted". IAS 21 reading used here: revenue at the spot rate
# of the transaction date (para 21), open receivables at the closing
# rate (para 23), differences to profit or loss (para 28). Rates follow a
# seeded random walk around 4.4 local units per USD (illustrative, not a
# market series). Money is exact Decimal with banker's rounding.
import math
import random
import statistics
from decimal import Decimal, ROUND_HALF_EVEN
Q = Decimal("0.01")
R4 = Decimal("0.0001")
rng = random.Random(40221)
def rate_path(days):
x, out = math.log(4.4), []
for _ in range(days):
x += rng.gauss(0.0, 0.004)
out.append(Decimal(str(round(math.exp(x), 4))))
return out
def one_month():
rates = rate_path(75)
m_lo, m_hi = 30, 59 # the month under review: days 30-59
rev_ias = rev_cash = fx = Decimal(0)
cutoff = 0
for _ in range(240): # invoices over days 0-59
day = rng.randrange(60)
lag = rng.randint(2, 14)
usd = Decimal(rng.randint(2000, 40000)) / 100
paid = day + lag
if m_lo <= day <= m_hi:
booked = (usd * rates[day]).quantize(Q, ROUND_HALF_EVEN)
rev_ias += booked
if paid <= m_hi:
cash = (usd * rates[paid]).quantize(Q, ROUND_HALF_EVEN)
fx += cash - booked
else:
close = (usd * rates[m_hi]).quantize(Q, ROUND_HALF_EVEN)
fx += close - booked
cutoff += 1
if m_lo <= paid <= m_hi:
rev_cash += (usd * rates[paid]).quantize(Q, ROUND_HALF_EVEN)
return rev_ias, rev_cash, fx, cutoff
if __name__ == "__main__":
gaps, fxs, cuts = [], [], []
for _ in range(200):
ias, cash, fx, cut = one_month()
gaps.append(float((cash - ias) / ias))
fxs.append(float(fx / ias))
cuts.append(cut)
q = statistics.quantiles(gaps, n=20)
f = statistics.quantiles(fxs, n=20)
print("A. 200 synthetic months, about 120 USD invoices in each")
print("B. revenue gap (cash-conversion habit minus IAS 21), share:")
print(" p05 {:+.4f} median {:+.4f} p95 {:+.4f}".format(
q[0], statistics.median(gaps), q[18]))
print(" mean absolute gap {:.4f}".format(
math.fsum(abs(g) for g in gaps) / len(gaps)))
print("C. exchange difference to profit or loss, share of revenue:")
print(" p05 {:+.4f} median {:+.4f} p95 {:+.4f}".format(
f[0], statistics.median(fxs), f[18]))
print("D. invoices open at month end, mean {:.1f} of about 120".format(
math.fsum(cuts) / len(cuts)))
print("E. the habit mixes two months and two rates into one line;")
print(" IAS 21 keeps sales and currency results on separate lines")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《跨国数字业务多主体清分、跨境税基合规边界与一键审计就绪账本母典》第 2 章「结汇时点:交易日汇率、期末重估与十进制舍入」(版本 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}
}