Faktura

BR-03

fatalEN 16931EN 16931 business ruleCIIUBLBT-2

An Invoice shall have an Invoice issue date (BT-2).

Why it fails

The Invoice issue date (BT-2) is missing.

How to fix it

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.

What the validator checks

CII — context /rsm:CrossIndustryInvoice

normalize-space(rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString[@format='102']) != ''

UBL — context /ubl:Invoice | /cn:CreditNote

normalize-space(cbc:IssueDate) != ''

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →