{
  "id": "BR-12",
  "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 the Sum of Invoice line net amount (BT-106).",
  "statement_lang": "en",
  "context": "cac:LegalMonetaryTotal",
  "test": "exists(cbc:LineExtensionAmount)",
  "meaning": "An invoice must have the sum of invoice line net amount (BT-106). The message says \"shall have the\". The published test checks that cbc:LineExtensionAmount exists. It does not calculate that amount. The context is the legal monetary total.",
  "fix": "Add cbc:LineExtensionAmount on the legal monetary total. That element is the sum of invoice line net amount (BT-106).",
  "example_fail": "The legal monetary total has no line extension amount.",
  "example_pass": "The legal monetary total has a line extension amount element.",
  "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-12/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
