Missing quotation date format

Error FX-SCH-A-000731 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. The date representation is therefore not identified by format.

What the rule means

The format attribute indicates how to read the date value in qdt:DateTimeString.

Please identify the quotation date format

The format attribute is missing from the qdt:DateTimeString for the quotation date. Add the format attribute to the date value.

What to do
  1. Locate qdt:DateTimeString for the quotation date.
  2. Add the format attribute to the element.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<qdt:DateTimeString>20241031</qdt:DateTimeString>
✓ Correct
<qdt:DateTimeString format="102">20241031</qdt:DateTimeString>
Technical details

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

Where the rule applies

The rule applies to the format attribute on qdt:DateTimeString for the quotation date.

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