Value of '@unitCode' is not allowed.
The value of @unitCode is not included in the code list for this attribute. An empty value is also accepted by this check.
A non-empty unit code must match an entry in the specified code list so that the price-basis unit is stated consistently.
The value of @unitCode on ram:BasisQuantity is not included in the specified code list. You can change the value or leave the attribute empty.
- Find
ram:BasisQuantityinram:NetPriceProductTradePriceof the affected invoice line. - Check
@unitCodeagainst its specified code list, or leave the attribute empty. - Generate the invoice again and validate it.
Technical details
The check accepts an empty test value or a value listed under code-list ID 15 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to @unitCode on ram:BasisQuantity within ram:NetPriceProductTradePrice of an invoice line.
rule/@context)assert/@test)