Format attribute required for the seller order date

Error FX-SCH-A-001069 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 qdt:DateTimeString in ram:SellerOrderReferencedDocument has no format attribute. This attribute is required in this context.

What the rule means

The format attribute identifies the format used for the seller order date. Without it, the date format cannot be determined unambiguously in this context.

Please add the format of the seller order date

The date in the seller order document is missing its format. Add the attribute so the date is clearly identified in this context.

What to do
  1. Locate the qdt:DateTimeString in the invoice line’s ram:SellerOrderReferencedDocument.
  2. Add the format attribute to that element.
  3. Generate the invoice again and validate it again.
Technical details

The Schematron test checks whether the format attribute is present on the current qdt:DateTimeString.

Where the rule applies

The rule applies to the date in FormattedIssueDateTime within SellerOrderReferencedDocument of an invoice line.

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