# FX-SCH-A-000976

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

> Value of 'ram:ExemptionReasonCode' is not allowed.

- Level: error
- Rule sets: Factur-X EXTENDED rules 1.09.2
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="true"]/ram:CategoryTradeTax/ram:ExemptionReasonCode`
- Test: `string-length($codeValue25)=0 or document('FACTUR-X_EXTENDED_codedb.xml')/codedb/cl[@id=25]/enumeration[@value=$codeValue25]`

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