{
  "id": "UBL-CR-009",
  "country": "EU",
  "syntax": "ubl",
  "group": "excluded",
  "severity": "warning",
  "severity_note": "warning, 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": "A UBL invoice should not include the PaymentAlternativeCurrencyCode",
  "statement_lang": "en",
  "context": "/ubl:Invoice | /cn:CreditNote",
  "test": "not(cbc:PaymentAlternativeCurrencyCode)",
  "meaning": "A UBL invoice should not include PaymentAlternativeCurrencyCode. The statement says \"should not include the PaymentAlternativeCurrencyCode\", not \"shall\", and it has no period. The flag is warning. The context is the same string as BR-CO-18. The published test is not(cbc:PaymentAlternativeCurrencyCode). It does not call exists.",
  "fix": "Leave PaymentAlternativeCurrencyCode out of the UBL invoice.",
  "example_fail": "The invoice includes PaymentAlternativeCurrencyCode.",
  "example_pass": "The invoice does not include PaymentAlternativeCurrencyCode.",
  "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/UBL-CR-009/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
