Provide the format attribute for the seller’s 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 element for the seller’s order issue date has no format attribute.

What the rule means

The format attribute identifies the format used for the date value. Without this attribute, the format information required in this context is missing.

Please specify the seller’s order date format

The format information is missing from qdt:DateTimeString for the seller’s order issue date. Add the required attribute so the date value is identified clearly.

What to do
  1. Add the format attribute to the qdt:DateTimeString element for the seller’s order date.
  2. Generate the invoice again and validate it once more.
Technical details

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

Where the rule applies

The rule applies to qdt:DateTimeString for the issue date of the referenced seller’s order in the order document associated with 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