# FX-SCH-A-000217

Source: https://xmlvalid.com/rules/FX-SCH-A-000217

> 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.

- Level: error
- Rule sets: Factur-X BASIC rules 1.09
- Context: `//ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'false']`
- Test: `(../ram:Reason) or (../ram:ReasonCode)`

Validate a document against these rules: https://xmlvalid.com/validate
