BR-FREXT-BR-38
Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105) or a Document level non VAT Tax reason code (BT-177)..
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
[BR-FREXT-BR-38/BR-FREXT-CO-22] Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105) or a Document level non VAT Tax reason code (BT-177)..
//ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator='true']
(../ram:Reason) or (../ram:ReasonCode)
Checked with France EXTENDED-CTC-FR (CII)