Value of '@unitCode' is not allowed.
The value of the unitCode attribute on ram:BilledQuantity is not included in the list of values allowed in this context. The test also allows an empty value.
The unit code identifies the unit used for the billed quantity. A code that is not allowed may prevent the unit of that quantity from being identified unambiguously.
The unit code on the billed quantity is not accepted in this context. Use a value allowed by the related code list, or leave the value empty.
- Locate
ram:BilledQuantityon the invoice line. - Check the
unitCodeattribute value against the code list for this context. - Replace it with an allowed code from that list or leave it empty.
- Generate the invoice again and validate it again.
Technical details
The test accepts an empty value or a value listed in code list 15 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to the unitCode attribute of ram:BilledQuantity on an invoice line.
rule/@context)assert/@test)