Date format is required

Error FX-SCH-A-000631 Factur-X

Attribute '@format' is required in this context.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The @format attribute is missing from udt:DateTimeString. The attribute is required in this context.

What the rule means

The format attribute identifies the format in which the content of udt:DateTimeString is to be interpreted.

Please specify the date format

The required @format attribute is missing from udt:DateTimeString. Add it to specify the date format.

What to do
  1. Locate udt:DateTimeString within ram:CompleteDateTime.
  2. Check whether the @format attribute is present.
  3. Add @format with the format value intended for the date.
  4. Generate the invoice again and validate it once more.
Technical details

The test @format checks for the presence of the attribute in the context of udt:DateTimeString.

Where the rule applies

The rule applies to the @format attribute of udt:DateTimeString within ram:CompleteDateTime in ram:EffectiveSpecifiedPeriod.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:EffectiveSpecifiedPeriod/ ram:CompleteDateTime/udt:DateTimeString
Test expression (assert/@test)
@format