Provide the format attribute for the quotation date

Error FX-SCH-A-001067 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 for the quotation date has no format attribute.

What the rule means

The format attribute identifies the format used for the date value. Without this attribute, the format information required in this context is missing.

Please specify the quotation date format

The format information is missing from qdt:DateTimeString for the quotation date. Add the required attribute so the date value is identified clearly.

What to do
  1. Add the format attribute to the qdt:DateTimeString element for the quotation date.
  2. Generate the invoice again and validate it once more.
Technical details

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

Where the rule applies

The rule applies to qdt:DateTimeString for the issue date of the referenced quotation in the quotation document associated with an invoice line.

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