fatalEN 16931EN 16931 business ruleCIIUBLBT-2
An Invoice shall have an Invoice issue date (BT-2).
The Invoice issue date (BT-2) is missing.
Add BT-2. UBL wants cbc:IssueDate as YYYY-MM-DD with no time and no timezone. CII wants ram:IssueDateTime/udt:DateTimeString with format="102", i.e. YYYYMMDD. Sending an ISO timestamp is the usual mistake.
CII — context /rsm:CrossIndustryInvoice
normalize-space(rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString[@format='102']) != ''
UBL — context /ubl:Invoice | /cn:CreditNote
normalize-space(cbc:IssueDate) != ''