Value of '@unitCode' is not allowed.
The value of the @unitCode attribute in ram:BilledQuantity is neither empty nor included in the applicable code list.
The unit code indicates the measurement unit in which the line item's billed quantity is expressed. A code that is not allowed prevents this quantity from being classified unambiguously.
The line item's billed quantity contains a unit code that is not in the applicable code list. You can change the entry to an allowed unit code.
- Locate the line item's
ram:BilledQuantityelement. - Check its
@unitCodeattribute and use only a code from the allowed code list. - Generate the invoice again and validate it once more.
<ram:BilledQuantity unitCode="INVALID">1</ram:BilledQuantity>
<ram:BilledQuantity unitCode="">1</ram:BilledQuantity>
Technical details
The XPath test accepts an empty value or a value included in code list 8.
The rule applies to the @unitCode attribute of a line item's ram:BilledQuantity.
rule/@context)assert/@test)