Format for the period start

Error FX-SCH-A-000462 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 at the start of the period.

What the rule means

The format identifies how to interpret the date value for the start of the period. Without it, the date representation is not explicitly identified.

Please add the format for the period start

No format is provided for the start of the billing period. You can resolve this by adding the attribute to the date value.

What to do
  1. Locate ram:StartDateTime in the billing period.
  2. Add @format to udt:DateTimeString.
  3. Generate the invoice again and validate it.
Technical details

The test checks whether a @format attribute is present on the context-specific udt:DateTimeString.

Where the rule applies

The rule applies to udt:DateTimeString in ram:StartDateTime of the billing period.

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