{
  "id": "BR-16",
  "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": "An Invoice shall have at least one Invoice line (BG-25)",
  "statement_lang": "en",
  "context": "/ubl:Invoice | /cn:CreditNote",
  "test": "exists(cac:InvoiceLine) or exists(cac:CreditNoteLine)",
  "meaning": "An invoice must have at least one invoice line (BG-25). The official message has no trailing period. The published test checks that an invoice line or a credit note line exists. The context is the invoice or the credit note.",
  "fix": "Add at least one invoice line (BG-25), or one credit note line.",
  "example_fail": "The document has no invoice line and no credit note line.",
  "example_pass": "The document has an invoice line, or it has a credit note line.",
  "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-16/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
