Format specification for the order date

Error FX-SCH-A-000670 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 in ram:FormattedIssueDateTime.

What the rule means

The format attribute identifies the format used for the date and time value.

Please add the format for the order date

The format attribute is missing from qdt:DateTimeString for the referenced buyer order. Add the format specification to identify how the date and time value is expressed.

What to do
  1. Locate qdt:DateTimeString in ram:FormattedIssueDateTime for the buyer order.
  2. Add the format attribute there.
  3. Generate the invoice again and validate it.
Technical details

The rule checks for the presence of the format attribute on qdt:DateTimeString.

Where the rule applies

On the qdt:DateTimeString of the referenced buyer order.

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