Tools › SmartFormular E-Rechnung lite › Validation rules › BR-CO-23
BR-CO-23
A line allowance has no reason (BT-139 or BT-140)
What the message means
A line allowance has no reason (BT-139 or BT-140).
What the issuer needs to change
Give the reason as text or code.
Fields concerned
BG-27invoice line allowancesBT-139invoice line allowance reasonBT-140invoice line allowance reason code
Your invoice reports BR-CO-23? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- EN 16931 (CEN, rule set 1.3.16)
- Syntax
- CII, UBL
- Level
- Error
Original rule text
Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.
Technical details for IT
UBL
Context: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] Test: not(exists(cbc:AllowanceChargeReason) or exists(cbc:AllowanceChargeReasonCode))
CII
Context: //ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'false'] Test: not((../ram:Reason) or (../ram:ReasonCode))
Related rules
- BR-CO-20An invoice line period (BG-26) is present but has no date
- BR-CO-21An allowance has no reason (BT-97 or BT-98)
- BR-CO-22A charge has no reason (BT-104 or BT-105)
- BR-CO-24A line charge has no reason (BT-144 or BT-145)
- BR-CO-26The invoice gives no identifier for the seller: no VAT identifier (BT-31), no commercial register number …