HR-BR-S-10
Za svaku HR raspodjelu PDV u kojoj je kategorija PDV-a (HR-BT-18) "Standard rated" stopa PDV mora biti veća od 0
In English In each HR VAT breakdown whose VAT category (HR-BT-18) is "Standard rated", the VAT rate must be greater than 0.
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
ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/hrextac:HRFISK20Data/hrextac:HRTaxTotal/hrextac:HRTaxSubtotal
(exists(hrextac:HRTaxCategory/cbc:ID)) and (hrextac:HRTaxCategory/cbc:ID = 'S') and (hrextac:HRTaxCategory/cbc:Percent > 0) or (hrextac:HRTaxCategory/cbc:ID != 'S')
Checked with Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)