Value of '@unitCode' is not allowed.
The specified non-empty value of unitCode is not included in the code list used by this rule.
An allowed unit code ensures that the package quantity is identified using a recognized unit of measure.
The specified code for the package quantity unit is not accepted. You can resolve the issue by using a value included in the code list.
- Check the value of
unitCodeon theram:PerPackageUnitQuantityelement. - Replace any value that is not allowed with a value from the specified code list.
- Generate the invoice again and validate it once more.
Technical details
The test permits an empty code value or requires the unitCode value to appear in the code list identified by 15.
The rule applies to the unitCode attribute of ram:PerPackageUnitQuantity in the delivery information for an invoice line.
rule/@context)assert/@test)