Value of 'ram:CountryID' is not allowed.
If ram:CountryID has a non-empty value, that value must appear in the enumeration with code-list ID 10 in FACTUR-X_EXTENDED_codedb.xml. A value not listed there is not allowed.
This check restricts non-empty ram:CountryID values to those listed in the country code list. An empty value passes this specific value check.
The non-empty value of ram:CountryID is not in the allowed country code list. Use a value listed there or leave the element empty.
- Locate
ram:CountryIDinram:PostalTradeAddressunderInvoicerTradeParty. - Compare the value with the enumeration for code-list ID 10 in
FACTUR-X_EXTENDED_codedb.xml. - Use a value listed there or leave
ram:CountryIDempty. - Generate the invoice again and validate it.
Technical details
The test accepts an empty string or a value present in codedb/cl[@id=10]/enumeration.
The rule checks the value of ram:CountryID in the invoicer’s postal address.
rule/@context)assert/@test)