{
  "id": "UBL-CR-010",
  "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 AccountingCostCode",
  "statement_lang": "en",
  "context": "/ubl:Invoice | /cn:CreditNote",
  "test": "not(cbc:AccountingCostCode)",
  "meaning": "A UBL invoice should not include AccountingCostCode. The statement says \"should not include the AccountingCostCode\", 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:AccountingCostCode). It does not call exists.",
  "fix": "Leave AccountingCostCode out of the UBL invoice.",
  "example_fail": "The invoice includes AccountingCostCode.",
  "example_pass": "The invoice does not include AccountingCostCode.",
  "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-010/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
