Value of 'ram:CountryID' is not allowed.
The value of ram:CountryID is neither empty nor included in the code list with ID 10. The specified country value is therefore not accepted.
ram:CountryID specifies the country of the delivery address. The check compares its value with the allowed entries in code list 10.
The ram:CountryID value for the delivery recipient is not included in the checked code list. Use a country value listed there.
- Locate
ram:CountryIDunderram:PostalTradeAddressofram:ShipToTradeParty. - Compare its value with the entries in code list 10.
- Generate the invoice again and validate it once more.
Technical details
The XPath test accepts an empty value or a value listed as an enumeration in FACTUR-X_EXTENDED_codedb.xml under cl[@id=10].
The rule applies to the value of ram:CountryID in the delivery recipient’s postal address under ShipToTradeParty for an invoice line.
rule/@context)assert/@test)