Fixture ID: allowanceEmpty · XPath: /ubl:Invoice/cac:AllowanceCharge[1]/cbc:AllowanceChargeReason
The document level allowance at allowances[0] states neither a reason (BT-97) nor a reason code (BT-98); both are empty. Every BG-20 group must carry at least one of them, because an unexplained deduction from an invoice total is the single most disputed thing on a commercial document — the buyer's accounts-payable clerk has to decide whether to approve it, and "−missing" on its own gives them nothing to decide on.
BR-33Set allowances[0].reason to a short description in the invoice language, or allowances[0].reasonCode to a UNCL 5189 code, or both. Under XRechnung, prefer the free text: the mandated visualisation renders the code verbatim, so a buyer looking at the rendered invoice sees the bare code and not what it means.
"allowances": [{ "amount": 25.00, "vatCategory": "S", "vatRate": 19, "reason": "Discount", "reasonCode": "95" }]