BR-03
An Invoice shall have an Invoice issue date (BT-2).
Why it fails
- The issue date in
cbc:IssueDate(ram:IssueDateTimein CII) is missing or empty.
How to fix it
Add the issue date (BT-2). UBL writes it as 2026-10-16; CII as <udt:DateTimeString format="102">20261016</udt:DateTimeString>.
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.
/ubl:Invoice | /cn:CreditNote
normalize-space(cbc:IssueDate) != ''
Checked with EN 16931 Invoice (UBL), EN 16931 Credit Note (UBL), Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
/rsm:CrossIndustryInvoice
normalize-space(rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString[@format='102']) != ''
Checked with EN 16931 Invoice (CII)
/ubl:Invoice | /cn:CreditNote
(cbc:IssueDate) !=''
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)
/rsm:CrossIndustryInvoice
(rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString[@format='102']!='')
Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL