Value of '@unitCode' is not allowed.
The non-empty value of unitCode on ram:BasisQuantity is not permitted by the unit code list. The test also accepts an empty value.
unitCode identifies the unit of measure for the basis quantity. A code that is not permitted cannot be interpreted as a compliant unit.
The basis quantity’s unit code is not recognized. A value permitted by the code list identifies the unit in accordance with the rule.
- Check the value of
unitCodeonram:BasisQuantity. - Use a value from the unit code list, or leave the value empty.
- Generate the invoice again and validate it.
Technical details
The test permits an empty code; otherwise, the unitCode value must be present in code list 15 in FACTUR-X_EXTENDED_codedb.xml.
The rule applies to ram:BasisQuantity for a document-level allowance in ram:SpecifiedTradeAllowanceCharge, identified by ram:ChargeIndicator having the value false. The unitCode attribute is checked.
rule/@context)assert/@test)