An Invoice shall have an Invoice issue date (BT-2).
The date value in udt:DateTimeString with the attribute format='102' is empty. The invoice issue date BT-2 is therefore missing in the checked form.
BT-2 states when the invoice was issued. This date is a fundamental time reference for the invoice document.
The invoice issue date is missing from ram:ExchangedDocument, or the checked date value is empty. You can add the date in the designated date field.
- Check the value of
FacturXInvoice.InvoiceDate. - Ensure that
ram:IssueDateTime/udt:DateTimeStringwithformat='102'contains a date value. - Generate the invoice again and validate it again.
<ram:IssueDateTime> <udt:DateTimeString format="102"/> </ram:IssueDateTime>
<ram:IssueDateTime> <udt:DateTimeString format="102">20261115</udt:DateTimeString> </ram:IssueDateTime>
FacturXInvoice.InvoiceDate(BT-2)
Technical details
The XPath requires a non-empty udt:DateTimeString value with the attribute format='102' under ram:IssueDateTime.
The rule applies to ram:IssueDateTime/udt:DateTimeString in the invoice document ram:ExchangedDocument; the date must use format 102.
rule/@context)assert/@test)