Specify the seller order date format

Error FX-SCH-A-000755 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. Without this attribute, the date’s output format is not specified at this location.

What the rule means

The format attribute identifies the format in which the date value of the referenced seller order is expressed.

Please specify the seller order date format

For the referenced seller order, qdt:DateTimeString has no format attribute. Add the attribute so that the date format is specified.

What to do
  1. Add format to the seller order’s qdt:DateTimeString element.
  2. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<qdt:DateTimeString>2026-01-15</qdt:DateTimeString>
✓ Correct
<qdt:DateTimeString format="x">2026-01-15</qdt:DateTimeString>
Technical details

The test checks whether the format attribute is present on the context node.

Where the rule applies

The rule applies to qdt:DateTimeString in the issue date of the referenced seller order within the invoice agreement.

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