Format for the advance payment receipt date

Error FX-SCH-A-000950 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 relevant qdt:DateTimeString is missing the format attribute. Without this attribute, the format of the date value is not specified.

What the rule means

The format indication makes it possible to interpret unambiguously the date on which the advance payment was received.

Please specify the format of the advance payment receipt date

The advance payment receipt date is missing its format indication. Add this information so the date can be read unambiguously.

What to do
  1. Locate qdt:DateTimeString within ram:FormattedReceivedDateTime for the advance payment.
  2. Add the format attribute to qdt:DateTimeString.
  3. Regenerate the invoice and validate it again.
Technical details

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

Where the rule applies

The rule applies to the date value in qdt:DateTimeString within ram:FormattedReceivedDateTime for an advance payment.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:SpecifiedAdvancePayment/ram:FormattedReceivedDateTime/qdt:DateTimeString
Test expression (assert/@test)
@format