HR-BR-6

Svaka referenca prethodnog računa (BG-3) mora imati datum izdavanja prethodnog računa (BT-26)

In English Each preceding invoice reference (BG-3) must have the preceding invoice's issue date (BT-26).

error: the document is invalid

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.

Context
cac:BillingReference
Test
exists(cac:InvoiceDocumentReference/cbc:ID) and exists(cac:InvoiceDocumentReference/cbc:IssueDate)

Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)