# FX-SCH-A-000580

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

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

- Level: error
- Rule sets: Factur-X EN 16931 rules 1.09.2
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID`
- Test: `string-length($codeValue7)=0 or document('FACTUR-X_EN16931_codedb.xml')/codedb/cl[@id=7]/enumeration[@value=$codeValue7]`

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