Format attribute required for the conversion date

Error FX-SCH-A-001009 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 contain the @format attribute. As a result, the format of the exchange-rate date is not specified.

What the rule means

The format attribute indicates how to interpret the date value of the exchange rate. Without it, the date value has no unambiguous format.

Please specify the format of the conversion date

The date format is missing for the exchange rate used for the tax currency. Add this information so the date can be interpreted unambiguously.

What to do
  1. Add the @format attribute to the udt:DateTimeString element.
  2. Set its value to match the date format being used.
  3. Regenerate the invoice and validate it again.
Technical details

The check is performed in the context of udt:DateTimeString and fails when the @format attribute is absent.

Where the rule applies

Applies to udt:DateTimeString within the exchange rate for the tax currency.

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