Value of '@unitCode' is not allowed.
The value of the unitCode attribute is not included in the code list permitted for this field. The test also accepts an empty value.
The unit of measure code identifies the unit to which the gross price basis relates. A code from the designated list enables standardized interpretation of the unit.
The unit code on ram:BasisQuantity is not in the permitted code list. You can use an allowed code or leave the value empty.
- Locate
ram:BasisQuantityfor the invoice line’s gross price. - Replace the
unitCodevalue with a code allowed by the code list, or leave it empty. - Generate the invoice again and validate it again.
Technical details
The test checks whether the value of the unitCode attribute of ram:BasisQuantity is empty or appears as an enumeration in code list 15.
The rule applies to the unitCode attribute of ram:BasisQuantity for an invoice line’s gross price.
rule/@context)assert/@test)