What does Multi-Entity Clearing and Audit-Ready Ledgers conclude, in numbers, about “When the Currency Turns: Transaction-Date Rates, Closing-Rate Remeasurement and Decimal Rounding”?
Answer: Chapter 2 compares transaction-date and conversion-day recording under IAS 21; the mean absolute revenue gap is 0.0602, mostly from the shift between periods. In Chapter 3, multilateral netting settles 64 internal invoices among five entities in 4 transfers and moves 0.2518 of the gross amount.
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: 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
Show the full program
# 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")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 2: When the Currency Turns: Transaction-Date Rates, Closing-Rate Remeasurement and Decimal Rounding. 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 3 · Clearing Among Entities: Bilateral and Multilateral Netting and Open Balances
- 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