Format attribute must be present

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 format attribute is missing from qdt:DateTimeString.

What the rule means

The format attribute identifies the format of the date value. It must be present on this qdt:DateTimeString.

Please add the format for the quotation date

The referenced quotation’s issue date is missing the format attribute on qdt:DateTimeString. You can add the attribute at this location.

What to do
  1. Find qdt:DateTimeString for the issue date of the referenced quotation.
  2. Add the format attribute there.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<qdt:DateTimeString/>
✓ Correct
<qdt:DateTimeString format=""/>
Technical details

The Schematron check tests whether the format attribute is present directly on qdt:DateTimeString.

Where the rule applies

The rule applies to qdt:DateTimeString for the issue date of a referenced quotation within an invoice line’s agreement.

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