VRBL-INV-DK-OIOUBL-2p0-135

Basic Info

Rule The same Tax Category Code cannot be in different Tax Breakdown classes in the same Tax Total.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cac:TaxCategory/cbc:ID
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

count(../../../cac:TaxSubtotal[cac:TaxCategory/cbc:ID = current()]) <= 1