Value of 'ram:DueDateTypeCode' is not allowed.
If ram:DueDateTypeCode has a value, that value must occur in the code list allowed for it. A value not in the list is not allowed; this test accepts an empty value.
ram:DueDateTypeCode identifies the type of due date. Its value must belong to the code list specified for it.
The value entered in ram:DueDateTypeCode is not included in the code list allowed for it. Replace it with a code from that list.
- Locate
ram:DueDateTypeCodein the relevantram:ApplicableTradeTax. - Compare its value with the codes allowed for it.
- Replace any value not in the list with an allowed code.
- Generate the invoice again and validate it once more.
Technical details
The test accepts an empty string value or a value listed as an enumeration under cl[@id=27] in FACTUR-X_EXTENDED_codedb.xml.
The rule checks the value of ram:DueDateTypeCode within the document-level VAT breakdown.
rule/@context)assert/@test)