{
  "id": "BR-CO-08",
  "country": "EU",
  "syntax": "ubl",
  "group": "document",
  "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 line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason.",
  "statement_lang": "en",
  "context": "//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = true()]",
  "test": "true()",
  "meaning": "The statement says an invoice line charge reason code (BT-145) and an invoice line charge reason (BT-144) shall indicate the same type of charge reason, and the published test is true(). The statement ends with a period and does not say MUST. The context is an invoice line or a credit note line charge whose charge indicator is true, with spaces around = and around the bar. The test does not compare the reason code with the reason text. It does not call exists.",
  "fix": "When both the invoice line charge reason code (BT-145) and the reason (BT-144) are present, make them name the same charge reason. The published test is true().",
  "example_fail": "An invoice line charge has a reason code and a reason text that name different charge reasons.",
  "example_pass": "An invoice line charge has a reason code and a reason text that name the same charge reason.",
  "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-CO-08/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
