An Invoice shall have an Invoice issue date (BT-2).
The content of rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString with format="102" is missing or empty.
The invoice issue date states when the invoice was issued. It is an essential part of the invoice information.
Your invoice is missing its issue date. Add the date in the designated date field.
- Set
InvoiceDateas the invoice issue date. - Generate the invoice again and validate it once more.
<rsm:ExchangedDocument> <ram:IssueDateTime> <udt:DateTimeString format="102"/> </ram:IssueDateTime> </rsm:ExchangedDocument>
<rsm:ExchangedDocument> <ram:IssueDateTime> <udt:DateTimeString format="102">20261003</udt:DateTimeString> </ram:IssueDateTime> </rsm:ExchangedDocument>
FacturXInvoice.InvoiceDate(BT-2)
Technical details
The test checks whether the udt:DateTimeString element with format="102" within ram:IssueDateTime is not equal to the empty string.
The rule applies to ram:IssueDateTime/udt:DateTimeString within rsm:ExchangedDocument, with the format attribute set to 102.
rule/@context)assert/@test)