Value of '@unitCode' is not allowed.
The non-empty value of unitCode does not match any value allowed for this attribute. An empty value passes this value check, provided the attribute is present.
The allowed values identify valid units for ram:UnitQuantity. A different non-empty value cannot be interpreted as a unit code provided for this element.
The value provided for unitCode is not in the code list allowed for this attribute. You can replace it with an allowed unit code.
- Locate
ram:UnitQuantityin the referenced product on the invoice line. - Check the
unitCodeattribute against the values allowed for this field. - Generate the invoice again and validate it again.
Technical details
The test passes if the checked value is empty or occurs in the enumeration for code list ID 15 in FACTUR-X_EXTENDED_codedb.xml.
This rule applies to the unitCode attribute of ram:UnitQuantity of a referenced product on an invoice line.
rule/@context)assert/@test)