Value of 'ram:DueDateTypeCode' is not allowed.
A non-empty value in ram:DueDateTypeCode is not included in the code list used by this rule. This test allows an empty value.
ram:DueDateTypeCode identifies the type of due date in the tax context being checked. A non-empty value must come from the code list specified for this element.
The value entered in ram:DueDateTypeCode is not included in the code list used for this element. You can correct it using an allowed entry from that code list.
- Find
ram:DueDateTypeCodein the relevantram:ApplicableTradeTax. - Compare its value with the allowed entries in the corresponding code list.
- Regenerate the invoice and check it again.
Technical details
The test allows an empty value; otherwise, the value must occur as an enumeration in the code list with ID 16.
The rule checks the value of ram:DueDateTypeCode within ram:ApplicableTradeTax in the document-level VAT breakdown.
rule/@context)assert/@test)