End date format is missing

Error FX-SCH-A-000460 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 for the end date does not include the required format attribute.

What the rule means

The format attribute identifies how to read the end date value. Without it, the date representation is not sufficiently specified.

Please add the end date format

The end date in ram:EndDateTime is missing its format declaration. Add the format attribute to udt:DateTimeString.

What to do
  1. Add the format attribute to udt:DateTimeString within ram:EndDateTime.
  2. Generate the invoice again and validate it once more.
Technical details

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

Where the rule applies

The rule applies to udt:DateTimeString within ram:EndDateTime of the ram:BillingSpecifiedPeriod billing period.

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