# FX-SCH-A-000624

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

> Value of 'ram:ReasonCode[not (@listID)]' is not allowed.

- Level: error
- Rule sets: Factur-X EN 16931 rules 1.09.2
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="true"]/ram:ReasonCode[not (@listID)]`
- Test: `string-length($codeValue12)=0 or document('FACTUR-X_EN16931_codedb.xml')/codedb/cl[@id=12]/enumeration[@value=$codeValue12]`

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