# FX-SCH-A-001014

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

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

- Level: error
- Rule sets: Factur-X EXTENDED rules 1.09.2
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument/ram:IncludedNote/ram:SubjectCode`
- Test: `string-length($codeValue5)=0 or document('FACTUR-X_EXTENDED_codedb.xml')/codedb/cl[@id=5]/enumeration[@value=$codeValue5]`

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