Date format for the referenced date is missing

Error FX-SCH-A-000641 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 qdt:DateTimeString. As a result, the format of the specified date is not identified.

What the rule means

The format attribute identifies the format in which the text value represents the date. Without it, the date value cannot be interpreted according to a specified format.

Please add the format to the referenced date for the document of type `50`

The format attribute is missing from qdt:DateTimeString. Add the format attribute so that the date format is identified.

What to do
  1. Locate the additional referenced document with ram:TypeCode 50.
  2. Find ram:FormattedIssueDateTime/qdt:DateTimeString in it.
  3. Add the required format attribute to the element.
  4. Regenerate the invoice and validate it again.
Technical details

The assertion checks directly on the context node qdt:DateTimeString whether the format attribute is present.

Where the rule applies

The rule applies to qdt:DateTimeString in ram:FormattedIssueDateTime of an additional referenced document with ram:TypeCode 50.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:AdditionalReferencedDocument[ram:TypeCode="50"]/ram:FormattedIssueDateTime/ qdt:DateTimeString
Test expression (assert/@test)
@format