Attribute '@format' is required in this context.
The format attribute is missing from qdt:DateTimeString in the receiving advice’s ram:FormattedIssueDateTime.
The format indicates how the content of qdt:DateTimeString must be interpreted as a date.
The format information is missing for the receiving advice date. Add it to the date element.
- Locate
qdt:DateTimeStringin the receiving advice’sram:FormattedIssueDateTime. - Add the
formatattribute with an allowed format code. - Generate the invoice again and validate it once more.
<qdt:DateTimeString>20250131</qdt:DateTimeString>
<qdt:DateTimeString format="102">20250131</qdt:DateTimeString>
Technical details
The test checks directly on the context node whether the format attribute is present.
The rule applies to the date value in the receiving advice reference document.
rule/@context)assert/@test)