{
  "id": "BR-CL-19",
  "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": "Coded allowance reasons MUST belong to the UNCL 5189 code list",
  "statement_lang": "en",
  "context": "cac:AllowanceCharge[cbc:ChargeIndicator = false()]/cbc:AllowanceChargeReasonCode",
  "test": "((not(contains(normalize-space(.), ' ')) and contains(' 41 42 60 62 63 64 65 66 67 68 70 71 88 95 100 102 103 104 105 ', concat(' ', normalize-space(.), ' '))))",
  "meaning": "A coded allowance reason must belong to the UNCL 5189 code list. The statement says MUST, writes UNCL 5189 with a space, and has no period. The context is an allowance whose charge indicator is false, with spaces around =. The test reads the element text and has a space after each comma. The list includes 41 and 105. The test does not call exists.",
  "fix": "On an allowance, set the reason code to a value from the UNCL 5189 list, with no space in the code.",
  "example_fail": "An allowance reason code contains a space, or it is not in the UNCL 5189 list.",
  "example_pass": "An allowance reason code is 41, 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-19/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
