Provide the date format attribute

Error FX-SCH-A-000731 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 has no @format attribute. Without this attribute, the format of the date value is not specified.

What the rule means

The format attribute indicates how to interpret the date value of the referenced quotation.

Please provide the quotation date format

The date of the referenced quotation does not indicate the format of its value. Add the format attribute so that the value is clearly identified.

What to do
  1. Find the qdt:DateTimeString for the referenced quotation date.
  2. Add the required @format attribute there with an allowed value.
  3. Generate the invoice again and validate it.
Technical details

The check is performed on qdt:DateTimeString and requires the @format attribute to be present.

Where the rule applies

The rule applies to qdt:DateTimeString for the referenced quotation date in the agreement.

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