Format for the despatch advice date

Error FX-SCH-A-000790 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 does not specify the format attribute. As a result, the format of the despatch advice date is not identified.

What the rule means

The format indication enables the date on which the referenced despatch advice was issued to be interpreted unambiguously.

Please specify the format of the despatch advice date

The format indication is missing for the issue date of the referenced despatch advice. Add it so the date can be read unambiguously.

What to do
  1. Find qdt:DateTimeString in the despatch advice’s issue date.
  2. Add the format attribute to this element.
  3. Generate the invoice again and validate it.
Technical details

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

Where the rule applies

The rule applies to qdt:DateTimeString within the issue date of the referenced despatch advice.

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