{
  "id": "BR-CO-19",
  "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": "If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both.",
  "statement_lang": "en",
  "context": "cac:InvoicePeriod",
  "test": "exists(cbc:StartDate) or exists(cbc:EndDate) or (exists(cbc:DescriptionCode) and not(exists(cbc:StartDate)) and not(exists(cbc:EndDate)))",
  "meaning": "If an invoicing period (BG-14) is used, the invoicing period start date (BT-73) or the invoicing period end date (BT-74) must be filled, or both. The statement ends with a period. The context is the invoice period. The published test passes when either date exists, and also when a description code exists and both dates are absent. That third branch calls exists. The test does not compare the two dates.",
  "fix": "When an invoicing period is present, send the start date (BT-73), the end date (BT-74), or both.",
  "example_fail": "An invoicing period has neither a start date, nor an end date, nor a description code.",
  "example_pass": "An invoicing period has a start date and no end date.",
  "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-19/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
