End date format attribute

Error FX-SCH-A-000539 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 udt:DateTimeString of ram:EndDateTime.

What the rule means

The format attribute identifies the format of the date value. Without it, the required format designation for the end date is absent.

Please add the end date format for the billing period

The format attribute is missing from the end date’s udt:DateTimeString. Add the format designation to this element.

What to do
  1. Add the format attribute to udt:DateTimeString under ram:EndDateTime.
  2. Generate the invoice again and check it again.
Technical details

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

Where the rule applies

On the udt:DateTimeString of ram:EndDateTime in the invoice line billing period.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeSettlement/ram:BillingSpecifiedPeriod/ram:EndDateTime/ udt:DateTimeString
Test expression (assert/@test)
@format