Attribute '@format' is required in this context.
The udt:DateString element does not include the required format attribute.
The format attribute indicates how to read the tax date value as a date. Without it, the date representation is not sufficiently identified.
The date value in ram:TaxPointDate is missing its format declaration. Add the format attribute to identify how the date is represented.
- Add the
formatattribute toudt:DateStringunderram:TaxPointDate. - Generate the invoice again and validate it once more.
Technical details
The test checks whether the format attribute is present on udt:DateString.
The rule applies to udt:DateString within ram:TaxPointDate in the document-level VAT breakdown.
rule/@context)assert/@test)