Value of '@unitCode' is not allowed.
The value of unitCode on ram:BasisQuantity is neither empty nor included in the permitted code list.
The unit code identifies the unit of the allowance’s basis quantity. A permitted code ensures that this unit is identified unambiguously.
The unit code on the allowance’s ram:BasisQuantity does not match the permitted code list. You can correct the value using the list or leave it empty.
- Check
unitCodeon the allowance’sram:BasisQuantity. - Use a value from the permitted code list or leave the value empty.
- Regenerate the invoice and check it again.
Technical details
The test accepts an empty code or a value from code list 15 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:BasisQuantity of a document-level allowance within ram:SpecifiedTradeAllowanceCharge. Its unitCode attribute is checked.
rule/@context)assert/@test)