Every B-n citation in crates/, docs/, deploy/, scripts/ and .github/ now names its bookspec id BS-<area>-<n> (D-68), via scripts/rewrite-rule-refs.py: the map is parsed from docs/spec/rules.md's index, rules.md-prefixed and bare forms are rewritten, sub-references (rule 11, item 7, INVARIANT 2) survive, and plan/, docs/spec/rules.md and docs/spec/claims/ are untouched. Program-output string literals that cited a rule were reverted by hand so user-visible output and its goldens are unchanged; DatedRule.catalog, metadata no output prints, now holds BS-1099-1. One SOURCE line that cited only 'R-?' now also cites BS-statement-5. Co-Authored-By: Muse Wonder 1.0
1.0 KiB
1.0 KiB
ISO 4217: currency minor units
Governs Currency::minor_units, which sets the smallest unit a ledger
books in (BS-ledger-1): foreign-currency lines are rounded to it.
Source: ISO 4217 "list one" (current currency & funds), published
2026-09-17 by SIX Financial Information, the ISO 4217 maintenance agency.
https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml,
retrieved 2026-10-13, SHA-256
33139b438657d1cee116ba737807ea71d19d6de4b90f799a09c56f0cc6a1b0ff.
The list itself is ISO's, so it is not reproduced here; these are the facts
the code uses, generated from it (the CcyMnrUnts of each Ccy):
| Minor units | Currencies |
|---|---|
| 0 | BIF CLP DJF GNF ISK JPY KMF KRW PYG RWF UGX UYI VND VUV XAF XOF XPF |
| 3 | BHD IQD JOD KWD LYD OMR TND |
| 4 | CLF UYW |
| none (N.A.) | XAG XAU XBA XBB XBC XBD XDR XPD XPT XSU XTS XUA XXX |
| 2 | the other 139 codes |
To update: fetch the list again, regenerate the table and
Currency::minor_units, and record the new publication date and hash.