Value of '@unitCode' is not allowed.
The value of unitCode is not included in the code list used for this check. An empty value is permitted by the test condition.
The unit code associates the billed quantity with a standardized unit of measure. A code not listed cannot be accepted as an allowed unit code by this rule.
The unit code on the billed quantity is not recognized as an allowed value. Check the value of the unitCode attribute.
- Locate
ram:BilledQuantityinram:SpecifiedLineTradeDelivery. - Check the
unitCodeattribute against the applicable code list. - Regenerate the invoice and validate it again.
Technical details
@unitCode on ram:BilledQuantity is checked: the value must be empty or present in the enumeration with code-list ID 6 in FACTUR-X_BASIC_codedb.xml.
The rule applies to the unitCode attribute of ram:BilledQuantity in an invoice line’s delivery details.
rule/@context)assert/@test)