Format for the delivery date and time

Error FX-SCH-A-000448 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 udt:DateTimeString element does not specify the format attribute. As a result, the format of the date and time value is not identified.

What the rule means

The format indication enables the date and time value of the actual delivery event to be interpreted unambiguously.

Please specify the format of the actual delivery date and time

The format indication is missing for the actual delivery date and time. Add it so the date and time value can be read unambiguously.

What to do
  1. Find udt:DateTimeString in the actual delivery event.
  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 udt:DateTimeString element.

Where the rule applies

The rule applies to udt:DateTimeString within the invoice’s actual delivery event.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime/udt:DateTimeString
Test expression (assert/@test)
@format