{
  "id": "BR-CO-10",
  "country": "EU",
  "syntax": "ubl",
  "group": "totals",
  "severity": "fatal",
  "severity_note": "fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-17.",
  "spec": "Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL",
  "statement": "Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).",
  "statement_lang": "en",
  "context": "cac:LegalMonetaryTotal",
  "test": "(xs:decimal(cbc:LineExtensionAmount) = xs:decimal(round(sum(//(cac:InvoiceLine|cac:CreditNoteLine)/xs:decimal(cbc:LineExtensionAmount)) * 10 * 10) div 100))",
  "meaning": "The sum of invoice line net amounts (BT-106) must equal the sum of the line net amounts (BT-131). The published test rounds that sum to two decimals before comparing.",
  "fix": "Set BT-106 to the sum of every invoice line net amount (BT-131).",
  "example_fail": "The line net amounts are 80 and 20, and BT-106 is 80.",
  "example_pass": "The line net amounts are 80 and 20, and BT-106 is 100.",
  "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-10/",
  "source_retrieved": "2026-10-17",
  "last_verified": "2026-10-17"
}
