HR-BR-20
Jedinična količina za cijenu artikla, ako je iskazana, MORA biti pozitivan broj veći od nule
In English The item price base quantity, when given, must be a positive number greater than zero.
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
cac:InvoiceLine | cac:CreditNoteLine
not(cac:Price/cbc:BaseQuantity) or xs:decimal(cac:Price/cbc:BaseQuantity) > 0
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)