{
  "id": "UBL-SR-56",
  "country": "EU",
  "syntax": "ubl",
  "group": "syntax",
  "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": "An Invoice shall contain maximum one Originator document reference identifier (BT-17).",
  "statement_lang": "en",
  "context": "/ubl:Invoice | /cn:CreditNote",
  "test": "count(cac:OriginatorDocumentReference/cbc:ID) <= 1",
  "meaning": "An invoice shall contain at most one originator document reference identifier. The statement ends with a period and says shall. It is 86 characters. The flag is fatal. The context is an invoice or a credit note. The published test does not wrap the count in parentheses. It counts the originator document reference identifier. The count comparison has a space before <= and a space after it.",
  "fix": "Send at most one originator document reference identifier.",
  "example_fail": "An invoice has two originator document reference identifiers.",
  "example_pass": "An invoice has one originator document reference identifier, or none.",
  "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-SR-56/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
