{
  "id": "BR-31",
  "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": "Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92).",
  "statement_lang": "en",
  "context": "/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]",
  "test": "exists(cbc:Amount)",
  "meaning": "Each Document level allowance (BG-20) must have a Document level allowance amount (BT-92). The message says \"shall have\" and starts with \"Each\". It ends with a period. It spells \"Document level\" with a space and no hyphen. The context is a document allowance on the invoice or the credit note, and the charge indicator comparison has spaces around =. The published test checks that cbc:Amount exists. It does not calculate the amount.",
  "fix": "Put a Document level allowance amount (BT-92) on each document allowance.",
  "example_fail": "A document allowance has no amount element.",
  "example_pass": "That allowance has an 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-31/",
  "source_retrieved": "2026-10-18",
  "last_verified": "2026-10-18"
}
