Format attribute required

Error FX-SCH-A-001134 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 qdt:DateTimeString element is missing the format attribute.

What the rule means

The format attribute identifies the format used for the date or time value in the referenced document.

Please add the format to the referenced document date

The referenced document date is missing the information that identifies its format. You can resolve this by adding the missing attribute.

What to do
  1. Add format to the qdt:DateTimeString element.
  2. Generate the invoice again and validate it.
Technical details

The check runs in the context of qdt:DateTimeString and fails when the format attribute is absent.

Where the rule applies

The rule applies to qdt:DateTimeString within ram:FormattedIssueDateTime of a referenced document at invoice-line level.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/ qdt:DateTimeString
Test expression (assert/@test)
@format