Provide the format for the date field

Error FX-SCH-A-001022 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. This attribute is required in this context.

What the rule means

The @format attribute identifies the format of the date or time value in qdt:DateTimeString. Without this attribute, the corresponding format information is missing.

Please provide the format of the reference date

The format information is missing from qdt:DateTimeString of the additional referenced document. Add the required @format attribute.

What to do
  1. Find ram:FormattedIssueDateTime in the affected ram:AdditionalReferencedDocument.
  2. Add the @format attribute to qdt:DateTimeString.
  3. Generate the invoice again and validate it.
Technical details

The check requires the @format attribute to be present on qdt:DateTimeString.

Where the rule applies

The rule applies to qdt:DateTimeString within ram:FormattedIssueDateTime of an additional referenced document on an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeAgreement/ram:AdditionalReferencedDocument/ram:FormattedIssueDateTime/ qdt:DateTimeString
Test expression (assert/@test)
@format