Attribute '@format' is required in this context.
The format attribute is missing from qdt:DateTimeString in the delivery note’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 delivery note date. Add it to the date element.
- Locate
qdt:DateTimeStringin the delivery note’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 delivery note reference document.
rule/@context)assert/@test)