Attribute '@format' is required in this context.
The udt:DateString element under ram:TaxPointDate does not contain a format attribute.
The format attribute indicates how to read the tax date value. Without it, the date format is not stated in the XML.
The tax date is missing its format. Add the missing attribute so the date value is clearly identified.
- Find
ram:TaxPointDateand itsudt:DateStringelement. - Add the required
formatattribute toudt:DateString. - Generate the invoice again and validate it.
Technical details
The test checks whether the format attribute is present on the context node.
This rule applies to the date in udt:DateString under ram:TaxPointDate within the document-level tax details.
rule/@context)assert/@test)