HR-BR-47

Stavka …: Opis artikla (BT-154) mora imati manje od 4096 znakova

In English The item description (BT-154) must be shorter than 4096 characters.

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:Item
Test
(string-length(cbc:Description) <= 4096) or (not(exists(cbc:Description)))

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