CII-FREXTDT-027

FormattedIssueDateTime should not be present

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Message

[CII-FREXT-DT-027] FormattedIssueDateTime should not be present

Context
//ram:*[ends-with(name(), 'ReferencedDocument')]
Test
not(ram:FormattedIssueDateTime) or self::ram:InvoiceReferencedDocument or self::ram:ContractReferencedDocument or self::ram:BuyerOrderReferencedDocument or self::ram:DespatchAdviceReferencedDocument

Checked with France EXTENDED-CTC-FR (CII)