{
  "id": "BR-CL-04",
  "country": "EU",
  "syntax": "ubl",
  "group": "code-list",
  "severity": "fatal",
  "severity_note": "fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.",
  "spec": "Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL",
  "statement": "Invoice currency code MUST be coded using ISO code list 4217 alpha-3",
  "statement_lang": "en",
  "context": "cbc:DocumentCurrencyCode",
  "test": "((not(contains(normalize-space(.), ' ')) and contains(' AED AFN ALL AMD AOA ARS AUD AWG AZN BAM BBD BDT BHD BIF BMD BND BOB BOV BRL BSD BTN BWP BYN BZD CAD CDF CHE CHF CHW CLF CLP CNH CNY COP COU CRC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB EUR FJD FKP GBP GEL GHS GIP GMD GNF GTQ GYD HKD HNL HTG HUF IDR ILS INR IQD IRR ISK JMD JOD JPY KES KGS KHR KMF KPW KRW KWD KYD KZT LAK LBP LKR LRD LSL LYD MAD MDL MGA MKD MMK MNT MOP MRU MUR MVR MWK MXN MXV MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLE SOS SRD SSP STD SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD USN UYI UYU UYW UZS VES VED VND VUV WST XAF XAG XAU XBA XBB XBC XBD XCD XCG XDR XOF XPD XPF XPT XSU XTS XUA XXX YER ZAR ZMW ZWG ', concat(' ', normalize-space(.), ' '))))",
  "meaning": "The invoice currency code must use an ISO 4217 alpha-3 code. The statement says MUST and has no period. The context is cbc:DocumentCurrencyCode. The test reads the element text with normalize-space(.). It uses the same ISO 4217 list as the currencyID rule. It does not read @currencyID and it does not call exists.",
  "fix": "Set the document currency code to a three-letter ISO 4217 code with no space.",
  "example_fail": "The document currency code contains a space, or it is not in ISO 4217.",
  "example_pass": "The document currency code is EUR, with no space.",
  "example_note": "Illustration of the condition in the official statement. Not an example published by the source.",
  "source_url": "https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-CL-04/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
