Provide the format attribute for the issue date

Error FX-SCH-A-000637 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. The rule requires this attribute in this context.

What the rule means

The format attribute identifies the format of the date value. Without it, the required format information is absent.

Please provide the issue date format

The format attribute is missing from qdt:DateTimeString. Add the required format information to identify the issue date’s format.

What to do
  1. Find qdt:DateTimeString in FormattedIssueDateTime of the referenced document with ram:TypeCode 130.
  2. Add the format attribute to qdt:DateTimeString.
  3. Generate the invoice again and validate it.
Technical details

In the context of qdt:DateTimeString, the test checks only whether the @format attribute is present.

Where the rule applies

The rule applies to qdt:DateTimeString within FormattedIssueDateTime of the referenced document with ram:TypeCode 130.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:AdditionalReferencedDocument[ram:TypeCode="130"]/ram:FormattedIssueDateTime/ qdt:DateTimeString
Test expression (assert/@test)
@format